/* ============================================================================
   ADZUNA JOB LISTINGS MODAL STYLES
   Add these styles to your public/styles.css file
   ============================================================================ */

/* Job Listings Modal */
.job-listings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.job-listings-modal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.job-listings-modal .modal-container {
    background: var(--dark-bg);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-listings-modal .modal-header {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.job-listings-modal .modal-close-btn {
    font-size: 2rem;
    color: var(--mid-text);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.job-listings-modal .modal-close-btn:hover {
    color: var(--light-text);
}

.job-listings-modal .modal-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Adzuna Job Card Styles */
.adzuna-job-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adzuna-job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: rgba(30, 41, 59, 0.6);
    color: var(--mid-text);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

/* View Jobs Button */
.view-jobs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.view-jobs-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.view-jobs-btn:active {
    transform: translateY(0);
}

/* Location Input Styles */
.location-input-container {
    background: var(--medium-dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.location-input-container h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-input-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.location-input-field {
    flex: 1;
    min-width: 250px;
}

.location-input-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--mid-text);
    font-weight: 500;
}

.location-input-field input,
.location-input-field select {
    width: 100%;
    padding: 0.75rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 1rem;
}

.location-input-field input:focus,
.location-input-field select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.remote-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.remote-toggle input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.remote-toggle label {
    cursor: pointer;
    color: var(--mid-text);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-listings-modal .modal-container {
        max-height: 95vh;
        margin: 0.5rem;
    }

    .location-input-row {
        flex-direction: column;
    }

    .location-input-field {
        width: 100%;
    }
}
