/* Обнуление базовых отступов и современный системный шрифт */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Главный контейнер приложения */
.app-container {
    width: 100%;
    max-width: 480px; /* Идеально для мобильных интерфейсов */
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Логотип */
.logo-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

#img {
    height: 70px;
    object-fit: contain;
}

/* Современная бегущая строка на чистом CSS */
.ticker-wrapper {
    overflow: hidden;
    background: #eef2f7;
    padding: 10px 0;
    border-radius: 10px;
    margin-bottom: 30px;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 700;
    color: #4a5568;
    letter-spacing: 1px;
    animation: ticker 12s linear infinite;
}

@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Сетка для элементов управления */
.buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-link {
    text-decoration: none;
    width: 100%;
}

/* Современный стиль кнопок */
.btn-modern {
    width: 100%;
    height: 60px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 170, 225, 0.2);
}

.btn-blue {
    background: linear-gradient(135deg, #25aae1, #4481eb);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 129, 235, 0.35);
}

.btn-modern:active {
    transform: translateY(0);
}

/* Секция авторизации (инпут + кнопка в один ряд через Flexbox) */
.auth-section {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

#pass {
    flex: 1; /* Инпут забирает все доступное пространство */
    height: 60px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 15px;
    font-size: 18px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8fafc;
}

#pass:focus {
    border-color: #4481eb;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(68, 129, 235, 0.15);
}

.btn-auth {
    width: 140px; /* Фиксированная ширина для кнопки "Заказ" в ряду */
    margin: 0;
}

/* Кнопка "ՀԱՇՎԱՐԿԵԼ" (Калькулятор) */
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-calc {
    background: linear-gradient(135deg, #ff9a3c, #ff6a00);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.25);
}

.btn-calc:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.btn-calc:active {
    transform: translateY(0);
}

/* Дополнительный класс, если понадобится красная кнопка */
.btn-red {
    background: linear-gradient(135deg, #fe0419, #cf0a4c);
    box-shadow: 0 4px 12px rgba(254, 4, 25, 0.2);
}
.btn-red:hover {
    box-shadow: 0 6px 20px rgba(207, 10, 76, 0.35);
}