/**
 * Age Restriction Popup Styles
 */

/* Overlay */
.pretpot-age-restriction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pretpot-age-restriction-overlay.pretpot-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Content Box */
.pretpot-age-restriction-box {
    background: #ffffff;
    max-width: 500px;
    width: 90%;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* Logo */
.pretpot-age-logo {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
}

.pretpot-age-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Typography */
.pretpot-age-heading {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
    line-height: 1.2;
}

.pretpot-age-subheading {
    font-size: 16px;
    color: #666666;
    margin: 0 0 35px;
    line-height: 1.5;
}

/* Buttons Container */
.pretpot-age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Confirm Button */
.pretpot-age-btn-confirm {
    flex: 1;
    min-width: 140px;
    padding: 16px 30px;
    background: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pretpot-age-btn-confirm:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.3);
}

/* Decline Button */
.pretpot-age-btn-decline {
    flex: 1;
    min-width: 140px;
    padding: 16px 30px;
    background: transparent;
    color: #666666;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.pretpot-age-btn-decline:hover {
    background: #f5f5f5;
    border-color: #d4d4d4;
    color: #333333;
}

/* Rejection Screen */
.pretpot-age-rejection {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.pretpot-age-rejection.pretpot-active {
    display: flex;
}

.pretpot-age-rejection h2 {
    font-size: 2rem;
    margin: 0 0 15px;
    color: #ef4444;
}

.pretpot-age-rejection p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 400px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 480px) {
    .pretpot-age-restriction-box {
        padding: 40px 25px;
    }

    .pretpot-age-heading {
        font-size: 24px;
    }

    .pretpot-age-buttons {
        flex-direction: column;
    }

    .pretpot-age-btn-confirm,
    .pretpot-age-btn-decline {
        width: 100%;
    }
}

/* Container compatibility */
.elementor-element .pretpot-age-restriction-overlay {
    position: fixed;
}