@font-face {
    font-family: "Archivo Black";
    src: url("/static/fonts/archivoblack/ArchivoBlack-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: "Archivo Black", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    background: white;
    color: #1f2937;
}

h1 {
    margin-top: 0;
    margin-bottom: 48px;
    font-size: 32px;
}

.job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.job-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.08);

    border-color: #d1d5db;
}

.job-card:focus-within {
    outline: 3px solid #ffbb00;
    outline-offset: 2px;
}

.job-title {
    font-family: "Archivo Black", sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.job-title a {
    color: inherit;
    text-decoration: none;
    transition: color .15s ease;
}

.job-title a:hover {
    color: #ffbb00;
}

.job-location {
    color: #6b7280;
    margin-bottom: 20px;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    align-items: center;
}

.filters input,
.filters select {
    height: 48px;
    padding: 0 16px;

    border: 1px solid #d1d5db;
    border-radius: 12px;

    background: #ffffff;
    color: #1f2937;

    font-size: 14px;
    font-family: inherit;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.filters input {
    flex: 1;
    min-width: 280px;
}

.filters select {
    min-width: 220px;
    cursor: pointer;
}

.filters input:focus,
.filters select:focus {
    outline: none;
    border-color: #ffbb00;
    box-shadow: 0 0 0 3px rgba(255, 187, 0, 0.25);
}

.filters input::placeholder {
    color: #9ca3af;
}

/* Mobile Optimizations */

@media (max-width: 768px) {

    body {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        position: sticky;
        top: 0;
        background: white;
        padding-bottom: 12px;
        z-index: 100;
    }

    .filters input {
        flex: none;
    }

    .filters select {
        width: 100%;
        min-width: 0;
        height: 48px;
        font-size: 16px;
    }

    .job-card {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .job-title {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 8px;
        word-break: break-word;
    }

    .job-location {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .job-title a {
        display: block;
        padding: 4px 0;
    }
}

@media (max-width: 480px) {

    body {
        padding: 8px;
    }

    h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .job-card {
        padding: 14px;
        border-radius: 12px;
    }

    .job-title {
        font-size: 16px;
    }

    .job-location {
        font-size: 13px;
    }
}
