/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #0a0a0a 100%);
    min-height: 100vh;
    padding: 20px;
    position: relative;
}


/* Back Button - Top Left */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 40px;
    background: #b8a169;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
    background: #9e8a57;
}


/* Top Navigation - Welcome/Sign In */
.top-nav {
    position: absolute;
    top: 10px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 1000;
}


.welcome-text {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}


.nav-login-btn {
    background: none;
    border: none;
    color: #b8a169;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}


.nav-login-btn:hover {
    color: #b8a169;
}


/* Login Container */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}


/* Login Card */
.login-card {
    max-width: 550px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}


/* Header Section - Department Name & Portal Title */
.login-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    padding: 50px 40px 40px 40px;
    text-align: center;
    position: relative;
}


/* Decorative Divider */
.header-divider {
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #b8a169 20%,
        #b8a169 80%,
        transparent 100%);
    margin: 0 auto;
    width: 70%;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(255, 0, 0, 0.4);
}


/* Sign In Section Title */
.signin-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.05) 0%, rgba(10, 10, 10, 0.05) 100%);
    padding: 30px 40px 10px 40px;
}


/* Form Section */
.login-body {
    padding: 30px 40px 40px 40px;
}


.form-group {
    margin-bottom: 25px;
}


.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8f9fa;
}


.form-input:focus {
    outline: none;
    border-color: #b8a169;
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.1);
}


.form-input::placeholder {
    color: #adb5bd;
    font-style: italic;
}


/* Remember Me Checkbox */
.remember-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}


/* Sign In Button */
.login-button {
    width: 100%;
    padding: 18px;
    background: #b8a169;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}


.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    background: #9e8a57;
}


.login-button:active {
    transform: translateY(0);
}


/* Forgot Password Link */
.forgot-password {
    text-align: center;
    margin-top: 20px;
}


.forgot-password a {
    color: #b8a169;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}


.forgot-password a:hover {
    color: #9e8a57;
    text-decoration: underline;
}


/* Divider */
.form-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}


/* Create Account Link */
.create-account {
    text-align: center;
}
/* Responsive Design */

    body {
        padding: 10px;
    }


    .back-btn {
        top: 10px;
        left: 10px;
        width: 70px;
        height: 36px;
        font-size: 12px;
    }


    .top-nav {
        top: 10px;
        right: 10px;
    }

     .top-nav2 {
        position: relative !important;
        top: 1px;
        right: 0px;
        align-items: center;
        padding: 0px;
        margin-top:-20px;
        margin-right:-20px;
    }


    .welcome-text {
        font-size: 14px;
    }


    .nav-login-btn {
        font-size: 14px;
    }


    .login-card {
        margin: 10px;
        border-radius: 20px;
    }


    .form-label {
        font-size: 12px;
    }


    .form-input {
        padding: 14px 16px;
        font-size: 15px;
    }


    .login-button {
        padding: 16px;
        font-size: 16px;
    }



/* ===== FOOTER STYLES ===== */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    padding: 50px 30px 25px 30px;
    margin-top: 80px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}


.footer-content {
    max-width: 900px;
    margin: 0 auto;
}


/* Branding Section */
.footer-branding {
    margin-bottom: 30px;
}


.footer-operated-by {
    display: block;
    font-size: 15px;
    font-style: italic;
    opacity: 0.95;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-weight: 300;
}


.footer-logo {
    height: 100px;
    max-width: 90%;
    background: white;
    padding: 15px 30px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}


/* Decorative Divider */
.footer-divider {
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 0, 0, 0.5) 20%,
        #b8a169 50%,
        rgba(255, 0, 0, 0.5) 80%,
        transparent 100%);
    margin: 30px auto;
    width: 60%;
    border-radius: 2px;
}


/* Copyright Section */
.footer-copyright {
    font-size: 14px;
    margin: 25px 0;
    opacity: 0.9;
    line-height: 1.6;
}


.footer-year {
    font-weight: 600;
}


/* PWA Install Section */
.footer-install {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}


.footer-install-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #b8a169;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.install-pwa-btn {
    background: white;
    color: #b8a169;
    border: 2px solid white;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.install-pwa-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #b8a169;
    color: #ffffff;
    border-color: #b8a169;
}


.install-pwa-btn:active {
    transform: translateY(-1px);
}


/* Links Section (Optional - if you want to add navigation links) */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}


.footer-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    transition: all 0.3s ease;
    position: relative;
}


