/* ===== RESET & BASE THEME ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

/* ===== HEADER - SINGLE LOGO ON MOBILE ===== */
.navbar-lucas {
    background: #ffffff;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03), 0 0 0 1px rgba(46, 125, 50, 0.05);
    min-height: 70px;
    margin-bottom: 0;
    padding: 8px 0;
}

.navbar-header {
    display: flex;
    width: 100%;
    float: none;
    padding: 0 15px;
}

    /* Desktop logo */
    .navbar-header > div {
        display: flex;
        align-items: center;
    }

        .navbar-header > div a {
            display: block;
        }

        .navbar-header > div img {
            max-height: 45px;
            width: auto;
            display: block;
        }

/* Mobile logo - hidden by default */
.logo-mobile {
    display: none;
}

/* Navbar toggle */
.navbar-toggle {
    float: left;
    margin-left: 0;
    margin-right: 15px;
    border-color: #2e7d32;
    background: transparent;
    padding: 9px 10px;
    border-radius: 8px;
}

    .navbar-toggle .icon-bar {
        background-color: #2e7d32;
        width: 22px;
        height: 2px;
        border-radius: 2px;
    }

    .navbar-toggle:hover,
    .navbar-toggle:focus {
        background: rgba(46, 125, 50, 0.05);
    }

/* ===== MOBILE - SINGLE LOGO ===== */
@media (max-width: 768px) {
    .navbar-header {
        padding: 0 10px;
    }

        /* Hide desktop logo on mobile */
        .navbar-header > div {
            display: none;
        }

    /* Show mobile logo */
    .logo-mobile {
        display: block;
        margin-left: auto;
    }

        .logo-mobile img {
            max-height: 35px;
            width: auto;
            display: block;
        }

    .navbar-toggle {
        padding: 8px 8px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .logo-mobile img {
        max-height: 30px;
    }

    .navbar-toggle {
        padding: 6px 8px;
        margin-right: 8px;
    }

        .navbar-toggle .icon-bar {
            width: 18px;
        }
}

/* ===== LOGIN CONTAINER - CENTERED ON MOBILE ===== */
.login-container {
    min-height: calc(100vh - 70px - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: #ffffff;
    width: 100%;
}

.loginBox {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(46, 125, 50, 0.05);
    width: 440px;
    padding: 45px;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.loginBoxLeft {
    flex: 1;
    max-width: 500px;
    margin-right: 60px;
}

    .loginBoxLeft img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Login Type Tabs */
.login-type {
    display: flex;
    gap: 0;
    background: #f8fafc;
    padding: 6px;
    margin-bottom: 35px;
    border-radius: 50px;
    width: 100%;
}

.login-tab {
    flex: 1;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

    .login-tab input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .login-tab span {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 10px;
        font-size: 15px;
        font-weight: 500;
        color: #64748b;
        background: transparent;
        border-radius: 50px;
        cursor: pointer;
        white-space: nowrap;
        height: 100%;
        line-height: 1.2;
        transition: all 0.2s ease;
    }

    .login-tab input[type="radio"]:checked + span {
        color: #2e7d32;
        font-weight: 600;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.12);
    }

h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 32px 0;
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.icon-addon {
    position: relative;
    display: block;
}

    .icon-addon .form-control {
        height: 56px;
        padding: 0 16px 0 48px;
        font-size: 15px;
        border: 1.5px solid #e2e8f0;
        border-radius: 14px;
        background: #ffffff;
        color: #1e293b;
        width: 100%;
        box-shadow: none;
        line-height: 1.5;
        transition: all 0.2s ease;
    }

        .icon-addon .form-control:focus {
            border-color: #2e7d32;
            outline: none;
            box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
        }

        .icon-addon .form-control::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

.action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 25px;
    padding: 0;
    width: 100%;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
}

    .remember-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #2e7d32;
        margin: 0;
    }

.forgot-link {
    color: #2e7d32;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

    .forgot-link:hover {
        color: #1b5e20;
        border-bottom-color: #2e7d32;
    }

.otp-box {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0 15px;
}

.otp-input {
    width: 52px;
    height: 56px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
}

    .otp-input:focus {
        border-color: #2e7d32;
        outline: none;
        box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
    }

    .otp-input::-webkit-outer-spin-button,
    .otp-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.login-btn {
    width: 100%;
    height: 45px;
    background: #2e7d32;
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
    transition: all 0.2s ease;
}

    .login-btn:hover {
        background: #1b5e20;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
    }

    .login-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
    }

.otp-timer {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin: 15px 0 0 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

    .otp-timer span {
        color: #2e7d32;
        font-weight: 600;
        font-size: 16px;
    }

/* ===== PARTNER SECTION ===== */
.partner-section {
    background: #f8fafc;
    padding: 40px 0 60px;
    width: 100%;
}

    .partner-section .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 30px;
    }

.partner-grid {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.partner-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid #eef2f6;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

    .partner-card:hover {
        border-color: #2e7d32;
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(46, 125, 50, 0.08);
    }

    .partner-card a {
        display: block;
        margin-bottom: 25px;
    }

    .partner-card img {
        height: 70px;
        width: auto;
        border-radius: 16px;
        object-fit: contain;
    }

    .partner-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: #1e293b;
        font-weight: 600;
    }

    .partner-card p {
        color: #64748b;
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
        flex-grow: 1;
    }

/* ===== FOOTER ===== */
.footer {
    background: #33373a;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

    .footer .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 30px;
    }

.footer-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.copyright {
    flex-shrink: 0;
}

    .copyright p {
        margin: 0;
        color: #ffffff;
        font-size: 14px;
        line-height: 1.5;
        white-space: nowrap;
        font-weight: 400;
    }

        .copyright p label {
            color: #ffffff;
            font-weight: 600;
        }

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}

    .footer-nav li {
        display: inline-flex;
        align-items: center;
        color: #ffffff;
    }

        .footer-nav li a {
            color: #ffffff;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s ease;
            white-space: nowrap;
            padding: 4px 0;
        }

            .footer-nav li a:hover {
                color: #1b5e20;
                text-decoration: underline;
                text-underline-offset: 4px;
            }

        .footer-nav li.separator {
            color: #ffffff;
            font-size: 14px;
            font-weight: 500;
        }

