/* Стили для уведомлений формы */
.form-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    width: 90%;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.form-notification--show {
    opacity: 1;
    transform: translateX(0);
}

.form-notification__content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.form-notification--success .form-notification__content {
    border-left: 4px solid #10b981;
}

.form-notification--error .form-notification__content {
    border-left: 4px solid #ef4444;
}

.form-notification__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.form-notification--success .form-notification__icon {
    background: #d1fae5;
    color: #10b981;
}

.form-notification--error .form-notification__icon {
    background: #fee2e2;
    color: #ef4444;
}

.form-notification__message {
    flex: 1;
    color: #1f2937;
    font-size: 16px;
    line-height: 1.5;
}

.form-notification__close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.form-notification__close:hover {
    color: #4b5563;
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
    .form-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        width: auto;
    }
    
    .form-notification__content {
        padding: 15px;
    }
    
    .form-notification__icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .form-notification__message {
        font-size: 14px;
    }
}

