/* JOB PAGE CSS (Premium Redesign) */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #7c3aed;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);

    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);

    --text-main: #0f172a;
    --text-muted: #64748b;

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER */
header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.logo {
    height: 40px;
}

/* CONTAINER */
.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

/* CARD */
.job-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* HEADER SECTION */
.job-header {
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, #f8fafc, #fff);
    border-bottom: 1px dashed #e2e8f0;
}

.job-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.job-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
}

/* IMAGE */
.job-image {
    width: 100%;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* CONTENT */
.content {
    padding: 3rem 2rem;
}

/* HIGHLIGHT BOX */
.highlight {
    background: #eff6ff;
    border-left: 5px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

th,
td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1rem;
}

th {
    background: #f8fafc;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    width: 35%;
}

td {
    color: var(--text-main);
    font-weight: 500;
}

tr:last-child th,
tr:last-child td {
    border-bottom: none;
}

/* BUTTONS */
.buttons {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.95;
}

.btn-success {
    background: #16a34a;
}

.btn-danger {
    background: #dc2626;
}

.btn-primary {
    background: var(--primary);
}

.btn-apply {
    background: #f97316;
}

/* SHARE */
.share-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.share-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.share-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin: 5px;
    background: var(--text-main);
    color: #fff;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
    background: var(--primary);
}

/* MOBILE */
@media(max-width:768px) {
    .container {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .job-header,
    .content {
        padding: 2rem 1.5rem;
    }

    .job-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        margin: 5px 0;
    }

    th,
    td {
        display: block;
        width: 100%;
    }

    th {
        background: transparent;
        padding-bottom: 0.2rem;
        color: var(--text-muted);
        font-size: 0.85rem;
    }

    td {
        padding-top: 0;
        padding-bottom: 1.5rem;
        font-size: 1.1rem;
    }
}