/* _public_html/css/apply-teacher.css */

.apply-hero {
    background-color: #ad5207;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

.apply-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.apply-hero p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Mobile responsive adjustments */
@media (min-width: 768px) {
    .apply-hero {
        padding: 3rem 1rem;
    }
    
    .apply-hero h1 {
        font-size: 2.5rem;
    }
    
    .apply-hero p {
        font-size: 1.125rem;
        margin: 0.5rem auto 0;
    }
}

.apply-content-section {
    padding: 2rem 1rem;
    background-color: #f9fafb;
}

@media (min-width: 768px) {
    .apply-content-section {
        padding: 3rem 1rem;
    }
}

.apply-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .apply-layout-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
}

.info-wrapper {
    background: #ad5207;
    color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
}

.info-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
}

@media (min-width: 768px) {
    .info-wrapper {
        padding: 2.5rem;
    }
    
    .info-wrapper h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .steps-list li {
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.step-icon {
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
    padding-top: 0.2rem;
}

@media (min-width: 768px) {
    .step-icon {
        font-size: 2rem;
        padding-top: 0.3rem;
    }
}

.step-text h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.step-text p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .step-text h3 {
        font-size: 1.75rem;
    }
    
    .step-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.form-wrapper {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .form-wrapper {
        padding: 2.5rem;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
    }
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Contact preference styling - responsive */
.form-group-compound.full-width {
    grid-column: 1 / -1;
}

.input-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .input-container {
        gap: 1rem;
    }
}

.input-container .form-group {
    flex: 1;
    margin-bottom: 0;
    min-width: 150px;
}

@media (min-width: 768px) {
    .input-container .form-group {
        min-width: 200px;
    }
}

.contact-preference-group {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
    flex-basis: auto;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .contact-preference-group {
        gap: 1rem;
    }
}

.contact-preference-group label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .contact-preference-group label {
        gap: 0.5rem;
        font-size: 1rem;
    }
}

.contact-preference-group input[type="radio"] {
    accent-color: #ad5207;
    width: 1em;
    height: 1em;
}

@media (min-width: 768px) {
    .contact-preference-group input[type="radio"] {
        width: 1.15em;
        height: 1.15em;
    }
}

.apply-layout-grid button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .apply-layout-grid button[type="submit"] {
        margin-top: 1.5rem;
        padding: 1rem;
        font-size: 1.125rem;
    }
}

/* File Upload Styles - Mobile Responsive */
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .file-upload-wrapper {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

.file-input {
    display: none;
}

.file-upload-label {
    background-color: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.file-upload-label:hover {
    background-color: #e5e7eb;
}

.file-name-display {
    color: #6b7280;
    font-style: italic;
    font-size: 0.8rem;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .file-name-display {
        font-size: 0.875rem;
        word-break: break-word;
        max-width: 300px;
    }
}

.form-input[multiple] {
    height: auto;
    padding: 0.5rem;
}

.form-input[multiple] {
    display: none; /* Hide original select since Choices.js replaces it */
}

/* Custom styles for Choices.js dropdown - Mobile Responsive */
.choices {
    margin-bottom: 0;
}

.choices__inner {
    background-color: #ffffff;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
    min-height: auto;
    color: #374151;
}

@media (min-width: 768px) {
    .choices__inner {
        padding: 0.35rem 0.75rem;
        font-size: 1rem;
        line-height: 1.5;
    }
}

.choices.is-focused .choices__inner {
    border-color: #ad5207;
    box-shadow: 0 0 0 2px rgba(173, 82, 7, 0.2);
}

/* Style for the selected items */
.choices__list--multiple .choices__item {
    background-color: #ad5207;
    border: 1px solid #9c4a06;
    color: white;
    border-radius: 0.375rem;
    font-size: 0.8rem;
    margin-bottom: 2px;
    padding: 0.25rem 0.5rem;
}

@media (min-width: 768px) {
    .choices__list--multiple .choices__item {
        font-size: 0.875rem;
    }
}

/* Style for the remove button on selected items */
.choices__item.is-highlighted .choices__button, .choices__item .choices__button:hover {
    background-color: #9c4a06;
}

.choices__button {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

/* Style for the dropdown list */
.choices__list--dropdown {
    border-radius: 0.5rem;
    border-color: #D1D5DB;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #fef3e7;
}

.choices__placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Initially hide the conditional upload section */
.conditional {
    display: none;
}

/* Radio button styling - Mobile Responsive */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .radio-group {
        gap: 1.5rem;
    }
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .radio-label {
        gap: 0.5rem;
        font-size: 1rem;
    }
}

input[type="radio"] {
    accent-color: #ad5207;
    width: 1em;
    height: 1em;
}

@media (min-width: 768px) {
    input[type="radio"] {
        width: 1.15em;
        height: 1.15em;
    }
}

/* Fieldset styling for radio groups */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

fieldset legend {
    padding: 0;
    margin-bottom: 0.5rem;
}

/* Form label responsive sizing */
.form-label {
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .form-label {
        font-size: 0.875rem;
    }
}

/* Form input responsive sizing */
.form-input {
    font-size: 0.875rem;
    padding: 0.625rem 0.75rem;
}

@media (min-width: 768px) {
    .form-input {
        font-size: 1rem;
        padding: 0.75rem;
    }
}