html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Toast Notifications */
.toast-container {
    z-index: 1090;
    max-height: 100vh;
    overflow: hidden;
}

.toast {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.toast-dismissible {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem;
}

.toast-body {
    padding: 0.75rem;
    position: relative;
}

/* Custom close button for better visibility */
.btn-close-toast {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    transition: all 0.2s ease;
}

.btn-close-toast:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.btn-close-toast:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-close-toast i {
    font-size: 0.875rem;
}

/* Progress bar for auto-dismiss countdown */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    animation: progressShrink linear forwards;
}

@keyframes progressShrink {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Color-coded progress bars */
.toast-header.bg-success ~ .toast-body .toast-progress {
    background: rgba(25, 135, 84, 0.4);
}

.toast-header.bg-danger ~ .toast-body .toast-progress {
    background: rgba(220, 53, 69, 0.4);
}

.toast-header.bg-warning ~ .toast-body .toast-progress {
    background: rgba(255, 193, 7, 0.4);
}

.toast-header.bg-info ~ .toast-body .toast-progress {
    background: rgba(13, 202, 240, 0.4);
}

/* Resume Preview */
.resume-preview-wrapper {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.resume-preview-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resume-preview-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Table sorting indicator */
th[style*="cursor: pointer"] {
    user-select: none;
}

th[style*="cursor: pointer"]:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Sortable table headers */
.sortable-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: background-color 0.15s ease-in-out;
}

.sortable-header:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.sortable-header i {
    font-size: 0.75rem;
    vertical-align: middle;
}

/* Pagination styling */
.pagination {
    margin-top: 1rem;
}

/* Breadcrumb styling */
.breadcrumb {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
}

/* Alert sizing */
.alert-sm {
    padding: 0.5rem 0.75rem;
    margin-bottom: 0;
}

.alert-sm small {
    font-size: 0.875rem;
}

/* WCAG AA Compliant Badge Colors */
/* Ensure at least 4.5:1 contrast ratio for text inside badges */
.badge.bg-info {
    background-color: #0c63e4 !important;
    color: #fff !important;
}

.badge.bg-warning {
    background-color: #ff9e1b !important;
    color: #000 !important;
}

.badge.bg-warning:hover,
.badge.bg-warning:focus {
    color: #000 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

/* Status-specific badge improvements */
.badge {
    font-weight: 500;
}

/* Ensure all badges have sufficient contrast */
.badge.bg-success {
    color: #fff !important;
}

.badge.bg-danger {
    color: #fff !important;
}

.badge.bg-dark {
    color: #fff !important;
}

/* ========================================
   Shared Page Header Styles
   ======================================== */

.page-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    margin: 0;
}

.page-header .page-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.header-actions .btn-group-header {
    display: flex;
    gap: 0.5rem;
}

/* ========================================
   Applications Page - New UI/UX Styles
   ======================================== */

/* Filter Card */
.filter-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-card .input-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-card .btn {
    transition: all 0.2s ease;
}

.filter-card .btn:hover {
    transform: translateY(-1px);
}

/* Application Cards */
.application-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.application-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
    transform: translateY(-2px);
    border-color: #dee2e6;
}

.application-card .card-body {
    position: relative;
}

.application-card .job-title {
    color: #1b6ec2;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.application-card .job-title:hover {
    color: #0d47a1;
}

/* Status Badge Styling */
.status-badge {
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* Application Timeline */
.application-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 0.25rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #e0e0e0;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #dee2e6;
    transition: all 0.2s ease;
}

.timeline-item.active .timeline-dot {
    background-color: #0c63e4;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #0c63e4;
}

