/*
 * Job Details Page — Premium Scoped Styles
 */

.jd-hero {
    position: relative; overflow: hidden;
    padding-top: 140px !important;
    padding-bottom: 70px !important;
    min-height: auto !important;
}
.jd-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,13,26,0.82) 0%, rgba(26,26,46,0.75) 50%, rgba(0,128,127,0.35) 100%);
    z-index: 2;
}

.jd-glow-separator {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,128,127,0.15) 15%, #11b7b7 50%, rgba(0,128,127,0.15) 85%, transparent 100%);
    box-shadow: 0 0 12px rgba(17,183,183,0.5), 0 0 30px rgba(17,183,183,0.2);
}

.jd-badge {
    background: rgba(17,183,183,0.2) !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
}

.jd-content-section { background: #f8f9fa; }

.jd-description-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.jd-desc-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #334155;
}
.jd-desc-content h1, .jd-desc-content h2, .jd-desc-content h3,
.jd-desc-content h4, .jd-desc-content h5 {
    font-weight: 700; color: #1a1a2e; margin-top: 1.5rem; margin-bottom: 0.75rem;
}
.jd-desc-content ul, .jd-desc-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.jd-desc-content li { margin-bottom: 0.5rem; font-size: 1.05rem; }
.jd-desc-content strong { color: #1a1a2e; }

/* Apply Button */
.jd-apply-btn {
    background: linear-gradient(135deg, #00807f, #11b7b7) !important;
    color: #fff !important; border: none;
    box-shadow: 0 4px 20px rgba(0,128,127,0.35);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.jd-apply-btn:hover {
    box-shadow: 0 6px 30px rgba(0,128,127,0.5);
    transform: translateY(-2px); color: #fff !important;
}

/* Form Card */
.jd-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    border: 1px solid rgba(0,128,127,0.15);
    box-shadow: 0 4px 24px rgba(0,128,127,0.08);
    overflow: hidden;
}
.jd-form-header {
    background: linear-gradient(135deg, rgba(0,128,127,0.05), rgba(17,183,183,0.05));
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0,128,127,0.1);
}
.jd-form-card form { padding: 24px 32px 32px; }

.jd-form-card .form-label { font-size: 0.95rem; color: #475569; }
.jd-form-card .form-control,
.jd-form-card .form-select {
    border-radius: 8px; border: 1px solid #e2e8f0; padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.jd-form-card .form-control:focus,
.jd-form-card .form-select:focus {
    border-color: #00807f; box-shadow: 0 0 0 3px rgba(0,128,127,0.12);
}

/* Submit Button */
.jd-submit-btn {
    background: linear-gradient(135deg, #00807f, #11b7b7) !important;
    color: #fff !important; border: none;
    box-shadow: 0 4px 15px rgba(0,128,127,0.35);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.jd-submit-btn:hover {
    box-shadow: 0 6px 25px rgba(0,128,127,0.5);
    transform: translateY(-2px); color: #fff !important;
}
.jd-submit-btn:disabled {
    opacity: 0.7; transform: none; cursor: not-allowed;
}

/* Success Card */
.jd-success-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 32px;
    border: 1px solid rgba(0,128,127,0.15);
    box-shadow: 0 4px 24px rgba(0,128,127,0.08);
}
.jd-success-icon {
    font-size: 4rem; color: #00807f;
    animation: jdPulse 1.5s ease-in-out infinite;
}
@keyframes jdPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 767.98px) {
    .jd-description-card { padding: 20px; }
    .jd-form-card form { padding: 16px 20px 24px; }
    .jd-form-header { padding: 16px 20px; }
}
