/* ============================================
   MMO Showdown Header & Layout Modernization
   Theme-neutral - works with both light and dark
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

/* ============================================
   Header bar (always dark regardless of theme)
   ============================================ */
.mmo-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 2px solid #0f3460;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 100;
}

.mmo-header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 52px;
}

.mmo-header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mmo-header-logo img {
    height: 32px;
    width: auto;
}

.mmo-header-logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

.mmo-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mmo-nav li {
    display: block;
}

.mmo-nav a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #b0b8c8;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: block;
}

.mmo-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.mmo-nav a.active {
    color: #fff;
    background: rgba(99, 140, 255, 0.2);
    font-weight: 600;
}

.mmo-nav a.play-btn {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(64, 145, 108, 0.3);
    transition: all 0.2s ease;
}

.mmo-nav a.play-btn:hover {
    background: linear-gradient(135deg, #40916c, #52b788);
    box-shadow: 0 2px 12px rgba(64, 145, 108, 0.5);
    transform: translateY(-1px);
}

.mmo-nav a.discord-btn {
    background: linear-gradient(135deg, #5865F2, #7289da);
    color: #fff;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
    transition: all 0.2s ease;
}

.mmo-nav a.discord-btn:hover {
    background: linear-gradient(135deg, #7289da, #8fa4e8);
    box-shadow: 0 2px 12px rgba(88, 101, 242, 0.5);
    transform: translateY(-1px);
}

/* Theme toggle button */
.mmo-nav .theme-toggle {
    background: none;
    color: #b0b8c8;
    font-size: 16px;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1;
}

.mmo-nav .theme-toggle:hover {
    color: #fff;
}
/* ============================================
   Typography (always applies)
   ============================================ */
html, body {
    font-family: 'Outfit', Verdana, sans-serif;
}

.wrapper {
    padding: 1.5em 2em 0;
    max-width: 1300px;
    margin: 0 auto;
}

.title-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.6em;
    margin: 0.6em 1em 0.6em 0;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1em 0;
}

legend {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0 8px;
}

.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
    margin: 1px 1px;
}

.visually-hidden:checked + .btn {
    z-index: 10;
}

select, input, textarea {
    font-family: 'Outfit', sans-serif;
    border-radius: 4px;
    padding: 3px 4px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
}

fieldset {
    border-radius: 8px;
    padding: 12px;
}

.result-move-header {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.big-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.main-result-group {
    margin: 4em 0 1em !important;
    font-size: 1.4em !important;
}

.hpbar {
    border-radius: 4px;
    height: 5px;
}

.import-team-text {
    border-radius: 8px;
}

.credits {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9em;
}

#tooltipText {
    font-family: 'Outfit', sans-serif;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.dataTables_info,
.search-label {
    font-family: 'Outfit', sans-serif;
}

.bs-btn {
    font-family: 'Outfit', sans-serif;
    border-radius: 4px;
}

/* ============================================
   Panel layout
   ============================================ */
html, body {
    min-width: auto;
}

.panel {
    margin: 0 0.5em;
}

.poke-info {
    width: 28.5em;
}

.field-info, .poke-import {
    width: 27.5em;
}

.import-team-text {
    min-width: 25em;
}
