/* --- POST JOB HERO --- */
.post-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: calc(var(--nav-height) + 40px) 20px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.post-hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.post-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    font-size: 0.813rem;
    color: var(--text-light);
}

.post-hero .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

.post-hero h1 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.2;
}

.post-hero .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-hero p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- POST SECTION --- */
.post-section {
    padding: 40px 20px 80px;
    background: var(--bg-light);
}

.post-container {
    max-width: 720px;
    margin: 0 auto;
}

/* --- FORM CARDS --- */
.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 24px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 8px;
}

.card-header h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.card-header h2 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.step-badge {
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* --- FORM ELEMENTS --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-size: 0.938rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 0.938rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.813rem;
    margin-top: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

/* --- PRIVACY NOTICE --- */
.privacy-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border: 1.5px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.privacy-notice svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.privacy-notice strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.938rem;
    margin-bottom: 4px;
}

.privacy-notice p {
    color: var(--text-muted);
    font-size: 0.813rem;
    line-height: 1.5;
    margin: 0;
}

/* --- SUBMIT BUTTON --- */
.btn-submit {
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.063rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    margin-bottom: 16px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.813rem;
    text-align: center;
    padding: 0 12px;
    line-height: 1.5;
}

.form-disclaimer svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
    flex-shrink: 0;
}

.form-disclaimer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* --- SUCCESS STATE --- */
.post-success {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, #34D399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.post-success h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.post-success > p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-details {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.success-detail:last-child {
    border-bottom: none;
}

.success-detail span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.success-detail strong {
    color: var(--text-dark);
    font-size: 0.938rem;
    font-family: monospace;
}

.status-active {
    color: var(--secondary) !important;
    font-family: var(--font-body) !important;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: var(--radius-full);
}

.success-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
    margin-bottom: 24px;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 0.938rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary svg,
.btn-secondary svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   TABLET STYLES (min-width: 640px)
   ============================================ */
@media (min-width: 640px) {
    .post-hero {
        padding: calc(var(--nav-height) + 60px) 24px 70px;
    }

    .post-hero h1 {
        font-size: 2.5rem;
    }

    .post-section {
        padding: 60px 24px 100px;
    }

    .form-card {
        padding: 32px;
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-actions {
        flex-direction: row;
        justify-content: center;
    }

    .post-success {
        padding: 48px 40px;
    }

    .post-success h2 {
        font-size: 2rem;
    }
}

/* ============================================
   DESKTOP STYLES (min-width: 1024px)
   ============================================ */
@media (min-width: 1024px) {
    .post-hero {
        padding: calc(var(--nav-height) + 80px) 32px 90px;
    }

    .post-hero h1 {
        font-size: 3rem;
    }

    .post-section {
        padding: 80px 32px 120px;
    }

    .form-card {
        padding: 40px;
    }

    .post-success {
        padding: 56px 48px;
    }

    .post-success h2 {
        font-size: 2.25rem;
    }
}