:root {
    --primary: #3498db;
    --secondary: #2ecc71;
    --light: #f8f9fa;
    --dark: #343a40;
    --accent: #e74c3c;
}

body {
    background-color: #f0f7ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem 0;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required::after {
    content: " *";
    color: var(--accent);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-control.is-invalid {
    border-color: var(--accent);
}

.form-control.is-invalid:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.form-select.is-invalid {
    border-color: var(--accent);
}

.form-select.is-invalid:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}



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

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
    z-index: 2;
    position: relative;
}

.step.active {
    background-color: var(--primary);
    color: white;
}

.step.completed {
    background-color: var(--secondary);
    color: white;
}

.step-label {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: #666;
}

.step.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.step-section {
    display: none;
}

.step-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-nav {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.success-message {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.file-upload-container {
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-container:hover {
    border-color: var(--primary);
    background-color: #e8f4fc;
}

.file-upload-container.dragover {
    border-color: var(--secondary);
    background-color: #e8f6ef;
}

.file-upload-container.is-invalid {
    border-color: var(--accent);
}

.file-upload-container.is-invalid:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

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

.file-upload-text {
    color: #495057;
    margin-bottom: 0.5rem;
}

.file-upload-hint {
    color: #6c757d;
    font-size: 0.875rem;
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview-img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.file-info {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #495057;
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.parent-info-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.parent-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.guardian-checkbox {
    margin-top: 1rem;
}

.guardian-section {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
}

.guardian-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #e67e22;
}

.supplementary-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e9ecef;
}

.multi-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.multi-file-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.multi-file-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-file-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(231, 76, 60, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .file-upload-container {
        padding: 1rem;
    }

    .multi-file-item {
        width: 100px;
        height: 100px;
    }
}

#return-application-no {
    color: red;
    font-weight: bold;
    font-size: 3em;
}
