﻿@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600&display=swap');

body {
    font-family: 'Heebo', sans-serif;
}

#contactPopupOverlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease forwards;
}

    #contactPopupOverlay.fadeOut {
        animation: fadeOut 0.3s ease forwards;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

#contactPopup {
    width: 90%;
    max-width: 500px;
    background: none;
    border-radius: 16px;
    box-shadow: none;
    overflow: visible;
    position: relative;
    animation: popupIn 0.3s ease;
}

@keyframes popupIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#contactPopup iframe {
    width: 100%;
    height: 580px;
    border: none;
    background: transparent;
}

#popup-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    direction: rtl;
}

    #popup-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.close-btn-iframe {
    color: white;
    position: absolute;
    top: -18px;
    right: 0;
    width: 42px;
    height: 42px;
    background: radial-gradient(circle at center, #dc2626, #b91c1c);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10001;
}

    .close-btn-iframe:hover {
        background: radial-gradient(circle at center, #f87171, #dc2626);
        transform: scale(1.08);
    }

    .close-btn-iframe svg {
        stroke: white;
        stroke-width: 2;
        width: 22px;
        height: 22px;
        pointer-events: none;
    }
