/* FuelGuard Career Detail Widget
   Prefix: fg-career-detail-
   ======================================== */

/* Page Container */
.fg-career-detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Back Button */
.fg-career-detail-back {
    margin-bottom: 30px;
}

.fg-career-detail-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fg-career-detail-back-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: translateX(-3px);
}

/* Header */
.fg-career-detail-header {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.fg-career-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.fg-career-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.fg-career-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #64748b;
    padding: 8px 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.fg-career-detail-meta-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Content */
.fg-career-detail-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Section */
.fg-career-detail-section {
    margin-bottom: 40px;
}

.fg-career-detail-section:last-child {
    margin-bottom: 0;
}

.fg-career-detail-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #667eea;
}

.fg-career-detail-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
}

.fg-career-detail-text p {
    margin-bottom: 15px;
}

.fg-career-detail-text p:last-child {
    margin-bottom: 0;
}

/* Lists */
.fg-career-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fg-career-detail-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.fg-career-detail-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 0.9rem;
    width: 24px;
    height: 24px;
    background: #f0f4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fg-career-detail-list-secondary li:before {
    content: '\f058';
    color: #10b981;
    background: #f0fdf4;
}

.fg-career-detail-list-benefits li:before {
    content: '\f0a4';
    color: #f59e0b;
    background: #fffbeb;
}

/* Apply Section */
.fg-career-detail-apply {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.3);
}

.fg-career-detail-apply-content {
    flex: 1;
}

.fg-career-detail-apply-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.fg-career-detail-apply-text {
    font-size: 1.05rem;
    opacity: 0.95;
    margin: 0;
}

.fg-career-detail-apply-btn {
    padding: 14px 32px;
    background: #ffffff;
    color: #667eea;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fg-career-detail-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .fg-career-detail-page {
        padding: 30px 15px;
    }

    .fg-career-detail-header {
        padding: 30px 25px;
    }

    .fg-career-detail-title {
        font-size: 2rem;
    }

    .fg-career-detail-meta {
        gap: 12px;
    }

    .fg-career-detail-meta-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .fg-career-detail-content {
        padding: 30px 25px;
    }

    .fg-career-detail-section-title {
        font-size: 1.3rem;
    }

    .fg-career-detail-apply {
        flex-direction: column;
        padding: 30px 25px;
        text-align: center;
    }

    .fg-career-detail-apply-title {
        font-size: 1.5rem;
    }

    .fg-career-detail-apply-text {
        font-size: 1rem;
    }

    .fg-career-detail-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .fg-career-detail-page {
        padding: 20px 12px;
    }

    .fg-career-detail-header {
        padding: 25px 20px;
    }

    .fg-career-detail-title {
        font-size: 1.75rem;
    }

    .fg-career-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .fg-career-detail-meta-item {
        width: 100%;
    }

    .fg-career-detail-content {
        padding: 25px 20px;
    }

    .fg-career-detail-section {
        margin-bottom: 30px;
    }

    .fg-career-detail-section-title {
        font-size: 1.2rem;
    }

    .fg-career-detail-list li {
        font-size: 0.95rem;
    }

    .fg-career-detail-apply {
        padding: 25px 20px;
    }

    .fg-career-detail-apply-title {
        font-size: 1.3rem;
    }
}

