/* Popup in stile vetro satinato */
.popup-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 350px;
    max-width: calc(100vw - 2rem);
    z-index: 9999;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.popup-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.popup-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.dark-theme .popup-glass {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid rgba(80, 80, 80, 0.5);
}

.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-pink-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.popup-close:hover {
    opacity: 1;
}

.popup-header {
    margin-bottom: 1rem;
}

.popup-header h3 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.popup-header p {
    color: var(--color-text);
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.popup-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.popup-actions .btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.popup-actions .btn-call {
    background-color: var(--color-pink-dark);
    color: white;
}

.popup-actions .btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--color-pink-dark-rgb), 0.3);
}

.popup-actions .btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.popup-actions .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.popup-footer {
    margin-top: 1rem;
    text-align: center;
}

.popup-footer button {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 0.85rem;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.3s;
}

.popup-footer button:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.popup-trigger {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-pink-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(var(--color-pink-dark-rgb), 0.3);
    z-index: 9998;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.popup-trigger.show {
    opacity: 1;
    transform: scale(1);
}

.popup-trigger:hover {
    transform: scale(1.1);
}

@media (max-width: 576px) {
    .popup-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
    
    .popup-actions {
        gap: 0.5rem;
    }
    
    .popup-actions .btn {
        padding: 0.75rem;
    }
    
    .popup-header h3 {
        font-size: 1.1rem;
    }
    
    .popup-trigger {
        bottom: 1rem;
        right: 1rem;
    }
} 