/* -------------------- КНОПКИ -------------------- */
.btn {
    background: #991b1b;
    border: none;
    color: #fff;
    padding: 15px 30px;
    font-family: 'Raleway Black', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}
.btn:hover {
    background: #b91c1c;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    background: #1f242e;
    border: 1px solid #4b5563;
    color: #fff;
    padding: 15px 30px;
    font-family: 'Raleway Black', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-secondary:hover {
    background: #2a303a;
}

.cta-btn {
    display: inline-block;
    background-color: #991b1b;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 40px;
    font-family: 'Raleway Black', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    transition: background-color 0.3s;
}
.cta-btn:hover {
    background-color: #b91c1c;
}

/* -------------------- ФОРМЫ -------------------- */
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    color: #8a92a6;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #1f242e;
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    outline: none;
    font-family: 'Raleway Regular', sans-serif;
}
.input-group textarea {
    border: 1px solid #1f242e;
    padding: 10px;
    resize: vertical;
    min-height: 100px;
    background: #0b0d10;
}
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-bottom-color: #991b1b;
}
.input-group .hint {
    font-size: 12px;
    color: #4b5563;
    margin-top: 4px;
}

/* Селекты (глобально) */
select {
    background: #0b0d10 !important;
    color: #efefef !important;
    border: 1px solid #1f242e !important;
    padding: 8px 35px 8px 12px;
    font-family: 'Raleway Regular', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a92a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}
select option {
    background: #0b0d10 !important;
    color: #efefef !important;
    padding: 8px 12px;
}
select:focus {
    border-color: #991b1b !important;
    outline: none;
}

/* Подсказки (автодополнение) */
.suggestions-dropdown {
    position: absolute;
    z-index: 1000;
    background: #0d0f13;
    border: 1px solid #1f242e;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    width: calc(100% - 2px);
    display: none;
    margin-top: 2px;
}
.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    color: #efefef;
    font-size: 14px;
    border-bottom: 1px solid #1a1e26;
    transition: background 0.2s;
}
.suggestion-item:hover {
    background: #1f242e;
}
.suggestion-item:last-child {
    border-bottom: none;
}

/* -------------------- СТАТУС-БЕЙДЖИ -------------------- */
.status-badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
.status-pending {
    background: #f59e0b;
    color: #000;
}
.status-approved {
    background: #10b981;
    color: #fff;
}
.status-rejected {
    background: #ef4444;
    color: #fff;
}
.status-needs_info {
    background: #3b82f6;
    color: #fff;
}

/* -------------------- ПУСТЫЕ СОСТОЯНИЯ -------------------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8a92a6;
}
.empty-state .icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.empty-state h3 {
    font-family: 'Raleway Black', sans-serif;
    color: #fff;
}

/* -------------------- КАРТОЧКИ (общие черты) -------------------- */
.flag-card, .strike-card {
    border: 1px solid #1f242e;
    padding: 16px 20px;
    margin-bottom: 14px;
    background: #0d0f13;
    border-radius: 4px;
}

/* ===== ГЛОБАЛЬНЫЙ СБРОС АВТОЗАПОЛНЕНИЯ ДЛЯ ТЁМНОЙ ТЕМЫ ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0b0d10 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: #0b0d10 !important;
    background-clip: content-box !important;
    border-bottom-color: #1f242e !important;
}

input:-moz-autofill,
textarea:-moz-autofill,
select:-moz-autofill {
    box-shadow: 0 0 0 30px #0b0d10 inset !important;
    -moz-text-fill-color: #ffffff !important;
    background-color: #0b0d10 !important;
    border-bottom-color: #1f242e !important;
}

/* Базовый фон для всех полей ввода — прозрачный */
input,
textarea,
select {
    background: transparent !important;
}

/* Чтобы при фокусе или наведении не появлялся дефолтный фон */
input:focus,
textarea:focus,
select:focus {
    background: transparent !important;
}