/* ======================================= */
/* ========== РЕСПАУН БОССОВ ========== */
/* ======================================= */

.schedule-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.schedule-wrapper h1 {
    margin-bottom: 20px;
    color: #ffd966;
    text-align: center;
    font-size: 1.6em;
}

.schedule-table-container {
    overflow-x: auto;
    margin: 15px 0;
    background: #1a1a2e;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.schedule-table {
    border-collapse: collapse;
    font-size: 0.9em;
    width: auto;
    min-width: 0;
}

.schedule-table th,
.schedule-table td {
    padding: 8px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-table th {
    background: linear-gradient(135deg, #4a4a8a 0%, #2c3e50 100%);
    color: white;
    font-weight: 700;
    font-size: 0.85em;
    padding: 10px 8px;
    text-align: center;
}

/* Колонка локации */
.location-col {
    text-align: center !important;
    width: auto;
    min-width: 130px;
}

.location-cell {
    vertical-align: middle;
    text-align: center;
    background: rgba(74, 74, 138, 0.3);
    border-right: 1px solid #4a4a8a;
}

.location-name {
    font-weight: 700;
    font-size: 0.9em;
    color: #ffd966;
    text-align: center;
    padding: 10px 10px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
    max-width: 130px;
}

/* Колонка босса */
.boss-col {
    text-align: left !important;
    width: auto;
    min-width: 180px;
}

.boss-cell {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
}

.boss-name-cell {
    color: #e0e0e0;
    font-size: 0.9em;
    font-weight: 500;
    padding: 10px 12px;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
    max-width: 200px;
}

/* Ячейки времени */
.time-cell {
    transition: background 0.2s;
    width: 70px;
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 5px;
}

.time-cell.has-spawn {
    background: rgba(74, 74, 138, 0.35);
}

.time-cell.has-spawn:hover {
    background: rgba(74, 74, 138, 0.55);
}

.spawn-time {
    display: inline-block;
    background: linear-gradient(135deg, #4a4a8a, #2c3e50);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.8em;
    font-weight: 600;
    white-space: nowrap;
}

.no-spawn {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 500;
    font-size: 0.9em;
}

/* Чередование строк */
.schedule-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.schedule-table tbody tr:hover {
    background: rgba(74, 74, 138, 0.15);
}
/* Хедер с кнопкой */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.page-header h1 {
    margin-bottom: 0;
}

/* Хедер с кнопкой под заголовком */
.schedule-wrapper h1 {
    margin-bottom: 10px;
    color: #ffd966;
    text-align: center;
    font-size: 1.6em;
}

.loot-button-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

/* Кнопка "Посмотреть Лут" */
.loot-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a4a8a, #2c3e50);
    color: #ffd966;
    padding: 8px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    border: 1px solid rgba(255, 217, 102, 0.5);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.loot-button:hover {
    background: linear-gradient(135deg, #5a5a9a, #3c4e60);
    color: #ffe08a;
    border-color: #ffd966;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Адаптивность */
@media (max-width: 768px) {
    .loot-button {
        padding: 6px 20px;
        font-size: 0.8em;
    }
}
/* Адаптивность */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 0.8em;
    }
    
    .schedule-table th,
    .schedule-table td {
        padding: 6px 5px;
    }
    
    .location-name {
        font-size: 0.8em;
        padding: 8px 6px;
        max-width: 110px;
    }
    
    .boss-name-cell {
        font-size: 0.8em;
        padding: 8px 8px;
        max-width: 160px;
    }
    
    .time-cell {
        width: 55px;
    }
    
    .spawn-time {
        padding: 3px 7px;
        font-size: 0.7em;
    }
}