/* Brand Colors */
:root {
    --primary-color: #2CAB4A;    /* Green as primary */
    --secondary-color: #296BB4;  /* Blue as secondary */
    --success-color: #2CAB4A;    /* Green */
}

/* Login Card Styling */
.auth-card {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-card .card-header {
    background: var(--primary-color);
    color: white;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1.5rem;
    text-align: center;
    border-bottom: none;
}

.auth-card .card-body {
    padding: 2rem;
}

.auth-card .card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-card .form-label {
    color: var(--primary-color);
    font-weight: 500;
}

.auth-card .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(41, 107, 180, 0.25);
}

.auth-card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    width: 100%;
    margin-top: 1rem;
}

.auth-card .btn-primary:hover {
    background-color: #1f5290;
    border-color: #1f5290;
}

.auth-card .form-text {
    color: #6c757d;
    font-size: 0.875rem;
}

.auth-card .validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.auth-card .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.auth-card .divider span {
    padding: 0 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.auth-card .social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.auth-card .social-login .btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.auth-card .forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.auth-card .forgot-password a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
}

.auth-card .forgot-password a:hover {
    text-decoration: underline;
}

/* Login/Register Card Styling */
.authentication-wrapper .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(41, 107, 180, 0.12);
    background: #ffffff;
    transition: all 0.3s ease;
}

.authentication-wrapper .card:hover {
    box-shadow: 0 12px 32px rgba(41, 107, 180, 0.18);
    transform: translateY(-2px);
}

.authentication-wrapper .card-body {
    padding: 2.5rem;
}

/* Card Header */
.authentication-wrapper .card-header {
    background: linear-gradient(135deg, var(--primary-color), #1e5a9b);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 1.5rem 2rem;
    border: none;
}

.authentication-wrapper .card-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* Welcome Text */
.authentication-wrapper h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.authentication-wrapper p {
    color: #6c757d;
    margin-bottom: 2rem;
}

/* Form Controls */
.form-floating-outline .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 1rem 0.75rem;
    height: calc(3.5rem + 2px);
    transition: all 0.2s ease;
}

.form-floating-outline .form-control:focus,
.form-floating-outline .form-control:not(:placeholder-shown) {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(41, 107, 180, 0.15);
}

.form-floating-outline .form-control:focus ~ label,
.form-floating-outline .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1e5a9b;
    border-color: #1e5a9b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 107, 180, 0.2);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #000;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #d9a916;
    border-color: #d9a916;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 187, 27, 0.2);
}

/* Success Button */
.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #239a3d;
    border-color: #239a3d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 171, 74, 0.2);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #1e5a9b;
    text-decoration: none;
}

