.raid-panel {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.party-member-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.party-member-row {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 6px 10px;
    gap: 2px;
    min-width: 200px;
    flex: 1 1 calc(25% - 10px);
    max-width: 280px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.party-member-row:hover {
    border-color: var(--ui-accent);
}

.party-member-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.party-member-name {
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.party-member-role {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
}

.party-member-hp-container {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.party-member-hp-text {
    font-size: 9px;
    color: #fff;
    min-width: 35px;
    text-align: right;
}

.party-member-hp {
    flex-grow: 1;
}

.party-member-stats {
    font-size: 9px;
    color: #aaa;
    margin-top: 1px;
}

.hp-bar-bg {
    width: 100%;
    height: 6px;
    background: #222;
    border: 1px solid #444;
    border-radius: 3px;
    overflow: hidden;
}

.hp-bar-fill {
    height: 100%;
    transition: width 0.2s;
}

.party-action-container {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.party-leader-btn {
    font-size: 9px;
    padding: 2px 8px;
    background: #222;
    border: 1px solid #555;
    color: #ccc;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
    margin-top: 0;
}

.party-leader-btn:hover {
    background: #333;
    color: #fff;
    border-color: var(--ui-accent);
    transform: none;
}

.party-leader-label {
    font-size: 9px;
    color: #ffd700;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.party-settings-box {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.party-settings-box button {
    margin-top: 0;
}
