/* 
   Sanskar National School - Job Application Page Specific Styles
   Isolated from global main.css
*/

.apply-section {
    padding-bottom: 100px;
}

.apply-container {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.apply-header {
    text-align: center;
    margin-bottom: 40px;
}

.apply-header h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.apply-header p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Form Styling */
.apply-form-fun {
    display: grid;
    gap: 25px;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 1rem;
}

.apply-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.apply-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.apply-group label {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}

.apply-input {
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-soft);
    border: 2px solid transparent;
    border-radius: 15px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition-base);
    color: var(--text-main);
}

.apply-input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.apply-input.is-invalid {
    border-color: #ff7675;
    background: #fffafa;
}

.invalid-feedback-fun {
    color: #ff7675;
    font-size: 0.8rem;
    font-weight: 600;
    display: none;
}

.apply-textarea {
    resize: none;
}

/* Radio/Select Group */
.radio-options-fun {
    display: flex;
    gap: 30px;
    padding: 10px 0;
}

.radio-item-fun {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.radio-item-fun input {
    cursor: pointer;
}

.radio-item-fun span {
    font-weight: 500;
    color: var(--text-light);
}

/* Submit Section */
.apply-submit-container {
    margin-top: 20px;
    padding-top: 30px;
    border-top: 2px dashed var(--bg-soft);
}

/* Responsive */
@media (max-width: 768px) {
    .apply-container {
        padding: 30px 20px;
    }

    .apply-grid {
        grid-template-columns: 1fr;
    }

    .apply-header h2 {
        font-size: 1.8rem;
    }
}
