/* Modal Styles */
.job-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.job-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.job-modal {
    margin-top: 10vh;
    background-color: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.job-modal-overlay.active .job-modal {
    transform: translateY(0);
}

.job-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.job-modal-close:hover {
    color: #00a0fa;
}

.job-modal-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.job-modal-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.job-modal-meta {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.job-modal-meta span {
    display: flex;
    align-items: center;
}

.job-modal-meta svg {
    margin-right: 0.5rem;
}

.job-modal-content {
    margin-bottom: 2rem;
}

.job-modal-section {
    margin-bottom: 1.5rem;
}

.job-modal-section h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.job-modal-section ul {
    padding-left: 1.5rem;
}

.job-modal-section li {
    margin-bottom: 0.5rem;
}

.job-modal-footer {
    display: flex;
    justify-content: flex-end;
}

.apply-button {
    background-color: #00a0fa;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.apply-button:hover {
    background-color: #0084d1;
}

@media (max-width: 768px) {
    .job-modal {
        padding: 1.5rem;
        width: 95%;
    }

    .job-modal-title {
        font-size: 1.5rem;
    }
}