:root {
    --bg-main: #0B1E3F;
    --bg-card: #0A1733;
    --border-color: #274472;
    --border-head: #10294E;
    --accent: rgba(49, 104, 182, 0.91);
    --accent-green: #28A745;
    --text-light: #E0ECFF;
    --text-muted: #9db3e2;
    --radius: 0.5rem;
    --shadow-card: rgba(0, 0, 0, 0.3);
    --focus-shadow: rgba(60, 125, 217, 0.25);
}

.container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 15px 1.5rem;
}

/* Адаптивное ограничение ширины */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
}
@media (min-width: 1600px) {
    .container {
        max-width: 80%;
    }
}

/* Обычный текст */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Кнопки и средний вес */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Полужирный */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/* Жирный (Bold) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset !important;
    -webkit-text-fill-color: var(--text-light) !important;
    caret-color: var(--text-light);
    transition: background-color 5000s ease-in-out 0s;
}


.form-control:focus {
    background-color: var(--bg-card);
    color: var(--text-light);
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem var(--focus-shadow);
    outline: none;
}

/* Общие элементы */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif; /* Подключаем Inter как основной */
    -webkit-font-smoothing: antialiased; /* Делает текст на темном фоне четче */
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-light);
}

.form-label {
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem var(--focus-shadow);
}

