/* Quick Bar Styles */
#quick-bar-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.quick-bar {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #444;
}

.quick-slot {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #555;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-slot:hover {
    border-color: #888;
    background: rgba(0, 0, 0, 0.4);
}

.quick-slot.occupied {
    border-color: #666;
}

.slot-key {
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 10px;
    color: #aaa;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Health Potion Slot Specific Styles */
.health-potion-slot {
    border-color: #cc4444 !important;
    background: rgba(204, 68, 68, 0.2) !important;
}

.health-potion-slot:hover {
    border-color: #ff6666 !important;
    background: rgba(204, 68, 68, 0.3) !important;
}

.health-potion-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.5));
}

#health-potion-count {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* Cooldown Overlay */
.cooldown-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 3px;
    transition: height 0.1s linear;
    display: none;
    pointer-events: none;
}

/* Teleport Button */
.teleport-button {
    width: 50px;
    height: 50px;
    background: rgba(0, 50, 100, 0.6);
    border: 2px solid #4488cc;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 10px;
}

.teleport-button:hover {
    border-color: #66aaff;
    background: rgba(0, 50, 100, 0.8);
}

.teleport-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
}

.teleport-tooltip {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    white-space: nowrap;
    font-size: 12px;
    display: none;
}

.teleport-button:hover .teleport-tooltip {
    display: block;
}

/* Item Stack Count */
.item-stack-count {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

/* Skill Slots */
.skill-slot {
    background: rgba(0, 0, 50, 0.6);
    border-color: #4466aa;
}

.skill-slot:hover {
    border-color: #6688cc;
    background: rgba(0, 0, 50, 0.4);
}

.skill-slot.occupied {
    border-color: #5577bb;
}

/* Action Bar (Skills) */
#action-bar {
    margin-top: 5px;
}