/* ── CV upload zone ──────────────────────────────────────────────── */
.cv-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: center;
    background: #fafafa;
}

.cv-upload-zone:hover,
.cv-upload-zone.drag-over {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.cv-upload-zone.has-file {
    border-color: #7c3aed;
    border-style: solid;
    background: #f5f3ff;
}

.cv-upload-icon {
    font-size: 1.75rem;
    color: #8b5cf6;
    line-height: 1;
}

.cv-upload-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.cv-upload-hint {
    font-size: 0.76rem;
    color: #9ca3af;
}

/* ── Submit button ───────────────────────────────────────────────── */
.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    margin-top: 0.25rem;
    letter-spacing: 0.01em;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ── Footer ──────────────────────────────────────────────────────── */
.public-footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1.25rem 0;
    text-align: center;
    color: #9ca3af;
    font-size: 0.82rem;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .job-layout {
        grid-template-columns: 1fr;
    }

    .application-form-wrapper {
        position: static;
    }
}

@media (max-width: 768px) {
    .job-hero {
        padding: 2rem 0 2.5rem;
    }

    .job-hero-title {
        font-size: 1.65rem;
    }

    .job-hero-meta {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .public-main {
        padding: 1.25rem 0 2rem;
    }

    .job-content,
    .application-form-card {
        padding: 1.25rem;
        border-radius: 10px;
    }

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

/* Preview from the job form */
.preview-banner {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 8px 16px;
    background: #1d1333;
    color: #fff;
    font-size: 0.85rem;
    text-align: center;
}

.public-footer a {
    color: #6f42c1;
    text-decoration: none;
}

.public-footer a:hover {
    text-decoration: underline;
}