th.sortable:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* Кастомный стиль для уведомлений */
.custom-toast {
    background: transparent !important;
    min-width: 300px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-toast .toast-body {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Анимация появления уведомлений */
.toast.showing {
    animation: toast-slide-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes toast-slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Таблицы */
table.table {
    width: 100%;
    table-layout: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-collapse: collapse;
}

table.table th,
table.table td {
    vertical-align: middle;
    padding: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Стили для шапки */
table.table thead {
    background-color: var(--border-head);
}

table.table.table-with-buttons th:last-child {
    text-align: center;
}

table.table.table-with-buttons td:last-child {
    text-align: left;
    width: 1%;
    white-space: nowrap;
    padding: 0.5rem;
}

table.table.table-with-buttons td:last-child .btn-group-flex {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

table.table.table-with-buttons .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .btn-outline-light {
    color: var(--text-light);
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--accent);
}

.navbar .nav-link.active {
    font-weight: 600;
}

.navbar-toggler {
    border: 1px solid var(--border-head);
    background-color: var(--border-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(60, 125, 217, 0.5);
}

/* Модальное окно */
.modal-content {
    background-color: rgba(10, 23, 51, 0.8) !important; /* Прозрачность для блюра */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius);
}

.modal-header {
    background-color: var(--border-head);
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    background-color: var(--bg-card);
}

.modal .form-control::placeholder {
    color: var(--text-muted);
}

/* Стили для модалки настройки пользователя */
#userSettingsModal .card-admin-setting .btn {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#userSettingsModal .modal-footer .btn-outline-light {
    background-color: transparent;
    border: 1px solid var(--accent);
    color: var(--text-light);
}

#userSettingsModal .modal-footer .btn-outline-light:hover {
    background-color: var(--accent);
    color: white;
}

/* Admin панели */
.card-admin-setting {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 4px 10px var(--shadow-card);
}

.card-header-admin-setting {
    background-color: var(--border-head);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 0.75rem 1rem;
}

.btn-accent-admin-setting {
    background-color: var(--accent);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    min-width: 200px;
    padding: 0 1.5rem;
    height: 44px;
}

.modal-footer .btn {
    height: 44px;
}

.btn-accent-admin-setting:hover {
    background-color: #336DC1;
}

.card-admin-setting .text-uppercase {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.panel-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700; /* Использует Inter-Bold */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.card-admin-setting .btn {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login страница */
.card-login {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    color: var(--text-light);
    padding: 2rem;
    box-shadow: 0 4px 10px var(--shadow-card);
}

/* bot страница */
#botNumberInput::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.bot-status {
    font-weight: bold;
}

/* timeline */
[id^="historyModal"] .modal-content,
[id*="historyModal"] .modal-content {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

[id^="historyModal"] .modal-header,
[id*="historyModal"] .modal-header {
    background-color: var(--border-head);
    border-bottom: 1px solid var(--border-color);
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

[id^="historyModal"] .modal-footer,
[id*="historyModal"] .modal-footer {
    background:
            linear-gradient(to bottom,
            color-mix(in srgb, var(--text-light) 8%, transparent) 0%,
            color-mix(in srgb, var(--text-light) 4%, transparent) 1px,
            transparent 2px
            ),
            var(--bg-card) !important;
    border-top: none !important;
    padding: 0.75rem 1.5rem !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

[id^="historyModal"] .modal-footer::before,
[id*="historyModal"] .modal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: color-mix(in srgb, var(--text-light) 15%, transparent);
    box-shadow: 0 1px 0 color-mix(in srgb, var(--text-light) 8%, transparent);
}

[id^="historyModal"] .modal-footer .btn,
[id*="historyModal"] .modal-footer .btn {
    margin-left: auto;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--text-light);
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

[id^="historyModal"] .modal-footer .btn:hover,
[id*="historyModal"] .modal-footer .btn:hover {
    background: var(--accent);
    color: white;
}

[id^="historyModal"] .modal-body,
[id*="historyModal"] .modal-body {
    padding: 0 !important;
    background-color: var(--bg-card);
}

.history-card {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    transition: background 0.2s ease;
}

.history-card:hover {
    background: color-mix(in srgb, var(--accent) 15%, transparent);
}

.history-card:last-child {
    border-bottom: none;
}

.history-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 12px;
}

.history-indicator.active {
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.7);
    animation: pulse 2s infinite;
}

.history-indicator.inactive {
    background: transparent;
    border: 2px solid var(--border-color);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(40, 167, 69, 0.7); }
    50%      { box-shadow: 0 0 20px rgba(40, 167, 69, 1); }
}

.container-warning {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .container-warning { max-width: 1400px; }
}
@media (min-width: 1600px) {
    .container-warning { max-width: 80%; }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .navbar-collapse .d-flex {
        border-top: 1px solid var(--border-color);
        padding-top: 1rem;
    }
}

.service-warning {
    margin: 20px auto;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg,
    rgba(255, 193, 7, 0.12) 0%,
    rgba(255, 160, 0, 0.08) 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-left: 5px solid #ffc107;
    border-radius: var(--radius);
    text-align: center;
    color: #ffebc1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.service-warning strong {
    color: #ffd89b;
    font-size: 1.1em;
    font-weight: 600;
}

.service-warning small {
    color: #ffca7a;
    opacity: 0.9;
}

.activity-time {
    position: relative;
    display: inline-block;
    padding: 0 2px;
    color: #fff;
    z-index: 1;
    white-space: nowrap;
}

/* фикс модалки лицензии */

/* Пульсирующий фон */
.activity-time.recent::before {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -2px;
    right: -2px;

    background-color: var(--accent-green, #28a745);
    border-radius: 4px;
    z-index: -1;

    opacity: 0.8;
    transform: scale(1);

    animation: pulse-bg-compact 2s infinite;
}

@keyframes pulse-bg-compact {
    0% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }
    50% {
        transform: scale(1.08);
        opacity: 0.5;
        box-shadow: 0 0 12px 6px rgba(40, 167, 69, 0);
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.6);
    }
}

/* Кнопки действий в таблице */
.btn-action-custom {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-action-custom svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Эффект при наведении */
.btn-action-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Права админа */
.permissions-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Карточка */
.permission-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.permission-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.permission-card.active {
    border-color: var(--accent);
    background-color: rgba(49, 104, 182, 0.06);
}

/* Заголовок карточки */
.permission-header {
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.permission-header .form-switch {
    padding-top: 2px;
}

.permission-info {
    flex: 1;
    min-width: 0;
}

.permission-info .title {
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.3;
}

.permission-info small {
    color: var(--text-muted);
    display: block;
    line-height: 1.4;
}

/* Блок настроек префиксов */
.permission-settings {
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.15);
    padding: 1.35rem 1.5rem;
}

.permission-card:not(.active) .permission-settings {
    display: none;
}

.permission-check-imp {
    margin-top: 0px !important;
}

/* ====================== ТЕГИ ПРЕФИКСОВ ====================== */
.permissions-list .prefixes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.permissions-list .prefix-badge {
    background-color: rgba(255, 255, 255, 0.085);
    color: #E0ECFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 17px;
    font-size: 0.925rem;
    font-weight: 500;
    line-height: 1;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: all 0.2s ease;
    min-height: 34px;
    box-sizing: border-box;
}

.permissions-list .prefix-badge:hover {
    background-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.permissions-list .prefix-badge .btn-close {
    font-size: 0.68rem;
    width: 16px;
    height: 16px;
    padding: 0;
    margin-left: 4px;
    opacity: 0.75;
    filter: invert(1);
}

.permissions-list .prefix-badge .btn-close:hover {
    opacity: 1;
}

/* ====================== ПОЛЯ ВВОДА ПРЕФИКСОВ ====================== */
.permissions-list .permission-settings .prefixes-add-input {
    color: var(--text-light) !important;
    background-color: rgba(10, 23, 51, 0.85) !important;
    border: 1px solid rgba(39, 68, 114, 0.8) !important;
    font-size: 0.925rem;
    height: 38px;
    transition: all 0.2s ease;
}

.permissions-list .permission-settings .prefixes-add-input:focus {
    color: var(--text-light) !important;
    background-color: rgba(10, 23, 51, 0.98) !important;
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 0.2rem rgba(49, 104, 182, 0.35);
}

.permissions-list .permission-settings .prefixes-add-input::placeholder {
    color: var(--text-muted) !important;
    opacity: 1;
}

/* Кнопка "Добавить" */
.permissions-list .permission-settings .add-prefix-btn {
    height: 38px;
    padding: 0 1.25rem;
    font-size: 0.925rem;
}

/* Кнопки */
.btn-login {
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.btn-wide {
    flex: 0 1 auto;
    min-width: 180px;
    white-space: nowrap;
    padding: 12px 20px;
}


@media (max-width: 576px) {
    .btn-wide {
        flex: 1 1 100%;
        min-width: unset;
    }
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--accent);
}
.btn-outline-light:hover {
    background-color: var(--accent);
    color: #fff;
}

.btn-login:hover {
    background-color: #2A5CA0;
}

.btn-success {
    background-color: var(--accent-green);
    border: none;
}

.btn-success:hover {
    background-color: #28A745C1;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
}

.btn-danger:hover {
    background-color: #A83232;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
}

.btn-close {
    filter: invert(1);
}

.text-muted {
    color: var(--text-muted) !important;
}

#filterInput::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.btn-close-white {
    filter: invert(1);
}

.btn, .permission-card, .history-card, .nav-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Эффект при нажатии на кнопку */
.btn:active {
    transform: scale(0.98);
}

/* Глобально улучшить полосу прокрутки */

* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

*::-webkit-scrollbar {
    display: block !important;
    width: 6px;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

/*html, body {*/
/*    scrollbar-width: none;*/
/*    -ms-overflow-style: none;*/
/*}*/

/*html::-webkit-scrollbar,*/
/*body::-webkit-scrollbar {*/
/*    display: none !important;*/
/*}*/

/* Блок лицензирования */

.status-card {
    --card-bg: var(--bg-card);
    --card-border: var(--border-color);
    --card-shadow: 0 2px 6px var(--shadow-card);

    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    font-size: 0.85rem;
    color: var(--text-muted);
    min-height: 38px;
}

/* ===== Кастомный выпадающий список с поиском ===== */
/* Контейнер */
.custom-group-filter {
    position: relative;
    min-width: 200px;
}

/* Поле ввода */
.custom-group-filter__input {
    background-color: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 0.375rem 0.75rem;
    width: 100%;
    transition: all 0.2s ease;
}

.custom-group-filter__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem var(--focus-shadow);
    outline: none;
}

.custom-group-filter__input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Выпадающий список — скруглён со всех сторон, отступ сверху 4px */
.custom-group-filter__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Элемент списка */
.custom-group-filter__option {
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s;
}

.custom-group-filter__option:last-child {
    border-bottom: none;
}

.custom-group-filter__option:hover {
    background-color: rgba(49, 104, 182, 0.3);
}

/* Счётчик */
.custom-group-filter__count {
    color: var(--text-muted);
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 20px;
}

/* Активный элемент (опционально) */
.custom-group-filter__option.active {
    background-color: var(--accent);
    color: white;
}

.custom-group-filter__option.active .custom-group-filter__count {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Скроллбар */
.custom-group-filter__dropdown::-webkit-scrollbar {
    width: 4px;
}
.custom-group-filter__dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
.custom-group-filter__dropdown::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

/* Стили для адаптивного блока настроек администратора */
.admin-settings-row {
    display: flex;
    align-items: stretch;
}
.admin-settings-col {
    flex: 1;
    padding: 1rem;
    text-align: center;
}
.admin-buttons-group {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}
.admin-buttons-group .btn {
    flex: 1;
    white-space: normal;
    word-break: keep-all;
    min-width: 120px;
}
.admin-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
    margin: 15px 0;
}
@media (max-width: 992px) {
    .admin-settings-row {
        flex-direction: column;
    }
    .admin-divider {
        width: auto;
        height: 1px;
        margin: 0 15px;
        background: linear-gradient(to right, transparent, var(--border-color), transparent);
    }
    .admin-buttons-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    .admin-buttons-group .btn {
        width: 100%;
        min-width: unset;
    }
}

/* ===== Модалка для API-ключа ===== */
.api-key-modal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.api-key-modal .modal-header {
    background: transparent;
    border-bottom: none;
}

.api-key-icon {
    width: 48px;
    height: 48px;
    background: rgba(49, 104, 182, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.api-key-warning-card {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid #ffc107;
    border-radius: 12px;
    padding: 1rem;
}

.api-key-warning-card i {
    color: #ffc107;
}

.user-info-block {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
}

.api-key-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border-color);
}

.api-key-input {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.api-key-input:focus {
    box-shadow: none;
    background: rgba(0, 0, 0, 0.6);
}

.btn-outline-accent {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    color: var(--text-light);
    transition: all 0.2s;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: white;
    border-left-color: var(--accent);
}

.btn-outline-accent:active {
    transform: scale(0.96);
}