body {
    visibility: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    font-size: 14px;
    /* Smaller base font size */
}

/* Main container with shadow */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Progress bar container */
.progress-bar-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 15px 0;
    padding: 0 10px;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
    right: 10px;
    height: 4px;
    background: #e0e0e0;
    z-index: 0;
    border-radius: 4px;
}

.progress-step {
    position: relative;
    z-index: 1;
    width: 18px;
    /* Slightly smaller */
    height: 18px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    /* Smaller font */
    color: #333;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-step.active {
    background: green;
    color: white;
    border-color: green;
    box-shadow: 0 0 6px rgba(0, 128, 0, 0.5);
}

.progress-step::after {
    content: attr(data-label);
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    /* Smaller font */
    color: #333;
    white-space: nowrap;
}

.progress-step.active::after {
    color: green;
    font-weight: 600;
}

.tabs {
    display: flex;
    gap: 12px;
    margin: 15px;
    justify-content: center;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #f5f5f5;
    border: none;
    border-radius: 18px;
    font-size: 0.9rem;
    /* Smaller font */
    color: #333;
    transition: background 0.3s ease, color 0.3s ease;
}

.tab.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.tab:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.job-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
}

.job-card {
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Added shadow */
}

.job-card a.job-card-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card a.job-card-link:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px var(--shadow-color);
}

.job-card a.job-card-link h3 {
    color: black;
    margin: 0 0 6px 0;
    font-size: 1.1rem;
    /* Smaller font */
    transition: color 0.3s ease;
}

.job-card a.job-card-link:hover h3 {
    color: white;
}

.job-card p {
    margin: 4px 0;
    font-size: 0.85rem;
    /* Smaller font */
}

.loading {
    font-style: italic;
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 0.9rem;
    /* Smaller font */
}

.error {
    color: red;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    /* Smaller font */
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.close-btn {
    display: none;
    position: absolute;
    top: 12px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.3rem;
    /* Smaller font */
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--bg-color);
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        position: relative;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 12px;
        background-color: var(--primary-color);
        padding: 8px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .navbar-links li {
        width: 100%;
    }

    .navbar-links a {
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
        /* Smaller font */
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .navbar-links a:hover {
        background-color: var(--bg-color);
        color: var(--primary-color);
    }

    .hamburger {
        display: flex;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-links.active+.close-btn {
        display: block;
    }
}