/* ===== CAREER DETAILS PAGE ===== */

.wide-fisf-career-details-page {
    background: #f8fafc;
    min-height: 100vh;
}


/* Page container */

.wide-fisf-career-detail-page-content {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}


/* Header image */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-header {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-image {
    height: 280px;
    border-radius: 0;
}


/* 2-COLUMN LAYOUT */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px;
}


/* LEFT COLUMN - Job Details */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* Title in left column */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
    line-height: 1.2;
}


/* Requirements tags */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-req-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-req-tag {
    background-color: #35B63A;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    white-space: nowrap;
}


/* Section title */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #4f46e5;
}


/* Description */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-description {
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
    white-space: pre-line;
}


/* RIGHT COLUMN - Contact & Form */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* Contact and Meta info */

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-contact-info,
.wide-fisf-career-detail-page-content .wide-fisf-career-detail-meta-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-contact-item,
.wide-fisf-career-detail-page-content .wide-fisf-career-detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-contact-label,
.wide-fisf-career-detail-page-content .wide-fisf-career-detail-meta-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-detail-contact-value,
.wide-fisf-career-detail-page-content .wide-fisf-career-detail-meta-value {
    font-size: 16px;
    color: #111827;
    word-break: break-all;
}


/* Application form - Use existing popup styles */

.wide-fisf-career-detail-page-content .wide-fisf-career-application-card {
    background: white;
    border-color: #e0e7ff;
}


/* Form styles - Use existing popup styles */

.wide-fisf-career-detail-page-content .wide-fisf-career-application-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-form-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-form-input,
.wide-fisf-career-detail-page-content .wide-fisf-career-form-textarea,
.wide-fisf-career-detail-page-content .wide-fisf-career-form-file {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-form-input:focus,
.wide-fisf-career-detail-page-content .wide-fisf-career-form-textarea:focus,
.wide-fisf-career-detail-page-content .wide-fisf-career-form-file:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.wide-fisf-career-detail-page-content .wide-fisf-career-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-status {
    min-height: 24px;
    font-size: 14px;
    padding: 8px 0;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-status.success {
    color: #059669;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-status.error {
    color: #dc2626;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-submit {
    background: linear-gradient(135deg, #35B63A, #2a8d2f);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-submit:hover {
    background: linear-gradient(135deg, #2a8d2f, #1f6823);
    transform: translateY(-2px);
}

.wide-fisf-career-detail-page-content .wide-fisf-career-app-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}


/* Error message */

.wide-fisf-career-details-error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 600px;
}

.wide-fisf-career-details-error p {
    color: #6b7280;
    font-size: 16px;
}


/* RESPONSIVE */

@media (max-width: 1024px) {
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .wide-fisf-career-detail-page-content {
        margin: 20px;
        border-radius: 16px;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-body {
        padding: 25px;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-title {
        font-size: 1.75rem;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .wide-fisf-career-detail-page-content {
        margin: 10px;
        border-radius: 12px;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-body {
        padding: 20px;
        gap: 20px;
    }
    .wide-fisf-career-detail-page-content .wide-fisf-career-detail-title {
        font-size: 1.5rem;
    }
}