@font-face {
    font-family: "GothamBook";
    src: url("/fonts/Gotham-Book.otf") format("opentype");
}
@font-face {
    font-family: "GothamBold";
    src: url("/fonts/Gotham-Bold/otf") format("opentype");
}
* {
    font-family: GothamBook !important;
}
.gradient:hover {
    background-image: linear-gradient(
        to right,
        #ff00e5,
        #faff00,
        #ff5c00,
        #01a608,
        #0085ff,
        #cc00ff
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html, body {
    background: linear-gradient(135deg, #4F23C3 0%, #1B015D 100%) !important;
    min-height: 100%;
}

.masthead {
    background: transparent !important;
    min-height: 100vh;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
    padding: 50px 60px;
    max-width: 480px;
    width: 100%;
}

.login-card .portal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #662cff 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.login-card .portal-badge.admin-badge {
    background: linear-gradient(135deg, #662CFF 0%, #8b5cf6 100%);
}

.login-card .portal-badge.client-badge {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.login-card .signin-title {
    font-size: 26px;
    font-weight: 700;
    color: #662cff;
    margin-bottom: 30px;
}

.login-card .forgot-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-top: -20px;
    margin-bottom: 25px;
}

.login-card .logo-container {
    margin-bottom: 20px;
}

.login-card .logo-container img {
    max-height: 70px;
}

.login-card .form-control {
    border: 1px solid rgba(102, 44, 255, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(102, 44, 255, 0.05), inset 0 1px 2px rgba(102, 44, 255, 0.03);
}

.login-card .form-control:hover {
    border-color: rgba(102, 44, 255, 0.35);
    box-shadow: 0 4px 12px rgba(102, 44, 255, 0.08), inset 0 1px 2px rgba(102, 44, 255, 0.03);
}

.login-card .form-control:focus {
    border-color: #662cff;
    box-shadow: 0 0 0 3px rgba(102, 44, 255, 0.12), 0 4px 16px rgba(102, 44, 255, 0.15);
    background: #fff;
    outline: none;
}

.login-card .form-control::placeholder {
    color: #a1a1aa;
}

.login-card .btn-primary-custom {
    background: #662cff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.login-card .btn-primary-custom:hover {
    background: #5521d9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 44, 255, 0.35);
}

.login-card .btn-outline-custom {
    background: transparent;
    border: 2px solid #662cff;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #662cff;
    transition: all 0.3s ease;
}

.login-card .btn-outline-custom:hover {
    background: #662cff;
    color: #fff;
}

.login-card .forgot-link {
    color: #662cff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-card .forgot-link:hover {
    color: #5521d9;
    text-decoration: underline;
}

/* Password toggle */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #662cff;
}

.password-toggle i {
    font-size: 16px;
}

/* Password toggle for form-floating (registration page) */
.form-floating.password-wrapper .password-toggle {
    top: 28px;
}

/* Login page responsive */
@media (max-width: 767px) {
    .login-card {
        padding: 35px 30px;
        max-width: 100%;
        border-radius: 16px;
    }

    .login-card .logo-container img {
        max-height: 55px;
    }

    .login-card .signin-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .login-card .form-control {
        padding: 12px 14px;
    }

    .login-card .btn-primary-custom,
    .login-card .btn-outline-custom {
        padding: 12px;
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .login-card {
        padding: 30px 25px;
    }

    .login-card .logo-container img {
        max-height: 50px;
    }

    .login-card .signin-title {
        font-size: 20px;
    }
}

/* Registration page styles - Split Screen */
.register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 80px;
}

.register-container {
    display: flex;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
}

.register-left {
    flex: 0 0 340px;
    background: linear-gradient(135deg, #4F23C3 0%, #1B015D 100%);
    padding: 40px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-content {
    text-align: center;
    color: #fff;
}

.brand-logo {
    max-height: 60px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.brand-subtitle {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 30px;
}

.brand-features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
}

.feature-item i {
    font-size: 18px;
    opacity: 0.9;
}

.register-right {
    flex: 1;
    padding: 40px 35px;
    display: flex;
    align-items: center;
    overflow-y: auto;
    max-height: 90vh;
}

.register-form-container {
    width: 100%;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 25px;
}

.register-right .form-floating > .form-control {
    border: 1px solid rgba(102, 44, 255, 0.2);
    border-radius: 12px;
    height: 50px;
    padding: 14px 12px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(102, 44, 255, 0.05), inset 0 1px 2px rgba(102, 44, 255, 0.03);
    transition: all 0.3s ease;
}

.register-right .form-floating > label {
    padding: 14px 12px;
    color: #9ca3af;
    font-size: 14px;
}

.register-right .form-floating > .form-control:hover {
    border-color: rgba(102, 44, 255, 0.35);
    box-shadow: 0 4px 12px rgba(102, 44, 255, 0.08), inset 0 1px 2px rgba(102, 44, 255, 0.03);
}

.register-right .form-floating > .form-control:focus {
    border-color: #662cff;
    box-shadow: 0 0 0 3px rgba(102, 44, 255, 0.12), 0 4px 16px rgba(102, 44, 255, 0.15);
    background: #fff;
}

.register-right .form-floating > .form-control:focus ~ label,
.register-right .form-floating > .form-control:not(:placeholder-shown) ~ label {
    font-size: 12px;
}

.password-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.password-hints .hint {
    font-size: 10px;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.password-hints .hint i {
    font-size: 11px;
    color: #ef4444;
}

.password-hints .hint.valid {
    background: #dcfce7;
    color: #22c55e;
}

.password-hints .hint.valid i {
    color: #22c55e;
}

.match-message {
    font-size: 11px;
    margin: -8px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-message.match {
    color: #22c55e;
}

.match-message.no-match {
    color: #ef4444;
}

.btn-register {
    background: #662cff;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-register:hover {
    background: #5521d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 44, 255, 0.35);
}

.btn-register:disabled {
    background: #c4b5fd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
}

.login-link a {
    color: #662cff;
    font-weight: 600;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .register-container {
        max-width: 1000px;
    }

    .register-left {
        flex: 0 0 400px;
        padding: 50px 45px;
    }

    .brand-logo {
        max-height: 70px;
        margin-bottom: 30px;
    }

    .brand-title {
        font-size: 28px;
    }

    .brand-subtitle {
        font-size: 15px;
    }

    .register-right {
        padding: 50px 45px;
    }

    .form-title {
        font-size: 28px;
    }

    .register-right .form-floating > .form-control {
        height: 54px;
    }
}

/* Laptop/Small Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .register-container {
        max-width: 850px;
    }

    .register-left {
        flex: 0 0 320px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .register-container {
        max-width: 700px;
    }

    .register-left {
        flex: 0 0 280px;
        padding: 35px 25px;
    }

    .brand-logo {
        max-height: 50px;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .feature-item {
        font-size: 13px;
        padding: 8px 0;
    }

    .register-right {
        padding: 35px 25px;
    }

    .form-title {
        font-size: 22px;
    }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    .register-wrapper {
        padding: 15px;
        align-items: flex-start;
        padding-top: 80px;
    }

    .register-container {
        flex-direction: column;
        border-radius: 20px;
        max-width: 100%;
    }

    .register-left {
        flex: none;
        padding: 30px 25px;
    }

    .brand-logo {
        max-height: 50px;
        margin-bottom: 15px;
    }

    .brand-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .brand-subtitle {
        font-size: 13px;
        margin-bottom: 0;
    }

    .brand-features {
        display: none;
    }

    .register-right {
        padding: 30px 25px;
        max-height: none;
    }

    .form-title {
        font-size: 22px;
    }

    .form-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .register-right .row > .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .register-right .form-floating > .form-control {
        height: 48px;
    }

    .password-hints {
        gap: 5px;
    }

    .password-hints .hint {
        font-size: 9px;
        padding: 3px 7px;
    }

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

    .login-link {
        font-size: 12px;
    }
}

/* Small Mobile (max 375px) */
@media (max-width: 375px) {
    .register-wrapper {
        padding: 10px;
        padding-top: 70px;
    }

    .register-left {
        padding: 25px 20px;
    }

    .register-right {
        padding: 25px 20px;
    }

    .form-title {
        font-size: 20px;
    }

    .register-right .form-floating > .form-control {
        height: 46px;
        font-size: 13px;
    }
}

/* Navbar styling for login page */
#mainNav {
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1050;
}

#mainNav .navbar-brand img {
    filter: brightness(0) invert(1);
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

#mainNav .nav-link:hover {
    color: #fff !important;
}

.be-logo {
    max-height: 80px;
}

.registerWrapper {
    border-radius: 5px;
    box-sizing: border-box;
    padding: 2px;
    background-color: white;
}
.registerWrapper:hover {
    /* background-color: none;
    background-image: linear-gradient(
        to right,
        #ff00e5,
        #faff00,
        #ff5c00,
        #01a608,
        #0085ff,
        #cc00ff
    ); */
}

.login-form input {
    text-align: center;
    font-family: "GothamBook";
}

.txt {
    font-size: 20px;
    letter-spacing: 1px;
}

.login-here {
    margin-left: auto;
    width: unset;
    color: white;
}
.login-here a {
    color: white;
    text-decoration: none;
}