.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #b8a169;
    transition: width 0.3s ease;
}


.footer-link:hover {
    opacity: 1;
    color: #b8a169;
}


.footer-link:hover::after {
    width: 100%;
}


/* Social Media Icons (Optional) */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
}
/* Responsive Design */

    .footer {
        padding: 40px 20px 20px 20px;
        margin-top: 60px;
    }


    .footer-logo {
        height: 80px;
        padding: 12px 20px;
    }


    .footer-operated-by {
        font-size: 14px;
    }


    .footer-copyright {
        font-size: 13px;
    }


    .install-pwa-btn {
        padding: 12px 28px;
        font-size: 15px;
    }


    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer {
        padding: 30px 15px 15px 15px;
    }


    .footer-logo {
        height: 70px;
    }


    .footer-divider {
        width: 80%;
    }


    .install-pwa-btn {
        width: 100%;
        max-width: 280px;
    }


  /* Container for all program cards */
        .programs-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 30px;
        }


        /* Individual Program Card */
        .program-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	    margin-bottom:20px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }


        /* Program Header */
        .program-header {
            background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
            padding: 30px;
            text-align: center;
        }


        /* Progress Section */
        .progress-section {
            padding: 40px 30px;
            background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
        }


        /* Individual Progress Step */
        .progress-step {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            flex: 0 0 auto;
            position: relative;
        }


        /* Completed Step */
        .progress-step.completed .step-circle {
            background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);
            border-color: #b8a169;
            color: white;
        }


        /* Active Step */
        .progress-step.active .step-circle {
            background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);
            border-color: #b8a169;
            color: white;
            animation: pulse 2s infinite;
        }


        /* Progress Connector Lines */
        .progress-connector {
            flex: 1;
            height: 4px;
            background: #dfe2e5;
            margin: 0 -10px;
            position: relative;
            top: -30px;
            z-index: 1;
            transition: background 0.4s ease;
        }


        /* Video Section */
        .video-section {
            padding: 20px 30px;
        }


        /* For actual video embed, add this class to your iframe/video element */
        .video-embed {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 16px;
        }


        /* Action Section */
        .action-section {
            padding: 20px 30px 35px 30px;
            text-align: center;
        }


        /* Disabled state */
        .schedule-btn:disabled {
            background: #e9ecef;
            color: #adb5bd;
            cursor: not-allowed;
            box-shadow: none;
        }
/* Responsive Design */



	 /* ===== TRAINING LOCATION BOOKING STYLES ===== */

        /* Reset & Body */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }


        /* Container */
        .locations-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }


        /* Location Card */
        .location-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            transition: all 0.3s ease;
	    margin-bottom: 25px;
        }


        /* Card Header - Always Visible */
        .location-header {
            padding: 25px 30px;
            background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
            cursor: pointer;
            user-select: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
	    gap:15px;
            border-bottom: 2px solid #e9ecef;
            transition: background 0.3s ease;
        }

        /* Card Body - Expandable */
        .location-body {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
        }


        /* Date Selection Section */
	.date-section {
     max-height: 300px;  /* Adjust as needed */
    overflow-y: auto;
    margin-bottom: 20px;
}


        /* Time Slots Section */
.time-section {
    display: none;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease;
    max-height:300px;
    overflow-y: auto;
    flex-shrink: 1;
}

            to {
                opacity: 1;
                transform: translateY(0);
            }


        /* Confirm Button */
        .confirm-section {
            display: none;
            text-align: center;
            padding-top: 10px;
            border-top: 2px solid #e9ecef;
        }


        /* Confirmation Modal */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease;
        }


        .modal-overlay.active {
            display: flex;
        }

            to { opacity: 1; }


        .modal {
            background: white;
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
            animation: slideUp 0.3s ease;
        }

            to {
                opacity: 1;
                transform: translateY(0);
            }


        .modal-header {
            background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);
            padding: 25px 30px;
            border-radius: 20px 20px 0 0;
        }


        .modal-title {
            color: white;
            font-size: 24px;
            font-weight: bold;
            text-align: center;
            margin: 0;
        }


        .modal-body {
            padding: 30px;
        }


        .confirmation-details {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
        }


        .detail-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #e9ecef;
        }


        .detail-row:last-child {
            border-bottom: none;
        }


        .detail-label {
            font-size: 14px;
            font-weight: 600;
            color: #636e72;
        }


        .detail-value {
            font-size: 15px;
            font-weight: bold;
            color: #2d3436;
            text-align: right;
        }


        .modal-actions {
            display: flex;
            gap: 12px;
        }


        .modal-btn {
            flex: 1;
            padding: 14px;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }


        .cancel-btn {
            background: #e9ecef;
            color: #2d3436;
        }


        .cancel-btn:hover {
            background: #dfe2e5;
        }


        .confirm-btn {
            background: #b8a169;
            color: #ffffff;
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
        }


        .confirm-btn:hover {
            background: #9e8a57;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
        }
