/* Virtuard Premium Login & Auth Forms */

/* Full Page Background */
body {
    background-color: #262325 !important;
}

.bravo-login-page {
    background-color: #262325 !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Centered Floating Card Container */
.login-floating-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    overflow: hidden;
}

.login-split-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: #fff;
    position: relative;
}

.login-split-right { 
    width: 50%;
    background-image: url('../images/footer-cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Glassmorphism Copyright Box */
.login-copyright-box {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.5;
}

/* Segmented Control */
.auth-segmented-control {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
}
.auth-segmented-control a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
}
.auth-segmented-control a.active {
    background: #111;
    color: #fff;
}

/* Form Container */
.bravo-login-form-page {
    width: 100%;
    max-width: 400px;
}

/* Typography */
.form-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-bottom: 8px !important;
}
.form-subtitle {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Inputs */
.form-group {
    margin-bottom: 16px !important;
    position: relative;
}
.form-group label.input-label {
    display: block;
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 6px;
}
.form-group label.input-label span {
    color: red;
}
.form-control {
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 14px 45px 14px 16px !important; /* Space for icon on right */
    font-size: 0.95rem !important;
    color: #111 !important;
    background-color: #fff !important;
    transition: all 0.3s ease !important;
    height: auto !important;
}

.form-control:focus {
    background-color: #fff !important;
    border-color: #111 !important;
    box-shadow: 0 0 0 4px rgba(17,17,17,0.05) !important;
}

.input-icon {
    position: absolute;
    top: 40px; /* adjusted for label */
    right: 16px;
    font-size: 1.1rem;
    color: #a0aec0;
    pointer-events: none;
    z-index: 5;
    font-style: normal;
}
.toggle-password {
    pointer-events: auto;
    cursor: pointer;
}
.form-control:focus ~ .input-icon {
    color: #111;
}

/* Primary Button */
.btn-primary {
    background-color: #111 !important;
    border-color: #111 !important;
    border-radius: 12px !important;
    padding: 14px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-transform: none !important;
    width: 100%;
    transition: all 0.3s ease !important;
}
.btn-primary:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

/* Social Buttons */
.btn-social {
    background-color: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #4a5568 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
.btn-social:hover {
    background-color: #f8fafc !important;
    border-color: #cbd5e0 !important;
}
.btn-social img, .btn-social i {
    font-size: 1.1rem;
}

/* Dividers */
.advanced {
    position: relative;
    text-align: center;
    margin: 24px 0 !important;
    z-index: 1;
}
.advanced::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: -1;
}
.advanced p {
    display: inline-block;
    background: #fff;
    padding: 0 16px;
    color: #a0aec0;
    font-weight: 500;
    font-size: 0.8rem;
    margin: 0;
}

/* Checkbox */
.d-flex.justify-content-between {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
}
.d-flex.justify-content-between label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}
.d-flex.justify-content-between a {
    font-size: 0.85rem;
    color: #111;
    font-weight: 600;
}

@media (max-width: 768px) {
    .login-split-right { display: none; }
    .login-split-left { width: 100%; padding: 30px; }
    .login-floating-card { min-height: auto; border-radius: 0; box-shadow: none; }
    .bravo-login-page { padding: 0; }
}
