/* Popup стили для уведомлений об отправке формы */

/* Выравнивание контактной информации по центру */
.contact-information-cards {
    align-items: center !important;
    justify-content: center !important;
}

.contact-information-cards * {
    text-align: center !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.contact-information-cards .tag-text,
.contact-information-cards .heading-style-h5,
.contact-information-cards a,
.contact-information-cards .address,
.contact-information-cards .caps-off {
    text-align: center !important;
    width: 100% !important;
}

.form-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
}

.form-popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 24px;
    min-width: 320px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.form-popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: white;
}

.form-popup-success .form-popup-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.form-popup-error .form-popup-icon {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
}

.form-popup-message {
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.form-popup-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.form-popup-close:active {
    transform: translateY(0);
}

/* Анимация появления */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Анимация исчезновения */
.form-popup-fadeout {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .form-popup {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .form-popup-content {
        min-width: auto;
        width: 100%;
    }
}

