/* Custom highlight style for matched skills */
.item-badge.highlight-skill {
    background-color: #fff3cd !important; /* Soft yellow */
    border: 1px solid #ffeeba !important;
    color: #856404 !important;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 238, 186, 0.5);
}

/* ==========================================================================
   1. HEADER & NAVIGATION
   ========================================================================== */
.app-header {
    border-bottom: 1px solid #e9ecef;
}
.header-logo {
    height: 40px;
    transition: transform 0.2s ease-in-out;
}
.header-logo:hover {
    transform: scale(1.05);
}
.nav-pills .nav-link {
    font-weight: 500;
    color: #495057;
    padding: 0.6rem 1rem;
    margin: 0 0.2rem;
    border-radius: 0;
    background-color: transparent;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
}
.nav-pills .nav-link:hover {
    background-color: transparent;
    color: #00639C;
}

.nav-pills .nav-link.active {
    color: #00639C !important;
    background-color: transparent !important;
    border-bottom-color: #00639C !important;
    font-weight: 700;
}

.navbar-actions {
    gap: 0.5rem;
}
.action-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.action-icon-btn:hover {
    background-color: #f0f2f5;
    color: #343a40;
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 0px;
    font-size: 0.65rem;
    padding: 0.2em 0.5em;
    border: 2px solid white;
}
.user-profile-dropdown {
    padding: 0.3rem 0.5rem;
    border-radius: 50px;
    transition: background-color 0.2s ease-in-out;
}
.user-profile-dropdown:hover {
    background-color: #f0f2f5;
}
.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}
.user-info {
    line-height: 1.2;
    text-align: left;
}
.user-name {
    display: block;
    font-weight: 600;
    color: #343a40;
    font-size: 0.9rem;
}
.user-role {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
}
.dropdown-menu-user {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    min-width: 260px;
    padding: 0.5rem 0;
}
.dropdown-menu-user .dropdown-item {
    padding: 0.75rem 1.25rem;
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
}
.dropdown-menu-user .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}
.dropdown-menu-user .dropdown-item.text-danger:hover {
    background-color: #f8d7da;
}
.session-timer-display {
    padding: .5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.session-timer-label {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1;
}
.session-timer-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    line-height: 1;
}
#session-timer.session-expired {
    color: #dc3545;
}

/* ==========================================================================
   2. BIRTHDAY MODAL
   ========================================================================== */
@keyframes birthday-wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-8deg) scale(1.1); }
  50% { transform: rotate(8deg) scale(1.1); }
  75% { transform: rotate(-5deg) scale(1.1); }
}
@keyframes tada-animation {
    from { transform: scale3d(1, 1, 1); }
    10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); }
    30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
    40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
    to { transform: scale3d(1, 1, 1); }
}
.birthday-cake-icon-animated {
    animation: birthday-wobble 1s ease-in-out infinite;
    background: linear-gradient(45deg, #f72585, #f9c74f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.birthday-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 0;
}
.birthday-filter-group {
    display: flex;
    justify-content: flex-start;
    flex-grow: 1;
    align-items: stretch;
    gap: 0.5rem;
    background-color: #f0f2f5;
    padding: 0.3rem;
    border-radius: 8px;
}
.birthday-filter-btn {
    border: none;
    background-color: transparent;
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.birthday-filter-btn:hover {
    background-color: #e4e6eb;
}
.birthday-filter-btn.active {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.birthday-filter-btn.active .filter-title {
    color: #0d6efd;
}
.filter-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}
.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
}
.filter-subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    color: #6c757d;
    pointer-events: none;
}
.birthday-filter-btn.active .filter-subtitle {
    color: #0d6efd;
}
.filter-count-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2em 0.6em;
    border-radius: 10px;
    background-color: #e9ecef;
    color: #495057;
    transition: all 0.2s ease;
}
.birthday-filter-btn.active .filter-count-badge {
    background-color: #cfe2ff;
    color: #0d6efd;
}
.birthday-download-btn {
    margin-left: 1rem;
    min-width: 100px;
    transition: all 0.3s ease-in-out;
}
.birthday-download-btn.btn-success-animation {
    background-color: #198754;
    border-color: #198754;
    color: #fff;
}
.custom-date-filter-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    margin-top: 0;
    padding: 0 1rem;
}
.custom-date-filter-wrapper.show {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}
.custom-date-inputs {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.date-input-group {
    flex-grow: 1;
}
.date-input-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
.birthday-list-container {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1rem 5px;
}
.birthday-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #fff;
    border: 1px solid #e0e4e9;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.birthday-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.bday-initials {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background-image: linear-gradient(135deg, #667eea, #764ba2);
}
.bday-info { flex-grow: 1; }
.bday-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #212529;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}
.bday-job-details {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}
.bday-employee-id {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid #dee2e6;
    font-weight: 500;
    color: #495057;
}
.bday-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem; /* row and column gap */
    font-size: 0.85rem;
}
.bday-contact-item {
    color: #495057;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease;
}
.bday-contact-item:hover {
    color: #0d6efd;
}


