/* ============================= */
/* RESET */
/* ============================= */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    padding-top: 64px; /* match navbar height */
}


/* ============================= */
/* NAVBAR */
/* ============================= */
.custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: 64px;
    padding: 0 20px;

    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);

    z-index: 9999;
}

/* LEFT SIDE */
.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.brand-sub {
    font-size: 11px;
    color: #9aa3af;
    margin: 0;
    line-height: 1;
}

/* RIGHT WRAPPER (YOUR FIX) */
.nav-right-wrapper {
    margin-left: auto;
    margin-right: 20px;
    display: flex;
    align-items: center;
}

/* RIGHT CONTENT */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-left: auto;
    margin-right: 60px;  
}

.register-text {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* BUTTON */
.dropdown .btn-register {
    height: 34px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #2bbbad !important;
    border-radius: 8px;

    font-size: 13px;
    font-weight: 500;

    background: transparent !important;
    color: #2bbbad !important;

    box-shadow: none !important;
    transition: all 0.2s ease;
}

.dropdown .btn-register:hover {
    background: #2bbbad !important;
    color: #fff !important;
}

/* DROPDOWN */
.dropdown {
    display: flex;
    align-items: center;
}

.btn-register.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}


/* ============================= */
/* LOGIN FORM */
/* ============================= */
.login-type-toggle {
    display: flex;
    background: #f1f3f5;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
}

.login-type-toggle .toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
}

.login-type-toggle .toggle-btn.active {
    background: linear-gradient(135deg, #3bb2a3, #4a7bd0);
    color: #fff;
}

.welcome-title {
    font-weight: 700;
    margin-top: 10px;
    color: #1f2d3d;
}

.welcome-sub {
    font-size: 14px;
    color: #8a94a6;
    margin-bottom: 20px;
}

.custom-field {
    border-radius: 12px !important;
    padding: 12px 14px !important;
    border: 1px solid #d6dbe1 !important;
    background: #f8fafc !important;
}

.custom-field:focus {
    border-color: #17a2b8 !important;
    box-shadow: 0 0 0 2px rgba(23,162,184,0.15) !important;
    background: #fff !important;
}

.btn-gradient {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3bb2a3, #4a7bd0);
}


/* ============================= */
/* TRUST STRIP */
/* ============================= */
.trust-strip {
    text-align: center;
    padding: 20px 10px;
}

.trust-text {
    font-size: 13px;
    color: #6b7280;
}

.trust-highlight {
    font-weight: 600;
    color: #2bbbad;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.trust-badge {
    font-size: 12px;
    background: #f1f5f9;
    padding: 5px 10px;
    border-radius: 20px;
}


/* ============================= */
/* FOOTER */
/* ============================= */
#layoutAuthentication {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#layoutAuthentication_content {
    flex: 1;
}

#layoutAuthentication_footer {
    margin-top: auto;
}

.site-footer {
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    padding: 12px;
    font-size: 13px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


/* ============================= */
/* MOBILE */
/* ============================= */
@media (max-width: 576px) {

    .custom-navbar {
        height: 60px;
        padding: 0 10px;
    }

    .logo {
        width: 28px;
        height: 28px;
    }

    .brand-sub {
        display: none;
    }

    /* FIX RIGHT SHIFT */
    .nav-right-wrapper {
        padding-right: 10px;
    }

    .register-text {
        display: none;
    }

    .btn-register {
        height: 28px;
        font-size: 12px;
        padding: 0 10px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}


/* ============================= */
/* TABLET */
/* ============================= */
@media (min-width: 577px) and (max-width: 992px) {

    .nav-right-wrapper {
        padding-right: 20px;
    }

    .btn-register {
        font-size: 12px;
        padding: 0 12px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}
/* ========================= */
/* SIGN IN BUTTON */
/* ========================= */
.btn-gradient {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;   /* smoother */
    font-size: 15px;
    font-weight: 600;
    color: #fff;

    background: linear-gradient(135deg, #3bb2a3, #4a7bd0);

    box-shadow: 0 6px 14px rgba(74, 123, 208, 0.25);

    transition: all 0.25s ease;
}

.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(74, 123, 208, 0.35);
}

.btn-gradient:active {
    transform: scale(0.98);
}


/* ========================= */
/* DIVIDER */
/* ========================= */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 12px;
    font-size: 13px;
    color: #9aa3af;
}


/* ========================= */
/* GOOGLE BUTTON */
/* ========================= */
.google-btn {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;

    background: #f8fafc;

    font-size: 14px;
    font-weight: 500;
    color: #4a5568;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    transition: all 0.2s ease;
}

.google-btn img {
    width: 18px;
    height: 18px;
}

.google-btn:hover {
    background: #f1f5f9;
}


/* ========================= */
/* COMING SOON BADGE */
/* ========================= */
.coming-soon {
    font-size: 10px;
    background: #e2e8f0;
    color: #6b7280;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
}


/* ========================= */
/* REGISTER LINK */
/* ========================= */
.register-link {
    color: #2bbbad;
    font-weight: 500;
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}