/**
 * Mythic+ Dungeon Tactics CSS
 * Eternal Illusion - Dungeon taktikák stílusok
 * 2025. október 28.
 */

/* === MAIN CONTAINER === */
.dungeon-tactics-container {
    max-height: none;
    padding: 0;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* === TAB NAVIGATION === */
.tactics-tabs {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-bottom: 2px solid #444;
    margin-bottom: 0;
}

.tab-nav {
    display: flex;
    gap: 0;
    padding: 0;
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.tab-button.active {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border-bottom-color: #ffd700;
}

.tab-button i {
    font-size: 16px;
}

.tab-count {
    background: #ffd700;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

/* === TAB CONTENT === */
.tab-content {
    min-height: 500px;
}

.tab-panel {
    display: none;
    padding: 25px;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === OVERVIEW TAB === */
.overview-content {
    max-width: 1200px;
    margin: 0 auto;
}

.dungeon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dungeon-title h2 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.dungeon-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.expansion, .season {
    background: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid #4ecdc4;
}

.difficulty-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.difficulty-badge.easy {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.difficulty-badge.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.difficulty-badge.hard {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.difficulty-badge.extreme {
    background: rgba(148, 0, 211, 0.2);
    color: #9400d3;
    border: 1px solid #9400d3;
}

.timer-info {
    text-align: right;
}

.timer-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
}

.timer-targets {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #ccc;
}

.timer-plus2, .timer-plus3 {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 8px;
}

/* === DUNGEON STATS === */
.dungeon-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: #ffd700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.stat-card i {
    font-size: 24px;
    color: #ffd700;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #4ecdc4;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #ccc;
    display: block;
}

/* === INFO SECTIONS === */
.info-sections {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.info-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #444;
}

.info-section h3 {
    color: #ffd700;
    margin: 0 0 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-content {
    color: #e0e0e0;
    line-height: 1.6;
    font-size: 14px;
}

.important-notes {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 15px;
    border-radius: 8px;
}

/* === QUICK ACTIONS === */
.quick-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.quick-action-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #44a08d 0%, #093637 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(78, 205, 196, 0.3);
}

/* === BOSSES TAB === */
.bosses-content, .trash-content {
    max-width: 1200px;
    margin: 0 auto;
}

.bosses-header, .trash-header {
    text-align: center;
    margin-bottom: 25px;
}

.bosses-header h3, .trash-header h3 {
    color: #ffd700;
    font-size: 20px;
    margin: 0;
}

.boss-list, .trash-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === BOSS CARDS === */
.boss-card, .trash-pack-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1e1e1e 100%);
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.boss-card:hover, .trash-pack-card:hover {
    border-color: #ffd700;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.boss-header, .pack-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #444;
}

.boss-title, .pack-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.boss-order, .pack-order {
    background: #ffd700;
    color: #000;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.boss-title h4, .pack-title h4 {
    color: #e0e0e0;
    margin: 0;
    font-size: 18px;
}

.boss-expand-btn, .pack-expand-btn {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boss-expand-btn:hover, .pack-expand-btn:hover {
    background: #ffd700;
    color: #000;
}

.boss-summary, .pack-summary {
    padding: 15px 20px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

.pack-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 10px;
}

.pack-size, .pack-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
}

.skippable-badge {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid #28a745;
}

/* === BOSS/PACK DETAILS === */
.boss-details, .pack-details {
    padding: 20px;
    border-top: 1px solid #444;
}

.boss-tactics-grid, .pack-tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.tactics-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tactics-section h5 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tactics-section p {
    color: #e0e0e0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.skip-section {
    background: rgba(40, 167, 69, 0.1);
    border-color: #28a745;
}

/* === ABILITIES, PHASES, ROLES === */
.abilities-section, .phases-section, .role-specific-section {
    margin-top: 20px;
    padding: 15px;
    background: rgba(78, 205, 196, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.abilities-section h5, .phases-section h5, .role-specific-section h5 {
    color: #4ecdc4;
    margin: 0 0 15px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abilities-list, .phases-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ability-item, .phase-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
}

.ability-item strong, .phase-item strong {
    color: #4ecdc4;
}

.role-tactics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.role-tactics {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 6px;
}

.role-tactics h6 {
    color: #4ecdc4;
    margin: 0 0 8px 0;
    font-size: 12px;
    text-transform: uppercase;
}

.role-tactics p {
    color: #e0e0e0;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
}

/* === NO DATA MESSAGE === */
.no-data-message {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-data-message i {
    font-size: 48px;
    color: #555;
    margin-bottom: 20px;
}

.no-data-message h3 {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 20px;
}

.no-data-message p {
    color: #888;
    margin: 0;
    font-size: 14px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .dungeon-tactics-container {
        padding: 0;
    }

    .tab-panel {
        padding: 15px;
    }

    .tab-button {
        padding: 12px 10px;
        font-size: 12px;
    }

    .tab-button span:not(.tab-count) {
        display: none;
    }

    .dungeon-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .dungeon-stats {
        grid-template-columns: 1fr;
    }

    .boss-tactics-grid, .pack-tactics-grid {
        grid-template-columns: 1fr;
    }

    .boss-title, .pack-title {
        flex-wrap: wrap;
        gap: 10px;
    }

    .boss-title h4, .pack-title h4 {
        font-size: 16px;
    }

    .timer-targets {
        flex-direction: column;
        gap: 5px;
    }

    .quick-actions {
        flex-direction: column;
        align-items: center;
    }

    .role-tactics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tab-button {
        padding: 10px 8px;
    }

    .tab-button i {
        font-size: 14px;
    }

    .dungeon-header {
        padding: 15px;
    }

    .dungeon-title h2 {
        font-size: 20px;
    }

    .boss-header, .pack-header {
        padding: 15px;
    }

    .boss-details, .pack-details {
        padding: 15px;
    }

    .boss-order, .pack-order {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .boss-expand-btn, .pack-expand-btn {
        width: 30px;
        height: 30px;
    }
}

/* === LOADING SPINNER === */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #ffd700;
    border-radius: 100%;  
    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

.loading-message {
    color: #e0e0e0;
    margin-top: 20px;
    font-size: 16px;
}