/* Validation Messages */
.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Remember Me Checkbox */
.form-check-input {
    border-radius: 4px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Forgot Password Link */
.forgot-password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.forgot-password-link:hover {
    color: #1e5a9b;
    text-decoration: none;
}

/* External Login Buttons */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 107, 180, 0.2);
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: rgba(44, 171, 74, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

/* Form Validation States */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%232CAB4A' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* Loading Spinner */
.spinner-border {
    color: var(--primary-color);
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Card Header */
.card-header {
    background-color: rgba(41, 107, 180, 0.05);
    border-bottom: 1px solid rgba(41, 107, 180, 0.1);
    padding: 1.5rem 2rem;
}

/* Social Login Icons */
.social-login-icon {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

/* Password Requirements List */
.password-requirements {
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Terms and Conditions Link */
.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.terms-link:hover {
    color: #1e5a9b;
    text-decoration: none;
}

/* Card Styling */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #239a3d;
    border-color: #239a3d;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #1f5290;
    border-color: #1f5290;
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: #239a3d;
    border-color: #239a3d;
}

/* Form Controls */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(44, 171, 74, 0.25);
}

.form-floating > label {
    color: #6c757d;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
}

a:hover {
    color: #239a3d;
}

/* Validation Messages */
.text-danger {
    color: #dc3545 !important;
}

.validation-summary-errors {
    color: #dc3545;
}

/* Footer */
.footer-text {
    color: var(--primary-color);
}

.footer-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-link:hover {
    color: #239a3d;
    text-decoration: underline;
}

/* Custom Classes */
.brand-primary {
    color: var(--primary-color);
}

.brand-secondary {
    color: var(--secondary-color);
}

.brand-success {
    color: var(--success-color);
}

/* Form Labels */
label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Input Groups */
.input-group-text {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Checkbox and Radio */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert Messages */
.alert-primary {
    background-color: rgba(44, 171, 74, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.alert-success {
    background-color: rgba(44, 171, 74, 0.1);
    border-color: var(--success-color);
    color: var(--success-color);
}

.alert-warning {
    background-color: rgba(41, 107, 180, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Card Headers */
.card-header h4 {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* Form Sections */
.form-section {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

/* Icon Colors */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

/* Login Area Styling */
.authentication-wrapper {
    position: relative;
    z-index: 1;
}

.authentication-inner {
    position: relative;
    z-index: 2;
}

/* Header and Title Spacing */
.authentication-inner .card-header {
    margin-bottom: 2rem;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
}

.authentication-inner .card-header h4 {
    margin: 0;
    width: 100%;
    text-align: center;
    color: white;
}

.authentication-inner .card-title {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.authentication-inner h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Form Spacing */
.authentication-inner .form-group {
    margin-bottom: 1.5rem;
}

.authentication-inner .form-label {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer Styling */
.position-fixed {
    z-index: 0;
}

/* Theme-scoped overrides for cards, body-content, etc. */

/* Light theme */
html[data-theme="theme-default"] .body-content,
html[data-theme="theme-default"] .card,
html[data-theme="theme-default"] .card-body,
html[data-theme="theme-default"] .card-header,
html[data-theme="theme-default"] .authentication-wrapper .card,
html[data-theme="theme-default"] .authentication-wrapper .card-body,
html[data-theme="theme-default"] .authentication-wrapper .card-header {
    background: #fff;
    color: #222;
}

html[data-theme="theme-default"] .table,
html[data-theme="theme-default"] .table th,
html[data-theme="theme-default"] .table td {
    background: #fff;
    color: #222;
    border-color: #e0e0e0;
}

/* Dark theme */
html[data-theme="theme-dark"] .body-content,
html[data-theme="theme-dark"] .card,
html[data-theme="theme-dark"] .card-body,
html[data-theme="theme-dark"] .card-header,
html[data-theme="theme-dark"] .authentication-wrapper .card,
html[data-theme="theme-dark"] .authentication-wrapper .card-body,
html[data-theme="theme-dark"] .authentication-wrapper .card-header {
    background: #232336 !important;
    color: #eee !important;
}

html[data-theme="theme-dark"] .table,
html[data-theme="theme-dark"] .table th,
html[data-theme="theme-dark"] .table td {
    background: #232336 !important;
    color: #eee !important;
    border-color: #39395a !important;
}

/* Remove or comment out unscoped background rules for these elements */
/*
.body-content {
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin-top: 1rem;
}
.authentication-wrapper .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(41, 107, 180, 0.12);
    background: #ffffff;
    transition: all 0.3s ease;
}
*/

/* --- Scoped Light Theme Patch (Overrides) --- */
html[data-theme="theme-default"], body.theme-default {
    background: #f8f9fa;
    color: #222;
}

html[data-theme="theme-default"] .layout-wrapper,
html[data-theme="theme-default"] .content-wrapper,
html[data-theme="theme-default"] .layout-page,
html[data-theme="theme-default"] .authentication-wrapper,
html[data-theme="theme-default"] .authentication-inner,
body.theme-default .layout-wrapper,
body.theme-default .content-wrapper,
body.theme-default .layout-page,
body.theme-default .authentication-wrapper,
body.theme-default .authentication-inner {
    background: #f8f9fa;
    color: #222;
}

html[data-theme="theme-default"] .card,
html[data-theme="theme-default"] .table,
html[data-theme="theme-default"] .table th,
html[data-theme="theme-default"] .table td,
html[data-theme="theme-default"] .dataTable,
html[data-theme="theme-default"] .dataTable th,
html[data-theme="theme-default"] .dataTable td,
body.theme-default .card,
body.theme-default .table,
body.theme-default .table th,
body.theme-default .table td,
body.theme-default .dataTable,
body.theme-default .dataTable th,
body.theme-default .dataTable td {
    background: #fff;
    color: #222;
}

html[data-theme="theme-default"] .table th,
html[data-theme="theme-default"] .table td,
html[data-theme="theme-default"] .dataTable th,
html[data-theme="theme-default"] .dataTable td,
body.theme-default .table th,
body.theme-default .table td,
body.theme-default .dataTable th,
body.theme-default .dataTable td {
    border-color: #e0e0e0;
}

html[data-theme="theme-default"] input,
html[data-theme="theme-default"] select,
html[data-theme="theme-default"] .form-control,
html[data-theme="theme-default"] .dataTables_filter,
html[data-theme="theme-default"] .dataTables_length,
body.theme-default input,
body.theme-default select,
body.theme-default .form-control,
body.theme-default .dataTables_filter,
body.theme-default .dataTables_length {
    background: #fff;
    color: #222;
}

/* --- Improved Scoped Dark Theme Patch (Overrides) --- */
html[data-theme="theme-dark"], body.theme-dark {
    background: #181824 !important;
    color: #eee !important;
}

html[data-theme="theme-dark"] .layout-wrapper,
html[data-theme="theme-dark"] .content-wrapper,
html[data-theme="theme-dark"] .layout-page,
html[data-theme="theme-dark"] .authentication-wrapper,
html[data-theme="theme-dark"] .authentication-inner,
body.theme-dark .layout-wrapper,
body.theme-dark .content-wrapper,
body.theme-dark .layout-page,
body.theme-dark .authentication-wrapper,
body.theme-dark .authentication-inner {
    background: #181824 !important;
    color: #eee !important;
}

html[data-theme="theme-dark"] .card,
html[data-theme="theme-dark"] .card-body,
html[data-theme="theme-dark"] .card-header,
html[data-theme="theme-dark"] .table,
html[data-theme="theme-dark"] .table th,
html[data-theme="theme-dark"] .table td,
html[data-theme="theme-dark"] .table thead th,
html[data-theme="theme-dark"] .table tbody tr,
html[data-theme="theme-dark"] .table tfoot td,
body.theme-dark .card,
body.theme-dark .card-body,
body.theme-dark .card-header,
body.theme-dark .table,
body.theme-dark .table th,
body.theme-dark .table td,
body.theme-dark .table thead th,
body.theme-dark .table tbody tr,
body.theme-dark .table tfoot td {
    background: #232336 !important;
    color: #eee !important;
    border-color: #39395a !important;
}

html[data-theme="theme-dark"] input,
html[data-theme="theme-dark"] select,
html[data-theme="theme-dark"] .form-control,
html[data-theme="theme-dark"] .dataTables_filter,
html[data-theme="theme-dark"] .dataTables_length,
body.theme-dark input,
body.theme-dark select,
body.theme-dark .form-control,
body.theme-dark .dataTables_filter,
body.theme-dark .dataTables_length {
    background: #232336 !important;
    color: #eee !important;
    border-color: #39395a !important;
}

/* Ensure main content area is dark in dark theme */
html[data-theme="theme-dark"] .body-content,
html[data-theme="theme-dark"] .content-wrapper,
html[data-theme="theme-dark"] .container-fluid,
html[data-theme="theme-dark"] .body-main-margin,
html[data-theme="theme-dark"] .row,
html[data-theme="theme-dark"] .col-10,
html[data-theme="theme-dark"] .col-xs-10 {
    background: #232336 !important;
    color: #eee !important;
    border: none !important;
}
body.theme-dark .body-content,
body.theme-dark .content-wrapper,
body.theme-dark .container-fluid,
body.theme-dark .body-main-margin,
body.theme-dark .row,
body.theme-dark .col-10,
body.theme-dark .col-xs-10 {
    background: #232336 !important;
    color: #eee !important;
    border: none !important;
}

/* Universal dark theme patch for debugging */
html[data-theme="theme-dark"], body.theme-dark {
    background: #232336 !important;
    color: #eee !important;
}
html[data-theme="theme-dark"] *:not(.btn):not(.form-control),
body.theme-dark *:not(.btn):not(.form-control) {
    background: transparent !important;
    color: #eee !important;
}

/* Active sub-menu item branding for light and dark themes */
html[data-theme="theme-default"] .menu-sub .menu-item.active {
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(44, 171, 74, 0.15);
}
html[data-theme="theme-default"] .menu-sub .menu-item.active .menu-link,
html[data-theme="theme-default"] .menu-sub .menu-item.active span,
html[data-theme="theme-default"] .menu-sub .menu-item.active i {
    color: #fff !important;
}

html[data-theme="theme-dark"] .menu-sub .menu-item.active,
html[data-theme="theme-dark"] .menu-sub .menu-item.active .menu-link {
    background: linear-gradient(90deg, #296BB4 0%, #2CAB4A 100%) !important;
    color: #fff !important;
    border-radius: 2rem !important;
    box-shadow: 0 2px 8px rgba(41, 107, 180, 0.15);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    overflow: hidden;
    display: block;
}
html[data-theme="theme-dark"] .menu-sub .menu-item.active .menu-link {
    background: none !important;
    color: #fff !important;
    border-radius: 2rem !important;
    box-shadow: none !important;
}
html[data-theme="theme-dark"] .menu-sub .menu-item.active span,
html[data-theme="theme-dark"] .menu-sub .menu-item.active i {
    color: #fff !important;
}

/* Card container */
.identity-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(41,107,180,0.10);
    max-width: 420px;
    margin: 40px auto 0 auto;
    padding: 0 0 2.5rem 0;
    overflow: hidden;
    border: none;
}

/* Gradient header */
.identity-card-header {
    background: linear-gradient(120deg, #2cab4a 0%, #296bb4 100%);
    color: #fff;
    padding: 2.2rem 2rem 1.2rem 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 24px 24px 0 0;
    letter-spacing: 0.5px;
}

.identity-card-subtitle {
    color: #7a8ca3;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Form fields */
.identity-card .form-control {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    font-size: 1.08rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1.1rem;
    background: #f8fafc;
    transition: border-color 0.2s;
}
.identity-card .form-control:focus {
    border-color: #2cab4a;
    box-shadow: 0 0 0 0.15rem rgba(44,171,74,0.10);
    background: #fff;
}

/* Checkbox */
.identity-card .form-check-label {
    color: #7a8ca3;
    font-size: 1rem;
}

/* Button */
.identity-card .btn-primary {
    background: #2cab4a;
    border: none;
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.85rem 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background 0.2s;
    box-shadow: 0 2px 8px 0 rgba(44,171,74,0.10);
}
.identity-card .btn-primary:hover {
    background: #296bb4;
}

/* Links */
.identity-card .form-link, .identity-card .btn-link {
    color: #2cab4a;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}
.identity-card .form-link:hover, .identity-card .btn-link:hover {
    color: #296bb4;
    text-decoration: underline;
}

/* Footer */
.identity-footer {
    color: #2cab4a;
    text-align: center;
    margin: 2.5rem 0 0 0;
    font-size: 1.05rem;
}
.identity-footer a {
    color: #2cab4a;
    text-decoration: none;
}
.identity-footer a:hover {
    color: #296bb4;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .identity-card {
        border-radius: 0;
        margin: 0;
        max-width: 100vw;
        box-shadow: none;
    }
    .identity-card-header {
        border-radius: 0;
        font-size: 1.5rem;
        padding: 1.5rem 1rem 1rem 1rem;
    }
    .identity-footer {
        font-size: 0.95rem;
    }
}

/* Ensure password toggle (eye) icon is visible in all themes */
.input-group-text .ri-eye-line,
.input-group-text .ri-eye-off-line {
    color: #6c757d;
}
[data-bs-theme="dark"] .input-group-text .ri-eye-line,
[data-bs-theme="dark"] .input-group-text .ri-eye-off-line {
    color: #f8f9fa;
}

/* Optional: Make the icon a bit larger for better visibility */
.input-group-text .ri-eye-line,
.input-group-text .ri-eye-off-line {
    font-size: 1.25rem;
} 