/* Application Page Styles - Single Page Form */

.apply-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-active) 100%);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.apply-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.apply-hero-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
}

.trust-item svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.trust-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Single Page Application Section */
.application-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.application-container-single {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 3rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.125rem;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    margin-top: 0.375rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Checkbox Labels */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
    line-height: 1.6;
    color: var(--text-gray);
}

.checkbox-label a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--primary-blue-hover);
}

/* File Upload Section */
.upload-section {
    margin-top: 1.5rem;
}

.upload-area {
    border: 3px dashed var(--border-gray);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    background: var(--light-gray);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-blue);
    background: rgba(74, 144, 226, 0.05);
}

.upload-area.drag-over {
    border-color: var(--primary-blue);
    background: rgba(74, 144, 226, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    stroke: var(--primary-blue);
    opacity: 0.7;
}

.upload-area h3 {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-area p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.upload-area .btn {
    margin-top: 1rem;
}

/* File List */
.file-list {
    margin-top: 1.5rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: var(--medium-gray);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.85rem;
    color: #6c757d;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.file-remove:hover {
    color: #c82333;
    transform: scale(1.1);
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 2rem;
}

.submit-section .btn-large {
    min-width: 300px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.submit-note {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apply-hero {
        padding: 40px 0 30px;
    }

    .apply-hero-content h1 {
        font-size: 1.75rem;
    }

    .apply-hero-content p {
        font-size: 1rem;
    }

    .trust-indicators {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .trust-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .application-container-single {
        padding: 2rem 1.5rem;
        border-radius: 0;
    }

    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .form-section h2 {
        font-size: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .upload-area h3 {
        font-size: 1.125rem;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .file-info {
        width: 100%;
    }

    .submit-section .btn-large {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .apply-hero-content h1 {
        font-size: 1.5rem;
    }

    .application-container-single {
        padding: 1.5rem 1rem;
    }

    .form-section h2 {
        font-size: 1.25rem;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .upload-area h3 {
        font-size: 1rem;
    }

    .upload-area p {
        font-size: 0.85rem;
    }
}
/* Digital Signature Section */
.signature-section {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.signature-preview {
    margin-top: 2rem;
    background: white;
    border: 3px dashed var(--border-gray);
    border-radius: 12px;
    padding: 2rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.signature-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

.signature-display {
    font-family: "Brush Script MT", cursive, "Apple Chancery", "Comic Sans MS";
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 400;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    font-style: italic;
}

.signature-display:empty::before {
    content: "Sign above";
    color: #ccc;
    font-style: normal;
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
}

.signature-date {
    margin-top: 1rem;
    text-align: right;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
}

.signature-date span {
    color: var(--primary-blue);
}
