﻿        /* Добавляем стили для стрелки */
        .back-arrow {
            cursor: pointer;
            font-size: 0.85em;
            color: var(--text);
            margin-left: 10px;
        }
        .back-arrow:hover {
            color: var(--accent-info);
        }

        /* Поле + кнопка-стрелка на странице "Подтверждение лицевого счёта" */
        .payment-container {
            display: flex;
            align-items: stretch;
            gap: 10px;
        }
        .payment-container .form-control {
            flex: 1;
            min-width: 0;
            height: 48px;
            border-radius: 12px;
            padding: 0 14px;
            font-size: 1rem;
        }
        .payment-container button {
            flex-shrink: 0;
            min-width: 56px;
            height: 48px;
            padding: 0 18px;
            font-size: 1.2rem;
            line-height: 1;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        /* Поле + кнопка "Продолжить" на странице "Привязка лицевого счёта".
           Bootstrap input-group по умолчанию убирает скругление справа у инпута и
           слева у кнопки — выравниваем высоту, скругляем углы, добавляем небольшой
           зазор. */
        #privazka-page .input-group {
            gap: 8px;
            align-items: stretch;
        }
        #privazka-page .input-group .form-control {
            height: 48px;
            border-radius: 12px !important;
            padding: 0 14px;
            font-size: 1rem;
        }
        #privazka-page .input-group .btn {
            height: 48px;
            padding: 0 18px;
            border-radius: 12px !important;
            font-size: 1rem;
            font-weight: 600;
        }

        @media (max-width: 600px) {
            .payment-container .form-control,
            .payment-container button,
            #privazka-page .input-group .form-control,
            #privazka-page .input-group .btn {
                height: 46px;
            }
            .payment-container button { min-width: 52px; }
        }

        /* Основная кнопка — бренд-градиент. Класс .blue-text-button оставлен
           по историческим причинам (так его зовут много мест в HTML). */
        .blue-text-button {
            background: var(--brand-grad);
            color: #fff;
            border: none;
            box-shadow: 0 2px 6px rgba(44, 182, 125, 0.28);
            transition: filter 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
        }

        .blue-text-button:hover {
            background: var(--brand-grad-hover);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(44, 182, 125, 0.32);
        }
        .blue-text-button:active,
        .blue-text-button:focus,
        .btn-primary.blue-text-button:active,
        .btn-primary.blue-text-button:focus,
        .btn-primary.blue-text-button.active,
        .btn-primary.blue-text-button:not(:disabled):not(.disabled):active,
        .btn-primary.blue-text-button:not(:disabled):not(.disabled).active {
            background: var(--brand-grad);
            border-color: var(--accent-info);
            color: #fff;
            transform: translateY(0);
            box-shadow: 0 1px 4px rgba(44, 182, 125, 0.24);
        }
        
       /* .info-label {
            font-weight: bold;
            color: #eee;
            margin-right: 5px;
        } */
        
        .info-label-company {
            font-size: 0.72rem;
            font-weight: 600;
            color: #6f7e8a;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            margin: 0;
        }
        
        .info-tiles-container {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .info-tile {
            position: relative;
            flex: 1;
            padding: 16px 18px;
            border-radius: 14px;
            text-align: left;
            border: 1px solid transparent;
            box-shadow: 0 2px 10px rgba(20, 60, 100, 0.06);
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }
        .info-tile--reading {
            background: linear-gradient(135deg, #f0f9f3 0%, #e6f4ff 100%);
            border-color: #cfe6dc;
        }
        .info-tile--debt {
            background: linear-gradient(135deg, #e6f6f0 0%, #ecf9f5 100%);
            border-color: #c8e4d8;
        }
        .info-tile:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(44, 182, 125, 0.12);
        }
        .info-tile--reading:hover { border-color: #b8d8c8; }
        .info-tile--debt:hover { border-color: #b8d8c8; }
        .info-tile--debt:hover { border-color: rgba(44, 182, 125, 0.35); }
        .info-tile__icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
        }
        .info-tile--reading .info-tile__icon {
            background: #fff;
            color: #1f9d5d;
            box-shadow: 0 1px 3px rgba(20, 80, 60, 0.08);
        }
        .info-tile--debt .info-tile__icon {
            background: #fff;
            color: var(--accent-info);
            box-shadow: 0 1px 3px rgba(20, 60, 100, 0.08);
        }
        .info-tile__body {
            flex: 1;
            min-width: 0;
        }
        .info-tile__label {
            display: block;
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 4px;
        }
        .info-tile__status {
            font-size: 1.05rem;
            font-weight: 600;
            color: #1f3540;
            line-height: 1.25;
        }
        .info-tile--reading .info-tile__status.is-success { color: #1f9d5d; }
        .info-tile--debt .info-tile__status.is-success { color: #1f9d5d; }
        .info-tile--debt .info-tile__status.is-warning { color: var(--accent-danger); }
        .info-tile__sub {
            display: block;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 4px;
        }
        .info-tile__sub.is-warning { color: var(--accent-danger); }

        @media (max-width: 600px) {
            .info-tiles-container {
                flex-direction: column;
                gap: 10px;
            }
            .info-tile {
                padding: 14px 16px;
                align-items: center;
            }
            .info-tile__label {
                font-size: 0.7rem;
                margin-bottom: 2px;
            }
            .info-tile__status {
                font-size: 1.1rem;
            }
        }
        
        /* Стили для контейнера с названием управляющей компании и кнопками */
        .company-info-container {
            position: relative;
            background: linear-gradient(135deg, #f7fbf9 0%, #ecf6f1 100%);
            border: 1px solid #d8e8e0;
            border-radius: 14px;
            padding: 18px 20px 20px;
            margin: 18px 0 22px;
            color: #1f3540;
            box-shadow: 0 2px 10px rgba(20, 60, 100, 0.06);
        }
        
        .company-info-button {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: var(--surface);
            color: var(--accent-info);
            border: 1px solid var(--border);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.18s ease, color 0.18s ease;
            padding: 0;
        }
        
        .company-info-button img {
          width: 25px;
          height: 20px;
        }
        
        .company-info-button:hover {
            background-color: #f0f0f0;
        }
        
        .company-info-container p {
            margin: 0 0 12px;
            font-size: 1.05rem;
            line-height: 1.4;
            color: #1f3540;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .company-info-container #company-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: #1f3540;
        }
        
        .company-info-container .button-container {
            display: flex;
            justify-content: space-around; /* Равномерное распределение кнопок */
        }
        
        .company-info-container .button-container button {
            flex: 1;           /* Равномерное распределение места между кнопками */
            margin: 0 5px;     /* Добавляем небольшой отступ по бокам для каждой кнопки */
            padding: 10px 12px; /* Уменьшаем отступы внутри кнопки */
            font-size: 0.9em;   /* Уменьшаем размер шрифта */
            color: #fff;
            background-color: var(--accent-info);
            box-shadow: 0 2px 6px rgba(44, 182, 125, 0.20);
            transition: background-color 0.18s ease, transform 0.12s ease;
        }
        .company-info-container .button-container button:hover {
            background-color: var(--accent-info-hover);
            transform: translateY(-1px);
        }
        
        #company-name {
            font-weight: bold; /* Убираем жирный шрифт с названия компании */
        }
        
        .logout-container {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 8px;
        }