/* Responsive */


            .modal-body {
                padding: 20px;
            }


            .modal-actions {
                flex-direction: column;
            }


	/* ===== ADD CLASS FORM CARD STYLES ===== */

.add-class-form-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
    display: none; /* Hidden by default */
}


/* Two column layout for date/time on desktop */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.cancel-btn {
    background-color: #9e8a57;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
}


.cancel-btn:hover {
    background-color: #8a7848;
}

/* Navigation Menu - Hamburger Only */
.nav-container {
    position: absolute;
    top: 50px;
    right: 5px;
    margin-top:10px;
    z-index: 100;
}


.hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: white;
    border: 2px solid #b8a169;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}


.hamburger-line {
    width: 25px;
    height: 3px;
    background: #b8a169;
    border-radius: 2px;
    transition: all 0.3s ease;
}


.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}


.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}


.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.nav-menu {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border: 2px solid #b8a169;
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: 180px;
    z-index: 1000;
    display: none;
}


.nav-menu.active {
    display: block;
    max-height: 400px;
    padding: 8px 0;
}


.nav-menu li {
    margin: 0;
}


.nav-link {
    display: block;
    padding: 12px 20px;
    color: #2C2C2C;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
}


.nav-link:hover, .nav-link.active {
     background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);  
    color: #ffffff;
}

        .search-filters {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: left !important;
        width: auto !important;
        gap: 10px !important;
    }


/* CONTACT CARD */
.contact-card {
    background: #ffffff;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
}


.page-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #b8a169;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2C2C2C;
}


.page-btn:hover {
    background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);
    border-color: #9e8a57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}


.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}


.page-btn:disabled:hover {
    background: white;
    border-color: #b8a169;
    color: #2C2C2C;
    box-shadow: none;
}


.page-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}


.page-label {
    color: #ffffff;
}


.page-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: 2px solid #b8a169;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #2C2C2C;
    background: white;
    transition: all 0.3s ease;
}


/* Remove number input spinners */
.page-input::-webkit-inner-spin-button,
.page-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.page-input[type=number] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;
}


.page-input:focus {
    outline: none;
    border-color: #b8a169;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}


.page-total {
    color: #ffffff;
    white-space: nowrap;
}


/* Dashboard Container */
.dashboard-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px 20px;
}


/* Module Cards Grid */
.module-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}


/* Individual Module Card */
.module-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}


/* Module Icon */
.module-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8a169;
    transition: all 0.3s ease;
}


/* Module Name */
.module-name {
    font-size: 28px;
    font-weight: bold;
    color: #2C2C2C;
    margin: 0 0 15px 0;
}


/* Module Description */
.module-description {
    font-size: 16px;
    color: #636e72;
    line-height: 1.6;
    margin: 0 0 25px 0;
}


/* Module Arrow */
.module-arrow {
    font-size: 32px;
    font-weight: bold;
    color: #b8a169;
    transition: all 0.3s ease;
}
/* Responsive Design */

    .dashboard-container {
        margin: 40px auto;
        padding: 20px 15px;
    }


/* Single Card Container */
.mileage-card-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 20px auto;
}


/* Individual Row */
.mileage-row {
    padding: 20px 25px;
    transition: background 0.3s ease;
    background: white; /* Force white background */
}


/* Record Divider */
.record-divider {
    margin: 0;
    border: none;
    border-top: 1px solid #e9ecef;
}


/* Row Header */
.row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}


/* Edit Button Small */
.edit-btn-small {
    padding: 8px 16px;
    background: #b8a169;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Row Fields */
.row-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}


/* Row Actions */
.row-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}


.save-btn,
.cancel-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}


.cancel-btn {
    background: #6c757d;
    color: white;
}


.cancel-btn:hover {
    background: #5a6268;
}


/* No Records */
.no-records {
    text-align: center;
    padding: 60px 20px;
    color: #636e72;
    font-size: 18px;
    background: white;
    border-radius: 16px;
}
/* Responsive */




