/* ===== CAREERS PAGES ===== */

/* ===== CAREERS INDEX ===== */
.careers-hero-section {
    background: linear-gradient(135deg, #050508 0%, #0e0e16 50%, #050508 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 160px 0 100px;
    position: relative;
    text-align: center;
}

.careers-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 60%,
        rgba(65, 105, 225, 0.12) 0%,
        transparent 60%
    );
    pointer-events: none;
}

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

.careers-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #5b7fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding: 6px 16px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.25);
    border-radius: 50px;
}

.careers-hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    line-height: 1.15;
}

.careers-hero-content p {
    font-size: 17px;
    color: var(--text);
    line-height: 1.8;
    margin: 0;
}

/* Success Alert */
.careers-success-section {
    background: var(--bg);
    padding: 40px 0 0;
}

.success-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    color: #4ade80;
    font-size: 15px;
    font-weight: 500;
}

.success-alert i {
    font-size: 24px;
    flex-shrink: 0;
}

/* Careers List */
.careers-list-section {
    background: var(--bg);
    padding: 80px 0 100px;
    position: relative;
}

.careers-list-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 30%,
        rgba(65, 105, 225, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.careers-list-section .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Career Card */
.career-card {
    background: linear-gradient(
        135deg,
        rgba(12, 12, 20, 0.95) 0%,
        rgba(16, 16, 28, 0.85) 100%
    );
    border: 1px solid rgba(91, 127, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: block;
}

.career-card:hover {
    border-color: rgba(91, 127, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(65, 105, 225, 0.2);
}

.career-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.career-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.career-card:hover h3 {
    color: #7b9fff;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.career-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(160, 176, 255, 0.7);
}

.career-meta-item i {
    font-size: 12px;
    color: #5b7fff;
}

.career-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(91, 127, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.career-card:hover .career-arrow {
    background: linear-gradient(135deg, #4169e1 0%, #5b7fff 100%);
    transform: translateX(5px);
}

.career-arrow i {
    font-size: 16px;
    color: #5b7fff;
    transition: color 0.3s ease;
}

.career-card:hover .career-arrow i {
    color: white;
}

.career-card-body p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 15px;
}

.career-card-footer {
    padding-top: 15px;
    border-top: 1px solid rgba(91, 127, 255, 0.1);
}

.career-closing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 200, 87, 0.9);
}

.career-closing i {
    font-size: 12px;
}

/* Empty State */
.careers-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text);
}

.careers-empty i {
    font-size: 48px;
    color: rgba(91, 127, 255, 0.3);
    margin-bottom: 16px;
    display: block;
}

.careers-empty p {
    font-size: 16px;
    margin: 0;
}

/* ===== CAREER DETAIL PAGE ===== */
.career-detail-hero {
    background: var(--bg);
    padding: 140px 0 60px;
    position: relative;
}

.career-detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(65, 105, 225, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.career-detail-header {
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #5b7fff;
    text-decoration: none;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #7b9fff;
    gap: 12px;
}

.career-detail-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.career-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(91, 127, 255, 0.1);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(160, 176, 255, 0.9);
}

.meta-badge i {
    font-size: 12px;
    color: #5b7fff;
}

/* Career Detail Section */
.career-detail-section {
    background: var(--bg);
    padding: 0 0 100px;
}

.career-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.career-detail-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-block h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.detail-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
}

.detail-text p {
    margin-bottom: 15px;
    color: var(--text);
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 12px;
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #5b7fff;
    border-radius: 50%;
}

/* Sidebar */
.career-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: linear-gradient(135deg, #1a2a6c 0%, #223d8d 50%, #1e3577 100%);
    border: 1px solid rgba(91, 127, 255, 0.4);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.sidebar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.sidebar-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.apply-btn {
    width: 100%;
    justify-content: center;
}

.sidebar-info {
    background: rgba(12, 12, 20, 0.5);
    border: 1px solid rgba(91, 127, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
}

.sidebar-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.sidebar-info p {
    font-size: 13px;
    color: var(--text);
    margin: 0;
}

.sidebar-info a {
    color: #5b7fff;
    text-decoration: none;
}

.sidebar-info a:hover {
    text-decoration: underline;
}

/* ===== CAREER APPLY PAGE ===== */
.career-apply-hero {
    background: var(--bg);
    padding: 140px 0 60px;
    position: relative;
}

.career-apply-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(65, 105, 225, 0.08) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.career-apply-header {
    position: relative;
    z-index: 1;
}

.career-apply-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
}

/* Apply Form */
.career-apply-section {
    background: var(--bg);
    padding: 0 0 100px;
}

.career-apply-form {
    background: linear-gradient(
        135deg,
        rgba(12, 12, 20, 0.95) 0%,
        rgba(16, 16, 28, 0.85) 100%
    );
    border: 1px solid rgba(91, 127, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(91, 127, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.form-section h3 span {
    color: #5b7fff;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.form-group label span {
    color: #5b7fff;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(91, 127, 255, 0.2);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    color: var(--white);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5b7fff;
    background: rgba(91, 127, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(91, 127, 255, 0.1);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
    border-color: #f87171;
}

.form-group textarea {
    resize: vertical;
}

.field-error {
    font-size: 12px;
    color: #f87171;
    margin-top: 5px;
}

/* File Upload */
input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(91, 127, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    background: rgba(91, 127, 255, 0.05);
    border-color: #5b7fff;
}

.file-upload-label i {
    font-size: 32px;
    color: #5b7fff;
    margin-bottom: 12px;
}

.file-upload-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--text);
}

.file-name {
    display: none;
    font-size: 13px;
    color: #5b7fff;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(91, 127, 255, 0.1);
    border-radius: 6px;
}

/* Form Actions */
.form-actions {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 30px !important;
    font-size: 15px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .careers-hero-content h1 {
        font-size: 44px;
    }

    .career-detail-grid {
        grid-template-columns: 1fr;
    }

    .career-detail-sidebar {
        order: -1;
    }

    .career-detail-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .careers-hero-section,
    .career-detail-hero,
    .career-apply-hero {
        padding: 130px 0 60px;
    }

    .careers-hero-content h1 {
        font-size: 36px;
    }

    .careers-list-section {
        padding: 60px 0 80px;
    }

    .career-card {
        padding: 25px 20px;
    }

    .career-card h3 {
        font-size: 20px;
    }

    .career-card-header {
        flex-direction: column;
    }

    .career-arrow {
        align-self: flex-start;
    }

    .career-detail-header h1 {
        font-size: 30px;
    }

    .career-detail-section {
        padding: 0 0 80px;
    }

    .career-apply-header h1 {
        font-size: 30px;
    }

    .career-apply-form {
        padding: 30px 20px;
    }

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