/* Battle Window Specific Styles */

/* ===== ABILITY WINDOW ===== */
.ability-window-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
}

.ability-button-card {
    width: 200px;
    height: 100px;
    background: var(--panel-bg);
    border: 2px solid var(--border-color);
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.ability-button-card:hover:not(.disabled) {
    background: var(--button-bg);
    border-color: var(--border-color);
    transform: none;
}

.ability-button-card.disabled {
    opacity: 0.5;
}

.ability-icon-placeholder {
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border: 1px solid var(--text-color);
    border-radius: 0px;
    margin-bottom: 6px;
}

.ability-button-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 4px;
}

.ability-button-stats {
    font-size: 11px;
    color: var(--placeholder-color);
    text-align: center;
}

/* ===== CONTROL WINDOW ===== */
.control-window-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    min-width: 300px;
}

/* HP Bar Container */
.hp-bar-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hp-bar-label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: bold;
}

.hp-bar-wrapper {
    width: 100%;
    height: 25px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    border-radius: 0px;
    overflow: hidden;
    position: relative;
}

.hp-bar-fill {
    height: 100%;
    background: #dc2626;
    transition: width 0.3s ease;
}

.hp-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* AP Display */
.ap-display {
    font-size: 16px;
    color: goldenrod;
    font-weight: bold;
}

/* Window Toggle Buttons */
.window-toggles {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
}

.window-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 40px;
    padding: 8px;
    background: var(--button-bg);
    border: 2px solid var(--border-color);
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    color: var(--text-color);
    text-align: center;
    flex-shrink: 0;
}

.window-toggle-btn:hover {
    background: var(--button-hover);
    border-color: var(--accent-color);
}

.window-toggle-btn.active {
    background: #505050;
    border-color: #c0c0c0;
    color: #e0e0e0;
}

.window-toggle-btn.active * {
    color: #e0e0e0;
}

