/* Vacation Popup Styles */
.vacation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vacation-popup-overlay.show {
    opacity: 1;
}

.vacation-popup {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    position: relative;
}

.vacation-popup-overlay.show .vacation-popup {
    transform: scale(1) translateY(0);
}

.vacation-popup-header {
    position: relative;
    background: linear-gradient(135deg, #01AFFE 0%, #0088d1 100%);
    color: white;
    padding: 30px 30px 20px;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.vacation-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: vacation-float 3s ease-in-out infinite;
}

.vacation-icon .material-icons {
    font-size: 40px;
    color: white;
}

@keyframes vacation-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.vacation-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.vacation-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.vacation-close-btn .material-icons {
    font-size: 24px;
}

.vacation-popup-content {
    padding: 30px;
    text-align: center;
}

.vacation-popup-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.vacation-dates {
    background: linear-gradient(135deg, #fef3c7, #fbbf24);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    display: inline-block;
}

.date-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #92400e;
}

.date-box .material-icons {
    font-size: 24px;
    color: #d97706;
}

.vacation-popup-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin: 20px 0 30px 0;
}

.vacation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.vacation-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.vacation-btn.primary {
    background: linear-gradient(135deg, #01AFFE 0%, #0088d1 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(1, 175, 254, 0.3);
}

.vacation-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 175, 254, 0.4);
}

.vacation-btn.secondary {
    background: #f3f4f6;
    color: #4b5563;
    border: 2px solid #e5e7eb;
}

.vacation-btn.secondary:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.vacation-btn .material-icons {
    font-size: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .vacation-popup {
        width: 95%;
        margin: 20px;
    }
    
    .vacation-popup-header {
        padding: 25px 20px 15px;
    }
    
    .vacation-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .vacation-icon .material-icons {
        font-size: 30px;
    }
    
    .vacation-popup-content {
        padding: 25px 20px;
    }
    
    .vacation-popup-content h2 {
        font-size: 24px;
    }
    
    .vacation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .vacation-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .date-box {
        font-size: 16px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .vacation-popup {
        background: #1f2937;
        color: #f9fafb;
    }
    
    .vacation-popup-content h2 {
        color: #f9fafb;
    }
    
    .vacation-popup-content p {
        color: #d1d5db;
    }
    
    .vacation-btn.secondary {
        background: #374151;
        color: #d1d5db;
        border-color: #4b5563;
    }
    
    .vacation-btn.secondary:hover {
        background: #4b5563;
    }
}

/* Accessibility improvements */
.vacation-popup:focus-within {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

.vacation-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Animation for popup entrance */
@keyframes popup-entrance {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.vacation-popup-overlay.show .vacation-popup {
    animation: popup-entrance 0.3s ease;
}
