/* Thuis in Tegels Vakantie Melding - Pop-up Modal */

/* Overlay backdrop */
.thuis-vacation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease-out;
}

.thuis-vacation-overlay.hidden {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Modal popup */
.thuis-vacation-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FF8C00;
    color: white;
    padding: 40px 30px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.thuis-vacation-notice.hidden {
    animation: popOut 0.3s ease-out forwards;
}

@keyframes popIn {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes popOut {
    from {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

.thuis-vacation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.thuis-vacation-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.thuis-vacation-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.thuis-vacation-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.thuis-vacation-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.thuis-vacation-close:active {
    transform: scale(0.95);
}

/* Responsief design */
@media (max-width: 768px) {
    .thuis-vacation-notice {
        padding: 30px 20px;
        width: 95%;
    }

    .thuis-vacation-text {
        font-size: 16px;
    }

    .thuis-vacation-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .thuis-vacation-notice {
        padding: 25px 15px;
        width: 95%;
        border-radius: 6px;
    }

    .thuis-vacation-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .thuis-vacation-icon {
        width: 45px;
        height: 45px;
    }

    .thuis-vacation-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

/* Print styles */
@media print {
    .thuis-vacation-notice,
    .thuis-vacation-overlay {
        display: none !important;
    }
}
