.airtable-wrapper { max-width: 900px; margin: 30px auto; }
.job { display: flex; gap: 15px; border-bottom: 1px solid #ddd; padding: 10px 0; }
.job img { width: 80px; height: 60px; object-fit: cover; }
.status { background: #222; color: #fff; padding: 2px 6px; font-size: 12px; }
.loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    z-index: 10;
}
.loader::after {
    content: "";
    width: 48px;
    height: 48px;
    border: 4px solid #ddd;
    border-top-color: #0073aa;
    border-radius: 50%;
    animation: airtable-spin 0.9s linear infinite;
}
.airtable-wrapper {
    display: flex;
    gap: 20px;
}

.airtable-sidebar {
    width: 220px;
    background: #f7f7f7;
    padding: 15px;
}

.airtable-content {
    position: relative;
    min-height: 200px;
}

.airtable-sidebar select,
.airtable-sidebar button {
    width: 100%;
    margin-bottom: 10px;
}

.apply-now-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 14px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.apply-now-btn:hover {
    background: #005f8d;
}
/* Jobs grid */
.airtable-content .jobs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Job card */
.job {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.job:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

/* Job image */
.job img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Content */
.job-content h4 {
    font-size: 18px;
    margin: 0 0 6px;
}

.status {
    display: inline-block;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.apply-now-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.apply-now-btn:hover {
    background: #005f8d;
    color: #fff;
}


/* Apply button *
.airtable-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
}

/* Mobile */
@media (max-width: 768px) {
    .airtable-wrapper {
        grid-template-columns: 1fr;
    }
}

@keyframes airtable-spin {
    to { transform: rotate(360deg); }
}
