:root {
    --primary: #0A1F44;
    --secondary: #1A2E60;
    --accent: #5FA8D3;
    --light: #AFCBFF;
    --dark: #06152F;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f7fa;
    color: var(--primary);
    line-height: 1.6;
}

.application-container {
    max-width: 1000px;
    margin: 2rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.progress-bar {
    display: flex;
    background-color: var(--light);
    height: 8px;
}

.progress-step {
    height: 100%;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.form-header {
    padding: 2rem;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--light);
}

.form-steps {
    padding: 2rem;
}

.step {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.step-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-col {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(95, 168, 211, 0.2);
}

.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
}

.radio-option input, .checkbox-option input {
    width: auto;
    margin-right: 0.75rem;
}

.file-upload {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    border-color: var(--accent);
    background-color: rgba(95, 168, 211, 0.05);
}

.file-upload input {
    display: none;
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.uploaded-files {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.file-item-icon {
    margin-right: 0.75rem;
    color: var(--accent);
}

.file-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-item-remove {
    color: var(--error);
    cursor: pointer;
    margin-left: 0.75rem;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: #4a96c4;
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
}

.btn-disabled {
    background-color: #ddd;
    color: #777;
    cursor: not-allowed;
}

.confirmation-section {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.confirmation-item {
    margin-bottom: 1rem;
}

.confirmation-label {
    font-weight: 600;
    color: var(--secondary);
}

.document-preview {
    max-width: 100%;
    max-height: 200px;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s;
}

.step-dot.active {
    background-color: var(--accent);
    transform: scale(1.2);
}

.error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.invalid {
    border-color: var(--error) !important;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .application-container {
        margin: 0;
        border-radius: 0;
    }
}