/* Review Notes Card */
.review-notes-card {
    border-radius: 0.375rem;
    background-color: #f0f7ff !important;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skeleton Loader */
.skeleton-loader {
    background: #f6f7f8;
    border: none;
}

.skeleton-heading {
    height: 1.5rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.375rem;
}

.skeleton-line {
    height: 0.875rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.skeleton-button {
    height: 2.25rem;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 0.375rem;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Enhanced Alert for Empty State */
.alert-lg {
    padding: 2rem;
    border-radius: 0.75rem;
    border: 2px dashed #17a2b8;
}

.alert-lg .alert-link {
    text-decoration: none;
}

.alert-lg .alert-link:hover {
    text-decoration: underline;
}

/* Button Accessibility */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:not(:disabled) {
    cursor: pointer;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .application-card {
        margin-bottom: 1rem;
    }

    .application-card .job-title {
        font-size: 1rem;
    }

    .filter-card {
        margin-bottom: 1.5rem;
    }

    .status-badge {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }

    .btn-sm {
        padding: 0.4rem 0.6rem;
        font-size: 0.875rem;
    }

    .d-grid gap-2 {
        gap: 0.5rem !important;
    }
}

/* Focus/Outline for Keyboard Navigation */
.btn:focus,
.btn:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.25);
}

.btn-danger:focus,
.btn-danger:focus-visible {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

/* Input Focus States */
.form-control:focus {
    border-color: #0c63e4;
    box-shadow: 0 0 0 0.2rem rgba(12, 99, 228, 0.15);
}

/* Modal Accessibility Improvements */
.modal {
    backdrop-filter: blur(2px);
}

.modal-content {
    border: 1px solid #dee2e6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #dee2e6;
}

/* Badge Enhancements */
.badge {
    transition: all 0.2s ease;
}

.badge:hover {
    transform: scale(1.05);
}

/* Search Input Enhancements */
.input-group .input-group-text {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.input-group .form-control {
    border: 1px solid #dee2e6;
}

.input-group .form-control:focus {
    border-color: #0c63e4;
}

/* Responsive Card Grid */
@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .col-xl-4 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    .col-xl-4 {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    
    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.333%;
    }
}

/* ========================================
   Consistent Table Styles
   ======================================== */

.table-responsive {
    border-radius: 0.375rem;
}

.table {
    margin-bottom: 0;
}

.table thead {
    background-color: #f8f9fa;
}

.table thead th {
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 1rem;
}

.table tbody td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.table tbody tr {
    transition: background-color 0.15s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table.table-dark thead,
.table.table-dark thead th {
    background-color: #000 !important;
    color: #fff !important;
}

/* ========================================
   Consistent Card Styles
   ======================================== */

.card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    padding: 1rem;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
}

/* ========================================
   Consistent Modal Styles
   ======================================== */

.modal-content {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem;
}

.modal-header .modal-title {
    font-weight: 600;
    color: #212529;
}

.modal-body {
    padding: 1.5rem;
    color: #495057;
}

.modal-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.modal-footer .btn {
    min-width: 100px;
}

/* ========================================
   Consistent Alert Styles
   ======================================== */

.alert {
    border-radius: 0.5rem;
    border: 1px solid;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-primary {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Empty state alerts */
.alert-lg {
    padding: 2rem;
    border-radius: 0.75rem;
}

/* ========================================
   Consistent Button Styles
   ======================================== */

.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:not(:disabled) {
    cursor: pointer;
}

/* Button sizes with consistent styling */
.btn-lg {
    padding: 0.75rem 1.5rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Button focus states */
.btn:focus,
.btn:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.btn-primary:focus,
.btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(27, 110, 194, 0.25);
}

.btn-success:focus,
.btn-success:focus-visible {
    box-shadow: 0 0 0 3px rgba(28, 184, 65, 0.25);
}

.btn-danger:focus,
.btn-danger:focus-visible {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

.btn-secondary:focus,
.btn-secondary:focus-visible {
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25);
}

/* ========================================
   Consistent Form Styles
   ======================================== */

.form-control,
.form-select {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #0c63e4;
    box-shadow: 0 0 0 0.2rem rgba(12, 99, 228, 0.15);
}

.input-group-text {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.input-group .form-control {
    border: 1px solid #dee2e6;
}

.input-group .form-control:focus {
    border-color: #0c63e4;
    box-shadow: 0 0 0 0.2rem rgba(12, 99, 228, 0.15);
}

/* ========================================
   Consistent Badge Styles
   ======================================== */

.badge {
    font-weight: 500;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   Reusable Card and Component Styles
   ======================================== */

/* Hover Card - Used for job cards with hover effects */
.hover-card {
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.hover-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hover-card .text-truncate-3 {
    flex-grow: 1;
}

/* Transition Card - Generic card with subtle hover effects */
.transition-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.transition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Job Card - Specialized card for job listings */
.job-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.job-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
}

.job-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.job-meta {
    margin-top: 0.75rem;
}

.job-location {
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-description {
    color: #495057;
    line-height: 1.6;
    min-height: 60px;
}

/* Text truncation utility */
.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pay Badge - Highlighting pay information */
.pay-badge {
    background-color: #e7f3ff;
    border-left: 4px solid #0d6efd;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    color: #0d6efd;
}

/* Closing Soon Styling */
.closing-soon {
    background-color: #fff3cd !important;
    font-weight: 600;
    color: #856404;
}

.bg-warning-light {
    background-color: #fff3cd !important;
}

/* Metric Cards - Dashboard metrics styling */
.metric-card {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Benefits List - For displaying feature lists */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item h6 {
    color: #212529;
    font-weight: 600;
}

/* Table Row Interactions */
.table-row-clickable {
    transition: background-color 0.2s ease;
}

.table-row-clickable:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* ========================================
   Animations and Keyframes
   ======================================== */

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-card {
    position: relative;
    z-index: 1;
    border-radius: 1rem;
    animation: slideInRight 0.5s ease;
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.hero-decoration-1 {
    width: 400px;
    height: 400px;
    background: white;
    top: -50%;
    right: -10%;
}

.hero-decoration-2 {
    width: 300px;
    height: 300px;
    background: white;
    bottom: -20%;
    left: -5%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-actions .btn-group-header {
        width: 100%;
        flex-direction: column;
    }

    .header-actions .btn {
        width: 100%;
    }

    .table {
        font-size: 0.875rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.75rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .alert {
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .display-6 {
        font-size: 1.5rem;
    }

    .job-card-header {
        padding: 1rem;
    }

    .benefit-item {
        margin-bottom: 0.5rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.flex-wrap {
        flex-direction: column;
    }

    .hero-decoration-1,
    .hero-decoration-2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }

    .display-4 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }

    .job-title {
        font-size: 1rem;
    }
}

/* ========================================
   Skeleton Loaders
   ======================================== */

.skeleton-loader {
    background: #f6f7f8;
    border: 1px solid #e0e0e0;
}

.skeleton-heading {
    height: 1.5rem;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-line {
    height: 0.75rem;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-button {
    height: 2rem;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Success Icon in Alert */
.alert-icon-large {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Modal Backdrop */
.modal-backdrop-dark {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Icon Colors */
.icon-word {
    color: #2B579A;
}

.icon-docs {
    color: #4285F4;
}

/* Notification Styles */
.notifications-list {
    display: flex;
    flex-direction: column;
}

.notification-item {
    background-color: transparent;
    border: none;
    transition: all 0.2s ease;
}

.notification-item.unread {
    background-color: #f8f9fa;
}

.notification-item.unread:hover {
    background-color: #e9ecef;
}

.notification-item.read {
    opacity: 0.85;
}

.notification-item.read:hover {
    opacity: 1;
}

.notification-icon {
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

.notification-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.notification-card {
    border-left: 4px solid #dee2e6;
    transition: all 0.2s ease;
}

.notification-card.unread {
    background-color: #f8f9fa;
    border-left-color: #0d6efd;
}

.notification-card.unread:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notification-card.read {
    opacity: 0.8;
}