/* ===== RESPONSIVE FIXES - CENTERED CARD ===== */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        padding: 0 20px;
    }

    .loginBoxLeft {
        display: none; /* Hide left panel on tablet/mobile */
    }

    .loginBox {
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
        padding: 35px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .copyright p {
        white-space: normal;
    }

    .footer-links {
        justify-content: center;
        width: 100%;
    }

    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .loginBox {
        padding: 30px 25px;
        margin: 0 15px; /* Add margin on sides */
        max-width: 400px;
    }

    h3 {
        font-size: 24px;
        text-align: center;
    }

    .login-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
        text-align: center;
    }

    .login-type {
        margin-bottom: 25px;
    }

    .login-tab span {
        font-size: 14px;
        padding: 10px 5px;
    }

    .icon-addon .form-control {
        height: 50px;
        font-size: 14px;
    }

    .otp-input {
        width: 45px;
        height: 50px;
        font-size: 20px;
    }

    .partner-grid {
        flex-direction: column;
        gap: 20px;
    }

    .partner-card {
        padding: 30px 20px;
    }

        .partner-card h3 {
            font-size: 20px;
        }

    .footer {
        padding: 15px 0;
    }

    .footer-nav {
        gap: 12px;
    }

        .footer-nav li a {
            font-size: 13px;
        }
}

@media (max-width: 576px) {
    .loginBox {
        padding: 25px 20px;
        margin: 0 10px;
    }

    .otp-box {
        gap: 6px;
    }

    .otp-input {
        width: 38px;
        height: 45px;
        font-size: 18px;
    }

    .action-row {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .footer-nav {
        flex-direction: column;
        gap: 8px;
    }

        .footer-nav li.separator {
            display: none;
        }

        .footer-nav li {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 400px) {
    .loginBox {
        padding: 20px 15px;
    }

    .login-tab span {
        font-size: 13px;
        padding: 8px 4px;
    }

    .otp-input {
        width: 35px;
        height: 42px;
        font-size: 16px;
    }

    .login-btn {
        height: 42px;
        font-size: 15px;
    }
}


