/* Custom CSS for LIU Job Listings with Bootstrap 5 Integration */

/* Root Variables for Consistent Theming */
:root {
    --liu-primary: #1b6ec2;
    --liu-primary-dark: #1861ac;
    --liu-blue: #69B3E7;
    --liu-blue-dark: #5586b3;
    --liu-gold: #FFC72C;
    --liu-gold-dark: #e6b428;
    --liu-success: #28a745;
    --liu-warning: #ffc107;
    --liu-danger: #dc3545;
    --liu-info: #17a2b8;
    --liu-light: #f8f9fa;
    --liu-dark: #343a40;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --box-shadow-lg: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Lato', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
}

/* Enhanced Bootstrap Button Styles */
.btn-primary {
    background-color: var(--liu-primary);
    border-color: var(--liu-primary-dark);
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--liu-primary-dark);
    border-color: #155085;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(27, 110, 194, 0.3);
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: var(--box-shadow-lg);
}

.card-header {
    background-color: var(--liu-light);
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Navigation Enhancements */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 2px 2px rgba(27, 110, 194, 0.3);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease-in-out;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

.job-card {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    transition: box-shadow 0.2s ease-in-out;
}

.job-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b6ec2;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.job-description {
    color: #333;
    line-height: 1.5;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-published {
    background-color: #d4edda;
    color: #155724;
}

.status-draft {
    background-color: #f8d7da;
    color: #721c24;
}

.status-expired {
    background-color: #e2e3e5;
    color: #495057;
}

/* Additional Job Listings Styles */
.job-description-content {
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.job-description-content h1,
.job-description-content h2,
.job-description-content h3,
.job-description-content h4,
.job-description-content h5,
.job-description-content h6 {
    color: #1b6ec2;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-description-content ul,
.job-description-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.job-description-content p {
    margin-bottom: 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .rz-button {
        border-radius: 4px !important;
        margin-bottom: 0.25rem;
    }
    
    .d-flex.gap-2 {
        flex-direction: column;
        gap: 0.5rem !important;
    }
}

/* Modern Data Grid Styling */
.modern-grid {
    border-radius: 0 !important;
}

.modern-grid .rz-datatable-data td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.modern-grid .rz-datatable-data tr:hover {
    background-color: #f8f9fa;
}

.modern-grid .rz-datatable-header th {
    background-color: var(--liu-light);
    color: var(--liu-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
}

/* Badge Improvements */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.25rem;
}

.badge i {
    font-size: 0.7rem;
}

/* Button Group Enhancements */
.btn-group .btn {
    transition: all 0.2s ease-in-out;
}

.btn-group .btn:hover {
    transform: translateY(-1px);
    z-index: 2;
}

/* Status Indicators */
.text-expired {
    color: var(--liu-danger) !important;
    font-weight: 600;
}

.text-expiring {
    color: var(--liu-warning) !important;
    font-weight: 600;
}

.text-active {
    color: var(--liu-success) !important;
    font-weight: 600;
}

/* Loading States */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Job Description Content Styling */
.job-description-content {
    line-height: 1.7;
    color: #495057;
}

.job-description-content h1,
.job-description-content h2,
.job-description-content h3,
.job-description-content h4,
.job-description-content h5,
.job-description-content h6 {
    color: var(--liu-primary);
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.job-description-content p {
    margin-bottom: 1rem;
}

.job-description-content ul,
.job-description-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.job-description-content li {
    margin-bottom: 0.5rem;
}

/* Breadcrumb Styling */
.breadcrumb {
    --bs-breadcrumb-divider: "/";
    background: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

/* Job position cards */
.job-position-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Status indicators */
.text-expired {
    color: #dc3545 !important;
}

.text-expiring {
    color: #ffc107 !important;
}

.text-active {
    color: #28a745 !important;
}

/* Loading states */
.loading-overlay {
    position: relative;
}

.loading-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

/* Footer Styling */
footer {
    background-color: #f8f9fa !important;
    border-top: 1px solid #dee2e6;
    margin-top: auto;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: var(--border-radius) !important;
        margin-bottom: 0.25rem;
    }
    
    .modern-grid .rz-datatable-data td,
    .modern-grid .rz-datatable-header th {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-sm {
        font-size: 0.8rem;
        padding: 0.375rem 0.5rem;
    }
}

/* Print Styles */
@media print {
    .hidden-print,
    .navbar,
    footer,
    .btn,
    .dropdown {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
    }
    
    .job-description-content {
        color: #000;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    body {
        font-size: 11pt;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #000;
        page-break-after: avoid;
    }
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(27, 110, 194, 0.25);
    outline: none;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype'); 
}

.lato {
    font-family: 'Lato', sans-serif !important;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px) scaleY(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .job-card {
        border: 2px solid #000;
    }

    .search-input {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .job-card,
    .search-btn,
    .apply-btn,
    .recent-search-item,
    .suggestion-item {
        transition: none;
    }
}

/* Application Form Enhancements */
.application-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    background: #ffffff;
    margin-bottom: 1.5rem;
}

.application-card-header {
    background: linear-gradient(135deg, var(--liu-primary) 0%, var(--liu-primary-dark) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 3px solid var(--liu-primary-dark);
    font-weight: 600;
    font-size: 1.25rem;
}

.application-card-body {
    padding: 2rem;
    background: #ffffff;
}

/* Form Section Headers */
.form-section-header {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--liu-primary);
    margin: 1.5rem -2rem 1.5rem -2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--liu-dark);
}

/* Fieldset Styling - Removed, using entry-card instead */
/*
fieldset {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fafbfc;
}

fieldset legend {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--liu-primary);
    width: auto;
    margin-bottom: 0;
    font-size: 1rem;
}
*/

/* Education/Employment Entry Cards */
.entry-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.entry-card:hover {
    border-color: var(--liu-primary);
    box-shadow: 0 0.25rem 0.5rem rgba(27, 110, 194, 0.1);
}

.entry-card-header {
    background: linear-gradient(90deg, var(--liu-light) 0%, #ffffff 100%);
    padding: 0.75rem 1rem;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
    border-bottom: 2px solid #e9ecef;
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry-card-title {
    font-weight: 600;
    color: var(--liu-primary);
    margin: 0;
    font-size: 1rem;
}

/* Job Header Card Enhancement */
.job-header-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
}

.job-header-card .card-body {
    padding: 1.5rem 2rem;
}

.job-header-card h3 {
    color: var(--liu-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Progress Indicator Enhancements */
.progress-section {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: var(--liu-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label .text-danger {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Required Field Indicator */
.required-indicator {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-indicator i {
    color: #dc3545;
    font-size: 0.875rem;
}

/* Welcome Content Styling */
.welcome-content {
    line-height: 1.7;
}

.welcome-content .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--liu-primary);
    background: #f0f7ff;
    padding: 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid var(--liu-primary);
}

.welcome-content ol {
    padding-left: 1.5rem;
    line-height: 2;
}

.welcome-content ol li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.welcome-content ol li strong {
    color: var(--liu-primary);
    font-weight: 600;
}

/* Info Box Styling */
.info-box {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-left: 4px solid var(--liu-info);
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
}

.info-box i {
    color: var(--liu-info);
}

/* Button Enhancements for Application */
.btn-application-nav {
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.btn-application-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Section Dividers */
.section-divider {
    border: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #dee2e6 20%, #dee2e6 80%, transparent 100%);
    margin: 2rem 0;
}

/* Radio/Checkbox Groups */
.radio-group-container,
.checkbox-group-container {
    background: #fafbfc;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
}

/* Text Area Styling */
textarea.form-control,
.rz-textarea {
    background: #fafbfc;
    border: 2px solid #dee2e6;
    transition: all 0.2s ease;
}

textarea.form-control:focus,
.rz-textarea:focus {
    background: #ffffff;
    border-color: var(--liu-primary);
    box-shadow: 0 0 0 0.2rem rgba(27, 110, 194, 0.15);
}

/* Improved Input Contrast */
.rz-textbox,
.rz-dropdown,
.rz-datepicker {
    border: 2px solid #dee2e6 !important;
    transition: all 0.2s ease;
}

.rz-textbox:focus,
.rz-dropdown:focus,
.rz-datepicker:focus {
    border-color: var(--liu-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(27, 110, 194, 0.15) !important;
}

/* Alert Styling for Errors */
.alert-validation {
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-left: 4px solid #dc3545;
    border-radius: 0.375rem;
    color: #742a2a;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-validation i {
    color: #dc3545;
    margin-right: 0.5rem;
}

/* Step Button Hover States */
.step-button {
    position: relative;
}

.step-button::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--liu-primary);
    transition: width 0.3s ease;
}

.step-button:hover::after {
    width: 80%;
}

/* Navigation Buttons Section */
.application-nav-buttons {
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
    padding: 1.5rem 2rem;
    margin: 2rem -2rem -2rem -2rem;
    border-radius: 0 0 0.5rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-footer.application-nav-buttons {
    margin: 2rem 0 0 0;
    border-radius: 0.5rem;
}

/* Navigation Button Styling */
.nav-btn-prev,
.nav-btn-next {
    min-width: 120px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.nav-btn-prev:hover,
.nav-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments for Application Forms */
@media (max-width: 768px) {
    .application-card-body {
        padding: 1.5rem;
    }

    .form-section-header {
        margin: 1rem -1.5rem;
        font-size: 1rem;
    }

    /* Removed - using RadzenFieldset entry-card instead */
    /*
    fieldset {
        padding: 1rem;
    }
    */

    .entry-card {
        padding: 1rem;
    }

    .entry-card-header {
        margin: -1rem -1rem 1rem -1rem;
        padding: 0.5rem 1rem;
    }

    .job-header-card .card-body {
        padding: 1rem;
    }

    .application-nav-buttons {
        padding: 1rem 1.5rem;
        margin: 1.5rem -1.5rem -1.5rem -1.5rem;
        flex-direction: column;
    }

    .nav-btn-prev,
    .nav-btn-next {
        width: 100%;
    }
}