.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 1.1em;
    transition: color 0.3s;
}
/*
.input-wrapper input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1em;
    transition: all 0.3s;
    font-family: inherit;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-wrapper input:focus + i {
    color: #667eea;
}
*/
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    min-width: 320px;
    max-width: 400px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
    border-left: 4px solid;
}

.notification.success {
    border-left-color: #10b981;
}

.notification.error {
    border-left-color: #ef4444;
}

.notification.info {
    border-left-color: #3b82f6;
}

.notification.warning {
    border-left-color: #f59e0b;
}

.notification-icon {
    font-size: 1.5em;
}

.notification.success .notification-icon {
    color: #10b981;
}

.notification.error .notification-icon {
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
}

.notification-message {
    color: #6b7280;
    font-size: 0.9em;
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.2em;
    padding: 4px;
    transition: color 0.3s;
}

.notification-close:hover {
    color: #4b5563;
}

.notification.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Индикатор валидации */
.input-error {
    border-color: #ef4444 !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.85em;
    margin-top: 5px;
    margin-left: 10px;
}

/* Адаптивность */
@media (max-width: 600px) {
    .subscribe-card {
        padding: 30px 20px;
    }

    .notification {
        top: 20px;
        right: 20px;
        left: 20px;
        min-width: auto;
        max-width: none;
    }
}
