/* Careers Popup Styles */
.careers-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.careers-popup.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.careers-popup-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.careers-popup.show .careers-popup-content {
    transform: translateY(0) scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    border-radius: 50%;
}

.close-popup:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.1);
}

.popup-text h3 {
    color: #121313;
    margin-bottom: 15px;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.popup-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.popup-text p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #121313;
}

.popup-text a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.popup-text a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .careers-popup-content {
        padding: 30px 25px;
        border-radius: 12px;
        width: 95%;
        max-height: calc(100vh - 40px);
        margin: 20px;
    }
    
    .popup-text h3 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .popup-text p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .close-popup {
        top: 12px;
        right: 15px;
        font-size: 26px;
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .careers-popup-content {
        padding: 25px 20px;
        border-radius: 10px;
        width: calc(100% - 30px);
        margin: 15px;
    }
    
    .popup-text h3 {
        font-size: 22px;
    }
    
    .popup-text p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .close-popup {
        top: 10px;
        right: 12px;
        font-size: 24px;
        width: 30px;
        height: 30px;
    }
}

/* Dark theme support */
.v-dark .careers-popup-content {
    background-color: #1a1a1a;
    color: #fff;
}

.v-dark .popup-text h3 {
    color: #fff;
}

.v-dark .popup-text p {
    color: #ccc;
}

.v-dark .popup-text p:last-child {
    color: #fff;
}

.v-dark .close-popup {
    color: #ccc;
}

.v-dark .close-popup:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .careers-popup {
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    .popup-text p {
        color: #333;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .careers-popup,
    .careers-popup-content,
    .close-popup {
        transition: none;
    }
    
    .careers-popup-content {
        transform: none;
    }
    
    .careers-popup.show .careers-popup-content {
        transform: none;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .close-popup {
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
    }
}

/* Focus states for accessibility */
.close-popup:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .careers-popup {
        display: none !important;
    }
}