/**
 * =====================================================
 * BOOKIEZZ.COM - GEO-RESTRICTION TOAST STYLES
 * Beautiful, Non-Disruptive Notifications
 * =====================================================
 */

.geo-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 420px;
    max-width: calc(100vw - 48px);
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.95) 0%,
        rgba(220, 38, 38, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    z-index: 99999;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.geo-toast-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    position: relative;
}

.geo-toast-icon {
    flex-shrink: 0;
}

.flag-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.geo-toast-text {
    flex: 1;
    min-width: 0;
}

.geo-toast-title {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.geo-toast-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.geo-toast-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.geo-toast-close:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}

.geo-toast-action {
    padding: 0 20px 20px 20px;
}

.geo-toast-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #DC2626;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.geo-toast-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .geo-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        max-width: none;
    }
    
    .geo-toast-content {
        padding: 16px;
    }
    
    .flag-icon {
        width: 40px;
        height: 40px;
    }
    
    .geo-toast-title {
        font-size: 0.95rem;
    }
    
    .geo-toast-message {
        font-size: 0.85rem;
    }
}

/* Animation for stacking multiple toasts (if needed) */
.geo-toast:nth-child(2) {
    bottom: calc(24px + 160px);
}

.geo-toast:nth-child(3) {
    bottom: calc(24px + 320px);
}

/* Dark theme alternative (if site uses light theme) */
@media (prefers-color-scheme: light) {
    .geo-toast {
        background: linear-gradient(135deg, 
            rgba(239, 68, 68, 1) 0%,
            rgba(220, 38, 38, 1) 100%
        );
    }
}