/* ===== DASHBOARD CARDS — SHARED ===== */
.dashboard-card {
    background: #ffffff;
    border: 2px solid #b8a169;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(184, 161, 105, 0.12);
}

.card-top-bar {
    height: 3px;
    background: linear-gradient(90deg, #b8a169 0%, #d4bc85 50%, #b8a169 100%);
}

/* ===== CARD 1: LOG A SHEEP MOMENT ===== */
.moment-log-card {
    padding: 20px 20px 22px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.moment-log-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(184, 161, 105, 0.28);
    border-color: #d4bc85;
}

.card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-icon-wrap {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #b8a169 0%, #9e8a57 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(184, 161, 105, 0.35);
}

.card-icon-wrap svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.card-text { flex: 1; }

.card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8a169;
    margin-bottom: 3px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 12px;
    color: #999;
    font-weight: 300;
}

.card-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border: 1.5px solid #e0d5be;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.card-arrow svg {
    width: 13px;
    height: 13px;
    stroke: #b8a169;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.moment-log-card:hover .card-arrow {
    background: #b8a169;
    border-color: #b8a169;
}

.moment-log-card:hover .card-arrow svg { stroke: #ffffff; }

/* ===== CARD 2: VERSE OF THE DAY ===== */
.verse-card {
    padding: 20px 22px 24px;
    position: relative;
    overflow: hidden;
}

.verse-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8a169;
    margin-bottom: 12px;
}

.verse-quote-mark {
    font-size: 72px;
    line-height: 0.6;
    color: #f0e8d5;
    font-family: Georgia, serif;
    margin-bottom: 10px;
    display: block;
}

