﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.row {
    align-items: baseline;
}

@font-face {
    font-family: 'Noto Emoji';
    src: url('/fonts/NotoColorEmoji.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'sans-serif';
    src: local('Noto Emoji');
    unicode-range: U+1F300-1F5FF, U+1F600-1F64F, U+1F680-1F6FF;
}

.logo {
    border-radius: 700px !important;
    border: 8px solid white !important;
    margin: 10px 0 10px 0 !important;
}

.result-input {
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
}

/* ✅ Бледно-зеленый - успешно сохранено */
.result-saved {
    background-color: #d4edda !important;
    border-color: #28a745 !important;
}

/* ✅ Очень бледно-зеленый - уже есть при загрузке */
.result-input.result-saved {
    background-color: #e8f5e8 !important;
}

/* ❌ Бледно-красный - ошибка */
.result-error {
    background-color: #f8d7da !important;
    border-color: #dc3545 !important;
    animation: shake 0.5s ease-in-out;
}

.notes-input {
    transition: all 0.3s ease;
    border: 2px solid #dee2e6;
    resize: vertical; /* можно растягивать по высоте */
}

.notes-saved {
    background-color: #d1ecf1 !important; /* бледно-голубой */
    border-color: #17a2b8 !important;
}

.notes-error {
    background-color: #f8d7da !important;
    border-color: #dc3545 !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@media (max-width: 768px) {
    .btn-toolbar-responsive .btn {
        font-size: 0.875rem !important; /* btn-sm размер */
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 0.5rem;
    }

    .btn-toolbar-responsive .btn-lg {
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .btn-toolbar-responsive {
        flex-direction: column !important;
        align-items: stretch !important;
    }

        .btn-toolbar-responsive .btn {
            flex: 1 1 100% !important;
            text-align: center;
        }
}