/* ========================================
   SUMMARY - Pokémon Summary Panel
   ======================================== */

#summary-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    padding: 8px;
    box-sizing: border-box;
}

.sum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #444;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.sum-body {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.sum-sprite {
    width: 96px;
    height: 96px;
    border: 1px solid #ccc;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sum-sprite img {
    width: 96px;
    height: 96px;
    image-rendering: pixelated;
}

.sum-data {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 8px;
    justify-content: center;
}

.sum-stat-bar {
    width: 100%;
    height: 6px;
    background: #ddd;
    border: 1px solid #000;
    border-radius: 2px;
    margin-bottom: 2px;
    position: relative;
}

.sum-stat-fill {
    height: 100%;
    display: block;
    transition: width 0.3s;
}

.sum-divider {
    width: 100%;
    height: 2px;
    background: #444;
    margin: 4px 0;
}

.sum-moves {
    border-top: 2px solid #444;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.move-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 2px;
}

.move-name {
    color: #000;
    text-transform: uppercase;
    font-size: 6px;
}

.move-info-grp {
    display: flex;
    gap: 6px;
    align-items: center;
}

.move-pwr {
    font-size: 6px;
    color: #444;
}

.move-type {
    color: #666;
    text-transform: uppercase;
    font-size: 6px;
    background: #eee;
    padding: 1px 3px;
    border-radius: 2px;
}

.type-tag {
    background: #333;
    color: white;
    padding: 2px 4px;
    display: inline-block;
    margin-right: 4px;
    border-radius: 2px;
}

.sum-buttons {
    margin-top: auto;
    display: flex;
    gap: 5px;
}