/* Дополнительные стили поверх Tailwind */
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Кастомная анимация для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    animation: slideInRight 0.3s ease-out;
}
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Стили для таблицы писем */
.email-row:hover {
    background-color: #f9fafb;
    transition: background-color 0.2s;
}

/* Кнопка удаления */
.delete-btn {
    transition: transform 0.2s;
}
.delete-btn:hover {
    transform: scale(1.1);
}

/* Стили для полей ввода */
input:focus, textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Базовые стили для HTML-писем */
.prose {
    font-family: inherit;
    line-height: 1.5;
}
.prose p {
    margin-bottom: 1em;
}
.prose a {
    color: #4f46e5;
    text-decoration: underline;
}
.prose img {
    max-width: 100%;
    height: auto;
}