/* Onboarding Form Specific Styles */
.onboarding-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

/* Microsoft Authentication Styles */
.microsoft-login-container {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 2px dashed #dee2e6;
}

.microsoft-login-btn {
    display: inline-flex;
    align-items: center;
    background: #0078d4;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.microsoft-login-btn:hover {
    background: #106ebe;
    transform: translateY(-1px);
}

.microsoft-login-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.verified-icon {
    color: #28a745 !important;
    font-size: 12px !important;
    margin-left: 5px !important;
    font-weight: 600;
}

.prefilled {
    background-color: #e8f5e8 !important;
    border-color: #28a745 !important;
}

.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px;
    border-radius: 4px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: none; /* Hidden by default */
    border: 1px solid rgba(0, 87, 184, 0.08);
    position: relative;
    overflow: hidden;
}

.form-section.active {
    display: block;
    animation: fadeInSlide 0.4s ease-in-out;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28AAE1 0%, #0057B8 100%);
}

.form-section.active {
    display: block;
    animation: fadeInSlide 0.4s ease-in-out;
}

@keyframes fadeInSlide {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes fadeInSlideRight {
    from { 
        opacity: 0; 
        transform: translateX(-30px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes fadeInSlideLeft {
    from { 
        opacity: 0; 
        transform: translateX(30px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section h2 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.form-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    margin-right: 0.75rem;
    border-radius: 2px;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input, 
.form-select, 
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
}

.form-input:hover, 
.form-select:hover, 
.form-textarea:hover {
    border-color: #cbd5e1;
}

.input-hint {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.375rem;
    font-style: normal;
    line-height: 1.4;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40,170,225,0.15);
    background-color: white;
}

/* Add floating label effect */
.form-group {
    position: relative;
}

.form-label {
    transition: all 0.3s ease;
    font-weight: 600;
    color: #374151;
}

/* Success state for validated inputs */
.form-input.valid,
.form-select.valid {
    border-color: #10b981;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2310b981" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.required::after {
    content: '*';
    color: #e53935;
    margin-left: 4px;
}

.form-group-inline {
    display: flex;
    gap: 1rem;
}

.form-group-inline > div {
    flex: 1;
}

/* Toggle Switches */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background-color: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.toggle-container:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    visibility: hidden !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    accent-color: transparent !important;
    display: none !important;
}

.toggle-switch input[type="checkbox"]:focus {
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.toggle-switch input[type="checkbox"]:hover {
    transform: none !important;
    outline: none !important;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

input:checked + .toggle-slider {
    background-color: var(--primary-color);
    box-shadow: inset 0 2px 4px rgba(0,87,184,0.2);
}

input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

.toggle-label {
    font-weight: 500;
    color: #374151;
    flex: 1;
}

/* File Uploads */
.file-upload {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    background-color: rgba(255,255,255,0.5);
}

.file-upload-label:hover {
    border-color: var(--primary-color);
    background-color: rgba(40,170,225,0.05);
    transform: translateY(-2px);
}

.file-upload-label:focus-within {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(40,170,225,0.2);
}

.file-upload-label svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.file-upload input[type="file"] {
    display: none;
}

.file-preview {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(40,170,225,0.05);
    border-radius: var(--border-radius);
}

.file-preview.active {
    display: block;
}

.file-name {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.5rem;
    background-color: rgba(40,170,225,0.05);
    border-radius: var(--border-radius);
}

.file-name svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(to top, rgba(40,170,225,0.02), transparent);
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.form-navigation > div {
    display: flex;
    gap: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40,170,225,0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #28AAE1 0%, #0057B8 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(40,170,225,0.3);
}

.btn-secondary {
    background-color: #f8fafc;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0057B8 0%, #004a99 100%);
    box-shadow: 0 6px 20px rgba(40,170,225,0.4);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Progress Tracker */
.progress-container {
    margin-bottom: 3rem;
    background: linear-gradient(to right, rgba(40,170,225,0.03), rgba(0,87,184,0.03));
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2rem;
    margin-top: 2rem;
    padding: 0 15px;
    min-height: 36px; /* Ensure form step progress bar maintains proper height */
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 30px;
    right: 30px;
    height: 4px;
    background-color: #f0f0f0;
    z-index: 1;
}

.progress-bar-filled {
    position: absolute;
    top: 15px;
    left: 30px;
    height: 4px;
    background-color: var(--primary-color);
    z-index: 2;
    transition: width 0.5s ease;
}

.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #9ca3af;
    position: relative;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.progress-step:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.progress-step.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 4px rgba(40,170,225,0.2);
}

.progress-step.completed {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.progress-step.completed::after {
    content: '✓';
    position: absolute;
    font-size: 14px;
    color: white;
}

/* New tooltip-style approach for step labels */
.progress-step-label {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.progress-step-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

.progress-step:hover .progress-step-label,
.progress-step:focus .progress-step-label,
.progress-step.active .progress-step-label {
    opacity: 1;
    visibility: visible;
}

/* Screen reader only text for accessibility */
.progress-step .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Signature Pad */
.signature-container {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.signature-pad {
    width: 100%;
    height: 200px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 0.75rem;
    touch-action: none;
}

.signature-actions {
    display: flex;
    gap: 1rem;
}

/* Helper Classes */
.hidden {
    display: none !important;
}

/* Error Handling */
.error-message {
    color: #e53935;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

/* Special styling for expired document errors */
.error-message:contains("EXPIRED") {
    background-color: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    padding: 0.5rem;
    font-weight: 600;
    animation: shake 0.5s ease-in-out;
}

/* Enhanced error highlighting for expired documents */
.has-error input[type="date"] {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
    background-color: #fef2f2 !important;
}

.has-error .form-input,
.has-error .form-select,
.has-error .form-textarea {
    border-color: #e53935;
}

.has-error .error-message {
    display: block;
}

/* Checkbox & Radio Groups */
.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item label,
.radio-item label {
    cursor: pointer;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(76,175,80,0.3);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(76,175,80,0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(76,175,80,0.4);
    }
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Save Confirmation */
.save-confirmation {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Save & Continue Info Box */
.save-info {
    display: flex;
    align-items: center;
    background-color: rgba(40,170,225,0.08);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.save-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(40,170,225,0.15);
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.save-info-icon svg {
    color: var(--primary-color);
}

.save-info-content {
    flex: 1;
}

.save-info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.save-info-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Ensure proper focus outlines for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 4px;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Enhanced focus indicators */
.form-input:focus,
.form-select:focus,
.form-textarea:focus,
.btn:focus,
.progress-step:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(40, 170, 225, 0.2);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input,
    .form-select,
    .form-textarea {
        border-width: 2px;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .has-error .form-input,
    .has-error .form-select,
    .has-error .form-textarea {
        border-color: #ff0000;
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .progress-step {
        transition: none;
    }
    
    .form-section {
        animation: none;
    }
}

/* Focus trap for modals */
.modal.active {
    isolation: isolate;
}

.modal-content {
    position: relative;
}

/* Better error message styling for screen readers */
.error-message {
    font-weight: 600;
    margin-top: 0.25rem;
}

.error-message:before {
    content: 'Error: ';
    font-weight: 700;
}

/* Improved checkbox and radio styling for accessibility */
input[type="checkbox"],
input[type="radio"] {
    position: relative;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Better file upload accessibility */
.file-upload-label {
    position: relative;
    overflow: hidden;
}

.file-upload-label:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

input[type="file"]:focus {
    outline: none; /* Handled by parent */
}

/* Signature accessibility */
.signature-accessibility-hint {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-top: 0.5rem;
}

.signature-accessibility-hint a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Fix button icon alignment */
.btn svg {
    vertical-align: middle;
}

/* Validation notification for screen readers */
.validation-notification {
    position: absolute;
    top: -9999px;
}

/* File warning */
.file-warning {
    color: #e53935;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Error highlighting */
.has-error {
    border: 2px solid #dc2626 !important;
    background-color: #fef2f2 !important;
}

.has-error .form-label,
.has-error .file-upload-label {
    color: #dc2626 !important;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #dc2626 !important;
}

.file-upload-group.has-error {
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fef2f2;
}

.file-upload-row.has-error {
    background-color: #fef2f2;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #dc2626;
    margin-bottom: 0.5rem;
}

.file-upload-row.has-error input[type="file"] {
    border: 2px solid #dc2626 !important;
}

/* Fix link wrapping in file upload sections and guidance */
.file-upload-group a,
#ndisApplicationGuidance a,
.file-upload-label + div a {
    word-break: break-all;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
}

/* ID Points Upload Table Styles */
#idPointsUploadsTableContainer {
    margin-top: 1rem;
}

.uploads-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.uploads-table th,
.uploads-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.uploads-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.uploads-table select,
.uploads-table input[type="file"] {
    width: 100%;
    min-width: 120px;
    margin: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0.5rem;
    background: white;
}

.uploads-table input[type="file"] {
    font-size: 14px;
    cursor: pointer;
}

.remove-btn {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: #fecaca;
    color: #991b1b;
}

#addIdPointsRowBtn {
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
    margin-bottom: 1rem;
}

#addIdPointsRowBtn:hover {
    background: #2563eb;
}

#addIdPointsRowBtn svg {
    width: 16px;
    height: 16px;
}

.points-status {
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.points-status.incomplete {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.points-status.complete {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #34d399;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-group-inline {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .progress-step-label {
        display: none;
    }
    
    /* Show tooltip on active step only for mobile */
    .progress-step.active .progress-step-label {
        display: block;
        top: -40px;
    }
    
    .progress-bar {
        margin-bottom: 1.5rem;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .progress-bar::-webkit-scrollbar {
        height: 4px;
    }
    
    .progress-bar::-webkit-scrollbar-thumb {
        background-color: var(--border-color);
        border-radius: 4px;
    }
    
    .progress-step {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        flex-shrink: 0;
        margin: 0 2px;
        min-width: 28px;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Better touch targets */
        touch-action: manipulation; /* Prevent zoom on tap */
    }
    
    .form-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }

    .file-upload-label {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        min-height: 48px;
    }

    .file-upload-label svg {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .onboarding-container {
        padding: 0.5rem;
    }

    .save-info {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .save-info-icon {
        margin-right: 0;
        margin-bottom: 0.75rem;
    }
    
    .progress-container {
        margin-top: 1rem;
    }
    
    .form-navigation {
        justify-content: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    /* Enhanced form inputs for mobile */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 1rem;
        min-height: 48px;
    }
    
    /* Better spacing for radio and checkbox groups */
    .radio-group,
    .checkbox-group {
        gap: 1rem;
    }
    
    .radio-item,
    .checkbox-item {
        padding: 0.75rem;
        background: #f8fafc;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        min-height: 48px;
        align-items: center;
    }
    
    .radio-item:active,
    .checkbox-item:active {
        background: #e5e7eb;
    }
    
    /* Improved toggle switches for mobile */
    .toggle-container {
        padding: 1rem;
        min-height: 48px;
        align-items: center;
    }
    
    .toggle-switch {
        width: 60px;
        height: 32px;
    }
    
    .toggle-slider:before {
        height: 26px;
        width: 26px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(28px);
    }
}

/* Mobile-first improvements for very small screens */
@media (max-width: 480px) {
    .onboarding-hero {
        padding: 3rem 1rem;
    }
    
    .onboarding-hero h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .form-section {
        padding: 1rem 0.75rem;
        border-radius: 8px;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .form-navigation .btn {
        order: 1;
    }
    
    .form-navigation .btn:first-child {
        order: 2;
    }
    
    .checkbox-item,
    .radio-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .checkbox-item label,
    .radio-item label {
        line-height: 1.4;
        font-size: 1rem;
    }
    
    /* Better spacing for form groups */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Improved progress bar for small screens */
    .progress-container {
        padding: 1rem 0.5rem;
    }
    
    .progress-step {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Smooth transitions */
.btn, 
.progress-step, 
.file-upload-label,
.toggle-slider {
    transition: all 0.2s ease-in-out;
}

/* High contrast focus for accessibility */
@media (prefers-contrast: more) {
    :focus-visible {
        outline: 3px solid #000;
    }
    
    .btn-primary {
        background-color: #006699;
    }
    
    .progress-step.active, 
    .progress-step.completed {
        background-color: #006699;
        border-color: #006699;
    }
    
    .progress-bar-filled {
        background-color: #006699;
    }
}

/* Hero Section */
.onboarding-hero {
    background: linear-gradient(rgba(40, 170, 225, 0.1), rgba(40, 170, 225, 0.05));
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.onboarding-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../photos/pattern-dots.svg');
    background-size: 20px;
    opacity: 0.15;
    pointer-events: none;
}

.onboarding-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.onboarding-hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 2.8rem;
    line-height: 1.2;
}

.onboarding-hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.onboarding-hero .hero-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.onboarding-hero .hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.onboarding-hero .hero-badge:nth-child(1) {
    animation-delay: 0.2s;
}

.onboarding-hero .hero-badge:nth-child(2) {
    animation-delay: 0.4s;
}

.onboarding-hero .hero-badge:nth-child(3) {
    animation-delay: 0.6s;
}

.onboarding-hero .badge-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.onboarding-hero .badge-text {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries for responsive hero */
@media (max-width: 768px) {
    .onboarding-hero {
        padding: 4rem 1rem;
    }
    
    .onboarding-hero h1 {
        font-size: 2rem;
    }
    
    .onboarding-hero p {
        font-size: 1.1rem;
    }
    
    .onboarding-hero .hero-badges {
        gap: 1rem;
    }
    
    .onboarding-hero .hero-badge {
        padding: 0.4rem 0.8rem;
    }
}

/* Google Places Autocomplete Styling */
.pac-container {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
    z-index: 99999 !important; /* Ensure dropdown appears above other elements */
    position: absolute !important;
}

.pac-item {
    padding: 8px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-top: 1px solid var(--border-color);
}

.pac-item:hover {
    background-color: rgba(40,170,225,0.05);
}

.pac-item-selected,
.pac-item-selected:hover {
    background-color: rgba(40,170,225,0.1);
}

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.pac-matched {
    font-weight: 600;
    color: var(--primary-color);
}

.pac-placeholder {
    color: #999;
}

/* Highlight address fields with autocomplete */
.has-autocomplete {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2328AAE1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
}

/* Address autocomplete loading indicator */
.autocomplete-loading {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2328AAE1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="2" x2="12" y2="6"></line><line x1="12" y1="18" x2="12" y2="22"></line><line x1="4.93" y1="4.93" x2="7.76" y2="7.76"></line><line x1="16.24" y1="16.24" x2="19.07" y2="19.07"></line><line x1="2" y1="12" x2="6" y2="12"></line><line x1="18" y1="12" x2="22" y2="12"></line><line x1="4.93" y1="19.07" x2="7.76" y2="16.24"></line><line x1="16.24" y1="7.76" x2="19.07" y2="4.93"></line></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive tweaks for autocomplete */
@media (max-width: 480px) {
    .pac-container {
        width: 90% !important; /* Override Google's inline styles */
        left: 5% !important;
    }
}

/* Manual address entry button */
.address-autocomplete-notice {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: right;
}

.text-button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.text-button:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.text-button svg {
    flex-shrink: 0;
}

/* Address autocomplete error message */
.address-autocomplete-error {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e53935;
    font-size: 0.85rem;
    padding: 5px;
}

.address-autocomplete-error svg {
    flex-shrink: 0;
}

/* Google attribution */
.google-attribution {
    font-size: 0.7rem;
    color: var(--light-text);
    text-align: right;
    margin-top: 0.5rem;
}

.google-attribution a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form group positioning */
.form-group {
    position: relative;
}

/* Special handling for address autocomplete container */
.form-group:has(#streetAddressInput) {
    z-index: 10000;
    position: relative;
}

/* Alternative for browsers that don't support :has() */
#streetAddressInput {
    position: relative;
    z-index: 10000;
}

/* Ensure the address input container has proper stacking context */
.form-group:has(input[id="streetAddressInput"]) {
    isolation: isolate;
    z-index: 10000;
    position: relative;
}


/* Responsive styles for autocomplete dropdown */
@media (max-width: 480px) {
    .pac-container {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .pac-item {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

.file-upload-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.file-upload-group {
    background: #f8fafc;
    border: 1.5px solid #e0e7ef;
    border-radius: 10px;
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
    min-width: 320px;
    flex: 1 1 340px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    position: relative;
}

.file-upload-group .file-upload-label {
    font-weight: 600;
    color: #0057b8;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
}

.file-upload-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.file-upload-row input[type="file"] {
    flex: 1;
    min-width: 180px;
}

.remove-file-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    color: #b91c1c;
    border-radius: 5px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: flex-start;
    position: relative;
    z-index: 1;
}

.remove-file-btn:hover {
    background: #fee2e2;
    color: #7f1d1d;
}

.file-upload-group .file-preview {
    margin-bottom: 0.2rem;
    font-size: 0.97rem;
}

.file-preview.active {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 5px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.file-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0ea5e9;
    font-weight: 500;
}

.file-name svg {
    flex-shrink: 0;
}

.file-upload-group .error-message {
    color: #b91c1c;
    font-size: 0.93rem;
    margin-bottom: 0.2rem;
}

.highlight-group {
    border: 2px solid #0057b8;
    background: #eaf3fb;
}

.section-desc {
    font-size: 1.08rem;
    color: #333;
    margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
    .file-upload-grid {
        flex-direction: column;
        gap: 1.2rem 0;
    }
    .file-upload-group {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .file-upload-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        position: relative;
        width: 100%;
    }
    
    .file-upload-row input[type="file"] {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .remove-file-btn {
        align-self: flex-start;
        width: auto;
        margin-top: 0.5rem;
        max-width: 100%;
        position: static;
    }
    
    .file-upload-group {
        padding: 1rem;
        overflow: visible;
    }
    
    /* Enhanced link wrapping for mobile */
    .file-upload-group a,
    #ndisApplicationGuidance a,
    .file-upload-label + div a {
        word-break: break-word;
        hyphens: auto;
        font-size: 0.9rem;
    }
    
    /* Mobile-specific ID points table styling */
    .uploads-table {
        font-size: 0.875rem;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .uploads-table thead,
    .uploads-table tbody,
    .uploads-table tr {
        display: block;
    }
    
    .uploads-table th,
    .uploads-table td {
        display: inline-block;
        vertical-align: top;
        white-space: normal;
        width: auto;
        min-width: 100px;
        padding: 0.5rem;
    }
    
    .uploads-table input[type="file"] {
        display: block !important;
        width: 100% !important;
        min-width: 140px !important;
        font-size: 12px !important;
        padding: 0.3rem !important;
        border: 2px solid #3b82f6 !important;
        background: #eff6ff !important;
    }
    
    .uploads-table th:first-child,
    .uploads-table td:first-child {
        min-width: 140px; /* Document Type column */
    }
    
    #addIdPointsRowBtn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 1rem;
    }
    
    .points-status {
        text-align: center;
        font-size: 1rem;
    }
    
    .form-navigation {
        gap: 0.5rem;
    }
    
    .form-navigation button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Upload Progress Styles */
.upload-progress {
    margin-top: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.upload-progress.hidden {
    display: none;
}

.progress-text {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1rem;
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #10b981 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease-out;
}

.progress-details {
    font-size: 0.9rem;
    color: #6b7280;
    min-height: 1.2rem;
}

/* Submit button special state */
.btn-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16,185,129,0.4);
}

/* Form section entrance animations */
.form-section .form-group {
    transition: all 0.4s ease-out;
}

/* Add focus-within styles for better UX */
.form-group:focus-within {
    transform: translateY(-2px);
    transition: transform 0.2s ease-out;
}

.form-group:focus-within .form-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Improve checkbox and radio styling */
input[type="checkbox"],
input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
}

input[type="checkbox"]:hover,
input[type="radio"]:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-out;
}

/* Enhanced error states */
.has-error .form-input,
.has-error .form-select,
.has-error .form-textarea {
    animation: shake 0.5s ease-in-out;
    box-shadow: 0 0 0 3px rgba(229,57,53,0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Progress step number enhancement */
.progress-step span {
    font-weight: 700;
    line-height: 1;
}

/* Smooth hover effects for all interactive elements */
a, button, input, select, textarea, .toggle-switch {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease-out forwards;
}

@keyframes tooltipFadeIn {
    to {
        opacity: 1;
    }
}

/* Document Checklist Styles */
.document-checklist-section {
    background: #f8fafc;
    padding: 2rem 0;
}

.document-checklist {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
    display: block; /* Visible by default */
    border: 1px solid rgba(0, 87, 184, 0.08);
    position: relative;
    overflow: hidden;
}

.document-checklist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28AAE1 0%, #0057B8 100%);
}

.document-checklist.active {
    display: block;
    animation: fadeInSlide 0.4s ease-in-out;
}

.document-checklist h2 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.document-checklist h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--primary-color);
    margin-right: 0.75rem;
    border-radius: 2px;
}

.checklist-category {
    margin-bottom: 2rem;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.checklist-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid #0057B8;
    transition: all 0.3s ease;
}

.checklist-item.conditional {
    border-left-color: #28AAE1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.checklist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.checklist-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.checklist-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.checklist-content p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.checklist-tip {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.75rem;
    border-left: 3px solid #f59e0b;
}

.checklist-link {
    margin-top: 0.75rem;
    padding: 0.5rem 0.75rem;
    background: #f0f9ff;
    border-radius: 6px;
    border-left: 3px solid #0ea5e9;
}

.checklist-link a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.checklist-link a:hover {
    color: #0284c7;
    text-decoration: underline;
    transform: translateY(-1px);
}

.checklist-link a:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
    border-radius: 4px;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-box {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

.info-box.file-requirements {
    border-top: 3px solid #10b981;
}

.info-box.save-progress {
    border-top: 3px solid #3b82f6;
}

.info-box.time-estimate {
    border-top: 3px solid #f59e0b;
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-content h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.info-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.checklist-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

/* Responsive Design for Checklist */
@media (max-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checklist-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .checklist-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .checklist-item {
        padding: 1.25rem;
    }
    
    .info-box {
        padding: 1.25rem;
    }
} 