/* Enhanced Checkbox Visibility */
.form-check-input {
    border: 2px solid #adb5bd; /* Thicker, darker border for better contrast */
    width: 1.2em;              /* Slightly larger size */
    height: 1.2em;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #3f51b5; /* Matches your brand theme */
    border-color: #3f51b5;
}

.form-check-input:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.25rem rgba(63, 81, 181, 0.25);
}



.bday-contact-item i {
    color: #6c757d;
    margin-right: 0.5rem;
}
/* --- START: NEW STYLES FOR MASKING AND DOB --- */
.bday-meta-details {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.bday-full-dob {
    display: flex;
    align-items: center;
}
.bday-full-dob i {
    margin-right: 0.4rem;
}
.mask-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    font-size: 1rem;
    margin-left: 0.75rem;
}
.mask-toggle-btn:hover {
    color: #0d6efd;
}
.sensitive-data .masked-value { display: inline; }
.sensitive-data .unmasked-value { display: none; }
.sensitive-data.is-unmasked .masked-value { display: none; }
.sensitive-data.is-unmasked .unmasked-value { display: inline; }
/* --- END: NEW STYLES --- */
.birthday-card.is-today {
    border-left: 4px solid #1CC88A;
}
.today-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2em 0.6em;
    border-radius: 10px;
    background-color: #1cc88a;
    color: white;
    margin-left: 0.75rem;
    display: inline-flex;
    align-items: center;
}
.animated-gift-icon {
    display: inline-block;
    animation: tada-animation 1.5s ease infinite;
    animation-delay: 0.5s;
    margin-right: 0.3rem;
}
.birthday-empty-state {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: #f8f9fa;
    margin-top: 1rem;
}
.birthday-empty-state i {
    font-size: 2.5rem;
    color: #ced4da;
    margin-bottom: 1rem;
}
.birthday-empty-state.is-prompt {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}
.birthday-empty-state.is-prompt i {
    color: #ffc107;
}
.birthday-list-container::-webkit-scrollbar {
    width: 8px;
}
.birthday-list-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}
.birthday-list-container::-webkit-scrollbar-thumb {
    background-color: #ced4da;
    border-radius: 10px;
    border: 2px solid #f8f9fa;
}
.birthday-list-container::-webkit-scrollbar-thumb:hover {
    background-color: #adb5bd;
}


/* ==========================================================================
   3. BASE & BRANDING
   ========================================================================== */
body {
    background-color: #f4f7f6;
}
.card-container {
    position: relative;
}
.card-container .card,
.modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden; 
}
.card-container::before,
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #3f51b5;
    z-index: 2;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.card-container::after,
.modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background-color: #dc3545;
    z-index: 2;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}


/* ==========================================================================
   4. FORMS, SPINNERS, & MODALS
   ========================================================================== */
.form-control-plaintext-custom {
    background-color: #f8f9fa;
    border-radius: .375rem;
    padding: .375rem .75rem;
    border: 1px solid #dee2e6;
    color: #6c757d;
}
.password-toggle-icon {
    cursor: pointer;
}
.input-group-text {
    background-color: #fff;
}
.error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}
input.is-invalid, select.is-invalid {
    border-color: #dc3545 !important;
}
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
}
.spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: conic-gradient(from 0.15turn, #dc3545, #3f51b5);
    mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 0);
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.65);
}

main.content-blurred {
    filter: blur(5px);
    pointer-events: none; /* Prevents clicking on background elements */
    transition: filter 0.3s ease-in-out;
}


/* ==========================================================================
   5. EMPLOYEE MANAGEMENT & EDIT MODAL
   ========================================================================== */
/* --- START BUG FIX: ADDED MARGIN TO MODAL DIALOG --- */
.modal-xl .modal-dialog, .modal-lg .modal-dialog {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
/* --- END BUG FIX --- */

.modal-xl {
    max-width: 1140px;
}
.details-modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}
.details-modal-header .modal-title {
    font-weight: 600;
}
.details-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3f51b5;
    border-bottom: 2px solid #3f51b5;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.detail-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.detail-item .detail-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}
.detail-item .detail-value {
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
}
.item-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.25rem;
}
.item-badge {
    display: inline-flex;
    align-items: center;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.75rem;
    border-radius: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}
.item-badge .btn-close {
    font-size: 0.7rem;
    margin-left: 0.5rem;
}
.readonly-status-alert {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}
.history-action-card {
    background-color: #f0f2ff;
    border: 1px solid #c8d1ff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: slideDown 0.4s ease-out;
}
.history-action-card h6 {
    font-weight: 600;
    color: #3f51b5;
}
.action-card-footer {
    text-align: right;
    margin-top: 0.5rem;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

#employeeDetailModal .modal-body {
    max-height: 75vh; 
    overflow-y: auto;
}


/* --- Document Management Styles --- */
.doc-category-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: .5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.doc-category-title {
    font-weight: 600;
    font-size: 1rem;
    color: #495057;
    margin-bottom: .75rem;
}
.doc-list-group {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    min-height: 80px;
}
.doc-list-item, .doc-list-item-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .9rem;
    padding: .5rem .75rem;
    border-radius: .25rem;
    margin-bottom: .5rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}
