/* ==========================================
   СТИЛИ ДЛЯ МОДАЛКИ НАСТРОЙКИ ЛУТА
   ========================================== */

/* Общий фон и свечение модалки */
#chestLootModal .modal-content {
    background: #0f1115 !important;
    border: 1px solid #38bdf8 !important;
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15), inset 0 0 20px rgba(56, 189, 248, 0.05);
    border-radius: 16px;
    overflow: hidden;
}

/* Шапка модалки */
#chestLootModal .modal-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
    padding: 16px 24px;
}

#chestLootModal .modal-title {
    color: #38bdf8 !important;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Форма добавления (выделенная зона) */
#add-drop-form {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px dashed rgba(56, 189, 248, 0.3) !important;
    border-radius: 12px;
    padding: 20px !important;
    position: relative;
}

/* Стилизация всех полей ввода внутри модалки */
#chestLootModal .cyber-input, 
#chestLootModal select.cyber-input {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #fff !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-family: var(--font-mono) !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    height: 42px !important; /* Фиксируем высоту */
    display: block;
}

#chestLootModal .cyber-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 5px rgba(56, 189, 248, 0.3) !important;
    outline: none;
}

/* Лейблы над полями */
#chestLootModal .cyber-label {
    display: block;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

/* Кнопка "Добавить шанс" */
#add-drop-form button[type="submit"] {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 8px;
    padding: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#add-drop-form button[type="submit"]:hover {
    background: #38bdf8;
    color: #000;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

/* Таблица текущего лута */
#chestLootModal .modern-table {
    background: transparent;
    width: 100%;
}

#chestLootModal .modern-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
}

#chestLootModal .modern-table td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

/* Иконки и текст в таблице */
#chestLootModal td .fw-bold.text-white {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

#chestLootModal td .text-info {
    color: #38bdf8 !important;
}

#chestLootModal td .text-success {
    color: #10b981 !important;
}

/* Кнопка удаления (крестик) */
#chestLootModal .btn-outline-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    transition: 0.2s;
    padding: 4px 8px;
}

#chestLootModal .btn-outline-danger:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}