.verse-text {
    font-size: 15px;
    color: #1a1a1a;
    line-height: 1.7;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.verse-ref {
    font-size: 12px;
    color: #b8a169;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: right;
}


/* ===== DASHBOARD CARDS ===== */
/* SHARED */
.dashboard-card {
    background: #ffffff;
    border: 2px solid #b8a169;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(184,161,105,0.12);
}
.card-top-bar {
    height: 3px;
    background: linear-gradient(90deg, #b8a169 0%, #d4bc85 50%, #b8a169 100%);
}
.card-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: #b8a169; margin-bottom: 3px;
}
.card-inner { display: flex; align-items: center; gap: 14px; }
.card-icon-wrap {
    flex-shrink: 0; width: 52px; height: 52px;
    background: linear-gradient(135deg, #b8a169, #9e8a57);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(184,161,105,0.35);
}
.card-icon-wrap svg { width: 24px; height: 24px; fill: #fff; }
.card-text { flex: 1; }
.card-title {
    font-family: 'Cinzel', serif; font-size: 16px; font-weight: 700;
    color: #1a1a1a; line-height: 1.2; margin-bottom: 4px;
}
.card-subtitle { font-size: 12px; color: #999; font-weight: 300; }
.card-arrow {
    flex-shrink: 0; width: 28px; height: 28px;
    border: 1.5px solid #e0d5be; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease;
}
.card-arrow svg {
    width: 12px; height: 12px;
    stroke: #b8a169; fill: none;
    stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* CARD 1 */
.moment-log-card { padding: 18px 20px 20px; cursor: pointer; transition: all 0.25s ease; }
.moment-log-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(184,161,105,0.28); border-color: #d4bc85; }
.moment-log-card:hover .card-arrow { background: #b8a169; border-color: #b8a169; }
.moment-log-card:hover .card-arrow svg { stroke: #fff; }

/* CARD 2 */
.share-card { padding: 18px 20px 20px; cursor: pointer; transition: all 0.25s ease; background: #1a1a1a; }
.share-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(184,161,105,0.28); border-color: #d4bc85; }
.share-card .card-label { color: #b8a169; }
.share-card .card-title { color: #ffffff; }
.share-card .card-subtitle { color: #666; }
.share-card .card-icon-wrap { background: transparent; border: 2px solid #b8a169; box-shadow: none; }
.share-card .card-icon-wrap svg { fill: none; stroke: #b8a169; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-card .card-arrow { border-color: #333; }
.share-card .card-arrow svg { stroke: #b8a169; }
.share-card:hover .card-arrow { background: #b8a169; border-color: #b8a169; }
.share-card:hover .card-arrow svg { stroke: #000; }

/* CARD 3 */
.verse-card { padding: 18px 22px 22px; }
.verse-quote-mark { font-size: 64px; line-height: 0.6; color: #f0e8d5; font-family: Georgia, serif; margin-bottom: 10px; display: block; }
.verse-text { font-size: 15px; color: #1a1a1a; line-height: 1.75; font-style: italic; margin-bottom: 12px; }
.verse-ref { font-size: 12px; color: #b8a169; font-weight: 700; letter-spacing: 0.5px; text-align: right; }

/* CARD 4 */
.streak-card { padding: 18px 20px 20px; }
.streak-inner { display: flex; gap: 10px; margin-top: 14px; }
.streak-block {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: 14px 10px; border-radius: 12px;
    background: #faf8f3; border: 1px solid #eee8d8;
}
.streak-emoji { font-size: 26px; margin-bottom: 6px; }
.streak-number { font-family: 'Cinzel', serif; font-size: 32px; font-weight: 700; color: #1a1a1a; line-height: 1; margin-bottom: 4px; }
.streak-name { font-size: 10px; font-weight: 700; color: #b8a169; letter-spacing: 1px; text-transform: uppercase; text-align: center; }
.streak-desc { font-size: 10px; color: #aaa; margin-top: 3px; text-align: center; }
.streak-motivation { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0ebe0; text-align: center; font-size: 11px; color: #b8a169; font-style: italic; }

/* CARD 5 */
.wool-card { padding: 18px 20px 20px; }
.wool-inner { display: flex; gap: 10px; margin-top: 14px; }
.wool-block { flex: 1; padding: 14px 12px; border-radius: 12px; background: #faf8f3; border: 1px solid #eee8d8; text-align: center; }
.wool-block.primary { background: linear-gradient(135deg, #b8a169, #9e8a57); border-color: transparent; }
.wool-icon { font-size: 22px; margin-bottom: 6px; }
.wool-number { font-family: 'Cinzel', serif; font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.wool-block.primary .wool-number { color: #fff; }
.wool-block:not(.primary) .wool-number { color: #1a1a1a; }
.wool-name { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.wool-block.primary .wool-name { color: rgba(255,255,255,0.85); }
.wool-block:not(.primary) .wool-name { color: #b8a169; }
.wool-desc { font-size: 10px; margin-top: 2px; }
.wool-block.primary .wool-desc { color: rgba(255,255,255,0.6); }
.wool-block:not(.primary) .wool-desc { color: #aaa; }
.wool-view-link {
    margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0ebe0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; font-size: 12px; font-weight: 700; color: #b8a169;
    letter-spacing: 0.5px; transition: color 0.2s;
}
.wool-view-link:hover { color: #9e8a57; }
.wool-view-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* CARD 6 */
.events-card { padding: 18px 20px 20px; }
.events-tabs { display: flex; margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1.5px solid #e8e0ce; }
.events-tab {
    flex: 1; padding: 8px 6px; text-align: center; cursor: pointer;
    font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    color: #aaa; background: #faf8f3; transition: all 0.2s;
}
.events-tab.active { background: #b8a169; color: #fff; }
.events-tab:first-child { border-right: 1.5px solid #e8e0ce; }
.events-content { margin-top: 12px; }
.event-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f0e8; }
.event-item:last-child { border-bottom: none; }
.event-date-block {
    flex-shrink: 0; width: 42px; height: 42px;
    background: linear-gradient(135deg, #b8a169, #9e8a57);
    border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.find-event-item .event-date-block { background: #f0ebe0; }
.event-date-month { font-size: 8px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.event-item .event-date-month { color: rgba(255,255,255,0.8); }
.find-event-item .event-date-month { color: #b8a169; }
.event-date-day { font-family: 'Cinzel', serif; font-size: 16px; font-weight: 700; line-height: 1; }
.event-item .event-date-day { color: #fff; }
.find-event-item .event-date-day { color: #9e8a57; }
.event-info { flex: 1; }
.event-name { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 2px; }
.event-location { font-size: 11px; color: #999; }
.event-status { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #b8a169; border: 1px solid #e8e0ce; border-radius: 20px; padding: 3px 8px; white-space: nowrap; }
.find-event-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f5f0e8; cursor: pointer; }
.find-event-item:last-child { border-bottom: none; }
.register-btn { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #fff; background: #b8a169; border: none; border-radius: 20px; padding: 5px 10px; cursor: pointer; white-space: nowrap; }
