* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-button {
    padding: 12px 30px;
    background: transparent;
    color: #666;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -12px;
}

.tab-button:hover {
    color: #667eea;
}

.tab-button.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.subtitle-small {
    text-align: center;
    color: #667eea;
    margin-bottom: 40px;
    font-size: 0.95em;
    font-weight: 600;
}

.pair-input-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.pair-input-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

.pair-input-controls {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.input-with-label {
    flex: 1;
}

.input-with-label label {
    display: block;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.link-symbol-inline {
    font-size: 2em;
    color: #667eea;
    padding-bottom: 8px;
}

.add-pair-btn-main {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.add-pair-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.soullink-pairs-display {
    margin-bottom: 30px;
}

.soullink-pairs-display h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

.pairs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 100px;
}

.pairs-container:empty::before {
    content: 'No soullinked pairs added yet. Add a pair above to get started!';
    display: block;
    text-align: center;
    color: #999;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
}

.pair-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: border-color 0.2s;
}

.pair-item:hover {
    border-color: #667eea;
}

.pair-item-pokemon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pair-link-symbol {
    font-size: 2em;
    color: #667eea;
}

.remove-pair-btn {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.remove-pair-btn:hover {
    background: #d32f2f;
}

.autocomplete-wrapper {
    position: relative;
}

.pokemon-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
}

.pokemon-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pokemon-input.valid {
    border-color: #4caf50;
    background-color: #f1f8f4;
}

.pokemon-input.invalid {
    border-color: #f44336;
    background-color: #fef1f1;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #667eea;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestions.active {
    display: block;
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    text-transform: capitalize;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.autocomplete-item:hover,
.autocomplete-item.selected {
    background-color: #f0f0f0;
}

.autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.autocomplete-item .pokemon-name {
    flex: 1;
}

.autocomplete-item strong {
    color: #667eea;
}



.pokemon-card-small {
    background: white;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pokemon-card-small img {
    width: 40px;
    height: 40px;
}

.pokemon-card-small .name {
    font-weight: bold;
    text-transform: capitalize;
    font-size: 0.9em;
}

.pokemon-card-small .types {
    display: flex;
    gap: 4px;
}

.type-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75em;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

/* Pokemon Type Colors */
.type-normal { background-color: #A8A878; }
.type-fire { background-color: #F08030; }
.type-water { background-color: #6890F0; }
.type-electric { background-color: #F8D030; }
.type-grass { background-color: #78C850; }
.type-ice { background-color: #98D8D8; }
.type-fighting { background-color: #C03028; }
.type-poison { background-color: #A040A0; }
.type-ground { background-color: #E0C068; }
.type-flying { background-color: #A890F0; }
.type-psychic { background-color: #F85888; }
.type-bug { background-color: #A8B820; }
.type-rock { background-color: #B8A038; }
.type-ghost { background-color: #705898; }
.type-dragon { background-color: #7038F8; }
.type-dark { background-color: #705848; }
.type-steel { background-color: #B8B8D0; }
.type-fairy { background-color: #EE99AC; }

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.action-button {
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.save-button {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
}

.save-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.load-button {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
}

.load-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(33, 150, 243, 0.3);
}

.analyze-button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.analyze-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.analyze-button:active,
.action-button:active {
    transform: translateY(0);
}

.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.results {
    margin-top: 40px;
}

.results h2 {
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2em;
}

.results-info {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95em;
}

.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.filter-section h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.filter-info {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.filter-pairs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 40px;
}

.filter-pair-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.filter-pair-option:hover {
    border-color: #667eea;
}

.filter-pair-option.selected {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.filter-pair-option input[type="checkbox"] {
    cursor: pointer;
}

.filter-pair-names {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

.filter-pair-names .link-icon {
    color: #667eea;
    font-size: 0.8em;
}

.filter-pair-option.selected .filter-pair-names .link-icon {
    color: white;
}

.balance-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.balance-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.balance-option:hover {
    background: #e8e8e8;
}

.balance-option input[type="radio"] {
    cursor: pointer;
}

.balance-option input[type="radio"]:checked + span {
    font-weight: bold;
    color: #667eea;
}

.filter-button {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 10px;
}

.filter-button:hover {
    background: #5568d3;
}

.filter-button.secondary {
    background: #999;
}

.filter-button.secondary:hover {
    background: #777;
}

#combinations-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.combination {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.combination:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.combination h3 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3em;
}

.combination-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bst-total {
    margin-top: 15px;
    padding: 12px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border: 1px solid #d0d0d0;
}

.bst-breakdown {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.bst-balance {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.bst-balance.balanced {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
}

.bst-balance.player1-advantage {
    background: linear-gradient(135deg, #42a5f5 0%, #2196F3 100%);
    color: white;
}

.bst-balance.player2-advantage {
    background: linear-gradient(135deg, #ef5350 0%, #f44336 100%);
    color: white;
}

.pokemon-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pokemon-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.pokemon-card .name {
    font-size: 1.3em;
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 10px;
    color: #333;
}

.pokemon-card .types {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.pokemon-card .stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    text-align: left;
    font-size: 0.9em;
}

.stat-item {
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
}

.stat-item strong {
    color: #667eea;
}

.expandable-section {
    margin-top: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 10px;
}

.expandable-header {
    cursor: pointer;
    padding: 8px;
    background: #f5f7fa;
    border-radius: 5px;
    font-weight: bold;
    color: #667eea;
    transition: background 0.2s;
    user-select: none;
}

.expandable-header:hover {
    background: #e8eaf0;
}

.expandable-content {
    margin-top: 10px;
    padding: 10px;
    background: #fafbfc;
    border-radius: 5px;
    text-align: left;
    max-height: 300px;
    overflow-y: auto;
}

.ability-item {
    padding: 6px 10px;
    margin: 4px 0;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #667eea;
    text-transform: capitalize;
}

.hidden-tag {
    color: #f44336;
    font-size: 0.85em;
    font-weight: bold;
}

.moves-list {
    font-size: 0.9em;
}

.move-item {
    padding: 5px 10px;
    margin: 3px 0;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #4caf50;
    text-transform: capitalize;
}

.move-item strong {
    color: #4caf50;
    min-width: 50px;
    display: inline-block;
}

.loading-text {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 10px;
}

.ability-name {
    margin-bottom: 5px;
    text-transform: capitalize;
}

.ability-description {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
    padding-left: 10px;
    border-left: 2px solid #ddd;
}

.move-header {
    margin-bottom: 5px;
}

.move-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85em;
    padding: 5px 0;
}

.move-details span {
    padding: 3px 8px;
    background: #f0f0f0;
    border-radius: 4px;
}

.damage-class {
    text-transform: capitalize;
}

.damage-class.physical {
    background: #f44336;
    color: white;
}

.damage-class.special {
    background: #2196F3;
    color: white;
}

.damage-class.status {
    background: #9e9e9e;
    color: white;
}

.move-description {
    width: 100%;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
    margin-top: 5px;
    padding: 5px;
    background: #fafafa;
    border-radius: 4px;
}

.evolution-list {
    font-size: 0.9em;
}

.evolution-item {
    padding: 10px;
    margin: 5px 0;
    background: white;
    border-radius: 6px;
    border-left: 4px solid #9c27b0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evolution-item.current-evolution {
    background: #f3e5f5;
    border-left-color: #7b1fa2;
}

.evolution-name {
    font-weight: bold;
    text-transform: capitalize;
    font-size: 1.1em;
}

.evolution-trigger {
    font-size: 0.85em;
    color: #666;
    margin-top: 3px;
}

.evolve-button {
    padding: 5px 12px;
    background: #9c27b0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s;
}

.evolve-button:hover {
    background: #7b1fa2;
}

.current-badge {
    padding: 4px 10px;
    background: #4caf50;
    color: white;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
}

.mini-evo-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #9c27b0;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mini-evo-btn:hover {
    background: #7b1fa2;
    transform: scale(1.05);
}

.pair-item-pokemon {
    position: relative;
}

.evolution-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.evolution-modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.evolution-modal-content h3 {
    color: #9c27b0;
    margin-bottom: 20px;
    text-align: center;
    text-transform: capitalize;
}

.evolution-modal-list {
    margin-bottom: 20px;
}

.evolution-modal-item {
    padding: 12px;
    margin: 8px 0;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evolution-modal-item.current {
    background: #f3e5f5;
    border-left-color: #7b1fa2;
}

.evo-name {
    font-weight: bold;
    text-transform: capitalize;
    font-size: 1.1em;
}

.evo-trigger {
    font-size: 0.85em;
    color: #666;
    margin-top: 3px;
}

.evo-select-btn {
    padding: 6px 15px;
    background: #9c27b0;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s;
}

.evo-select-btn:hover {
    background: #7b1fa2;
}

.modal-close-btn {
    width: 100%;
    padding: 10px;
    background: #757575;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: #616161;
}

.error {
    background: #ffebee;
    color: #c62828;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.hidden {
    display: none !important;
}

.no-combinations {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .pair-input-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .link-symbol-inline {
        text-align: center;
        padding: 10px 0;
    }
    
    .pair-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pair-link-symbol {
        text-align: center;
    }
    
    .combination-pair {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
}

/* Pokemon Lookup Styles */
.lookup-search-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.lookup-search-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
}

.lookup-input-wrapper {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.lookup-input-wrapper .autocomplete-wrapper {
    flex: 1;
}

.lookup-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.lookup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.lookup-results {
    margin-top: 30px;
}

.lookup-pokemon-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
}

.lookup-pokemon-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.lookup-pokemon-sprite {
    width: 120px;
    height: 120px;
    image-rendering: pixelated;
}

.lookup-pokemon-info {
    flex: 1;
}

.lookup-pokemon-name {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.lookup-pokemon-types {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lookup-section {
    margin-bottom: 30px;
}

.lookup-section h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.weaknesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.weakness-badge {
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-transform: capitalize;
    color: white;
}

.weakness-4x {
    background: #d32f2f;
    font-size: 1.1em;
}

.weakness-2x {
    background: #f44336;
}

.weakness-0-5x {
    background: #66bb6a;
}

.weakness-0-25x {
    background: #4caf50;
}

.weakness-0x {
    background: #2196f3;
    font-weight: bold;
}

.abilities-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ability-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.ability-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #667eea;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.ability-hidden {
    display: inline-block;
    background: #764ba2;
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-left: 10px;
}

.ability-description {
    color: #666;
    line-height: 1.5;
}

.moves-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.moves-category {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.moves-category h4 {
    font-size: 1.2em;
    color: #667eea;
    margin-bottom: 15px;
}

.moves-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.move-item {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.move-name-type {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.move-name {
    text-transform: capitalize;
    font-weight: 500;
}

.move-item .type-badge {
    font-size: 0.75em;
    padding: 3px 8px;
    width: fit-content;
}

.move-with-level {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
}

.move-level {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: 600;
    white-space: nowrap;
    margin-top: 2px;
}

