/* Tarkov Vibe - Modals & Weapon Modding Workbench Stylesheet */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: #13171b;
    border: 2px solid var(--accent-gold);
    width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #fff;
}

.modding-header h2 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
}

.modding-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.spec-pill {
    background: #1d2329;
    padding: 4px 10px;
    font-size: 11px;
    border: 1px solid #333d47;
    color: #ccc;
}

.spec-pill strong {
    color: var(--accent-gold);
}

.slots-section-title {
    font-size: 12px;
    font-weight: bold;
    color: var(--text-gold);
    margin: 10px 0 6px 0;
    border-bottom: 1px solid #28313b;
    padding-bottom: 3px;
}

.weapon-slot-row {
    background: #191e23;
    border: 1px solid #29323b;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.slot-title {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
}

.slot-current {
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}

.slot-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.available-mods-list {
    display: flex;
    gap: 4px;
}

.mod-install-btn {
    background: #252e37;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 10px;
    padding: 3px 6px;
    cursor: pointer;
}

.mod-install-btn:hover {
    background: var(--accent-gold);
    color: #111;
}

.empty-mod-hint {
    font-size: 10px;
    color: #555;
}

.ammo-picks-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.ammo-pick-btn {
    background: #1c2227;
    border: 1px solid #333d47;
    color: #ccc;
    font-size: 11px;
    padding: 6px 10px;
    cursor: pointer;
}

.ammo-pick-btn:hover {
    border-color: var(--accent-gold);
}

.ammo-pick-btn.active {
    background: #2b2214;
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    font-weight: bold;
}
