/* Main Section Styling */
.job-application-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-family: var(--primary-body-font);
}

.centered-form-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.application-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: var(--primary-heading-font);
}

/* Form Styling */
.application-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-family: var(--primary-body-font);
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header {
    color: var(--primary-colour);
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 8px;
    border-left: 3px solid var(--primary-colour);
    text-align: left;
    font-family: var(--primary-heading-font);
}

/* Form Rows */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 calc(50% - 8px);
    min-width: 200px;
}

/* Floating Label Form Groups */
.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-control {
    height: 42px;
    padding: 12px 15px 0 40px;
    border: 1px solid var(--primary-colour);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    background-color: var(--secondary-colour);
    width: 100%;
    font-family: var(--primary-body-font);
}

.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background-color: white;
    outline: none;
}

textarea.form-control {
    height: auto;
    padding-top: 18px;
    min-height: 70px;
    resize: vertical;
}

/* Floating Labels */
.floating-label label {
    position: absolute;
    top: 12px;
    left: 40px;
    color: #95a5a6;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.2s;
    font-family: var(--primary-body-font);
}

.floating-label .input-icon {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #95a5a6;
    font-size: 14px;
    transition: all 0.2s;
}

.floating-label .textarea-icon {
    top: 15px;
}

.floating-label .form-control:focus ~ label,
.floating-label .form-control:not(:placeholder-shown) ~ label {
    top: 4px;
    left: 40px;
    font-size: 11px;
    color: #3498db;
}

.floating-label .form-control:focus ~ .input-icon,
.floating-label .form-control:not(:placeholder-shown) ~ .input-icon {
    color: #3498db;
}

/* Radio Button Styling */
.radio-group {
    margin-bottom: 10px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    font-family: var(--primary-heading-font);
}

.radio-options {
    display: flex;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    height: 16px;
    width: 16px;
    border: 2px solid #bdc3c7;
    border-radius: 50%;
    margin-right: 6px;
    transition: all 0.2s;
}

.radio-option:hover .radio-checkmark {
    border-color: #3498db;
}

.radio-option input:checked ~ .radio-checkmark {
    border-color: #3498db;
    background-color: #3498db;
    box-shadow: inset 0 0 0 3px white;
}

.radio-label {
    color: #2c3e50;
    font-size: 14px;
    font-family: var(--primary-body-font);
}

/* File Upload Styling */
.file-upload-wrapper {
    margin: 15px 0;
    text-align: left;
}

.file-upload-label {
    display: block;
    cursor: pointer;
}

.file-upload-label input[type="file"] {
    display: none;
}

.file-upload-design {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border: 2px dashed #bdc3c7;
    border-radius: 6px;
    background-color: #f8f9fa;
    transition: all 0.2s;
    text-align: left;
}

.file-upload-design i {
    font-size: 1.8rem;
    color: var(--primary-colour);
    margin-bottom: 8px;
}

.browse-text {
    color: var(--primary-colour);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    font-family: var(--primary-body-font);
}

.file-name {
    color: #7f8c8d;
    font-size: 12px;
    font-family: var(--primary-body-font);
}

.file-upload-label:hover .file-upload-design {
    border-color: var(--primary-colour);
    background-color: rgba(52, 152, 219, 0.05);
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 20px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    padding: 12px;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--primary-heading-font);
}

.submit-btn .btn-icon {
    margin-left: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .application-form {
        padding: 20px;
    }
    
    .application-title {
        font-size: 1.8rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row .form-group {
        flex: 1 1 100%;
    }
    
    .radio-options {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .job-application-section {
        padding: 40px 0;
    }
    
    .application-form {
        padding: 15px;
    }
    
    .application-title {
        font-size: 1.6rem;
    }
    
    .section-header {
        font-size: 1.1rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}