.doc-list-item-empty {
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    background-color: transparent;
    border-style: dashed;
}
.doc-filename {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: .5rem;
}

/* --- START BUG FIX #1: Document Icon Alignment --- */
.doc-actions {
    display: flex;
    gap: 0.25rem; /* Adds a small space between buttons */
}
.doc-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Gives buttons a consistent square shape */
    height: 32px; /* Gives buttons a consistent square shape */
    padding: 0; /* Ensures icon is perfectly centered */
}
/* --- END BUG FIX #1 --- */

.btn-icon-danger {
    color: #dc3545;
    background: none;
    border: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.btn-icon-danger:hover {
    opacity: 1;
}
.doc-upload-area {
    position: relative;
    border: 2px dashed #ced4da;
    border-radius: .375rem;
    padding: 1.5rem;
    text-align: center;
    background-color: #fff;
    transition: border-color .15s ease-in-out, background-color .15s ease-in-out;
    margin-top: auto;
}
.doc-upload-area.is-active {
    border-color: #3f51b5;
    background-color: #f0f2ff;
}
.doc-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.doc-upload-label {
    color: #6c757d;
    pointer-events: none;
}
.doc-upload-label i {
    font-size: 1.75rem;
    color: #adb5bd;
}
.doc-upload-label p {
    margin: .5rem 0 0;
    font-size: .9rem;
}
@keyframes flash-success { 0% { background-color: #d1e7dd; } 100% { background-color: #fff; } }
@keyframes flash-failure { 0% { background-color: #f8d7da; } 100% { background-color: #fff; } }
.doc-list-item.is-pending { background-color: #e9ecef; }
.doc-list-item.is-success { animation: flash-success 1s ease-out; }
.doc-list-item.is-failure { animation: flash-failure 1s ease-out; border-color: #dc3545; }
.doc-status-badge {
    font-size: .75rem;
    font-weight: bold;
    color: #dc3545;
}
.doc-list-item.fade-out {
    opacity: 0;
    transform: scale(0.95);
}


/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.app-footer {
    background-color: #f8f9fa;
    padding: 1.5rem 0;
    border-top: 1px solid #dee2e6;
    color: #6c757d;
}
.copyright-text {
    font-size: 0.9rem;
}
.footer-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}
.footer-links a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* ==========================================================================
   7. NEW STYLES FOR ENHANCEMENTS
   ========================================================================== */

/* --- History Timeline --- */
.history-timeline {
    position: relative;
    padding-left: 40px;
    list-style: none;
    margin: 0;
}
.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background-color: #e9ecef;
}
.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.timeline-icon.icon-join { color: #198754; border-color: #198754; }
.timeline-icon.icon-update { color: #0d6efd; border-color: #0d6efd; }
.timeline-icon.icon-status { color: #ffc107; border-color: #ffc107; }
.timeline-icon.icon-leave { color: #dc3545; border-color: #dc3545; }

.timeline-content {
    padding-left: 10px;
}
.timeline-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
}
.timeline-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.timeline-body p {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #495057;
}
.timeline-body strong {
    color: #212529;
}

/* --- START BUG FIX #2: Document Preview Modal Height --- */
.doc-preview-iframe {
    width: 100%;
    height: 450px;
    border: none;
}
.doc-preview-img {
    max-width: 100%;
    max-height: 450px;
    display: block;
    margin: 0 auto;
}
/* --- END BUG FIX #2 --- */

/* ==========================================================================
   8. MODAL STACKING & CONFIRMATION DIALOG
   ========================================================================== */

.modal-content-wrapper {
    transition: filter 0.3s ease-in-out;
}

.modal.modal-behind .modal-content-wrapper {
    filter: blur(4px);
}

#universal-confirmation-modal {
    z-index: 1060;
}
#universal-confirmation-modal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#universal-confirmation-modal .modal-content {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
    border: none;
}

#universal-confirmation-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

/* --- START BUG FIX: ALIGN ICONS IN ACTION BUTTONS --- */
.actions-column .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* --- END BUG FIX --- */

/* ==========================================================================
   9. FORGOT PASSWORD STYLES
   ========================================================================== */

/* Forgot Password Step Icons */
.forgot-password-icon {
    position: relative;
    display: inline-block;
}

.forgot-password-icon i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.forgot-password-icon:hover i {
    transform: scale(1.1);
}

/* Password Requirements Styling */
.password-requirements {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.password-requirements .requirement {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.password-requirements .requirement:last-child {
    margin-bottom: 0;
}

.password-requirements .requirement i {
    width: 16px;
    transition: all 0.3s ease;
}

/* OTP Input Styling */
#otp {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5rem;
    text-align: center;
}

/* Step Transitions */
.forgot-password-step {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Step Special Styling */
#step-success {
    text-align: center;
}

#step-success .forgot-password-icon {
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Resend Timer Styling */
#resend-timer {
    font-weight: 500;
    color: #6c757d;
}

/* Button Loading States */
.btn .btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .forgot-password-icon i {
        font-size: 2rem !important;
    }
    
    #otp {
        font-size: 1.25rem;
        letter-spacing: 0.25rem;
    }
}