/**
 * International Visitor Popup Styles
 * Clean, Apple-like design
 */

/* Overlay */
.ivp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ivp-popup-overlay.show {
    opacity: 1;
}

/* Container */
.ivp-popup-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.ivp-popup-overlay.show .ivp-popup-container {
    transform: scale(1);
}

/* Content */
.ivp-popup-content {
    padding: 40px 32px;
}

.ivp-popup-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #1d1d1f;
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.ivp-popup-body {
    font-size: 16px;
    line-height: 1.5;
    color: #6e6e73;
    margin: 0 0 32px 0;
}

/* Buttons */
.ivp-popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ivp-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.ivp-button-primary {
    background-color: rgba(0, 173, 208, 1);
    color: #ffffff;
}

.ivp-button-primary:hover {
    background-color: #ff8003;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 128, 3, 0.3);
}

.ivp-button-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 128, 3, 0.2);
}

.ivp-button-secondary {
    background-color: #f5f5f7;
    color: #1d1d1f;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 8px;
}

.ivp-button-secondary:hover {
    background-color: #e8e8ed;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ivp-button-secondary:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 600px) {
    .ivp-popup-content {
        padding: 32px 24px;
    }

    .ivp-popup-title {
        font-size: 22px;
    }

    .ivp-popup-body {
        font-size: 15px;
    }

    .ivp-button,
    .ivp-button-primary,
    .ivp-button-secondary {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 8px;
    }
}

/* Prevent body scroll when popup is open */
body.ivp-popup-open {
    overflow: hidden;
}

