/* --- Inputs & Buttons --- */
input,
select,
button {
    font-family: inherit;
    font-size: 1em;
}

#username-input,
.auth-input {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    background: #000;
    border: 1px solid var(--border-color);
    color: var(--phosphor-primary);
    margin-bottom: 20px;
    text-align: center;
}

button {
    cursor: pointer;
    transition: all 0.2s;
}

.btn-green {
    background-color: #2e7d32;
    border-color: #4caf50;
    color: #e0e0e0;
}

.btn-green:hover {
    background-color: #388e3c;
    color: #fff;
    box-shadow: 0 0 10px #4caf50;
}

/* --- Tabs --- */
.tabs {
    display: flex;
    justify-content: space-around;
    background-color: #080600;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 15px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
    border-bottom: 2px solid transparent;
}

.tab:hover {
    background-color: #1a1500;
    color: #fff;
}

.tab.active {
    background-color: #221a00;
    color: var(--phosphor-primary);
    border-bottom: 2px solid var(--phosphor-primary);
}

/* --- Tab Content --- */
.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Item Tooltip --- */
.item-tooltip {
    position: fixed;
    z-index: 2000;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--phosphor-secondary);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    gap: 12px;
    max-width: 300px;
    box-shadow: 0 0 20px rgba(255, 183, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.item-tooltip img {
    width: 64px;
    height: 64px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-tooltip .tooltip-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-tooltip #tooltip-name {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--phosphor-primary);
    text-shadow: 0 0 5px rgba(255, 183, 0, 0.5);
}

.item-tooltip #tooltip-desc {
    font-size: 0.9em;
    color: #aaa;
    margin: 0;
    line-height: 1.3;
}

.item-hoverable {
    cursor: pointer;
    transition: background-color 0.2s;
}

.item-hoverable:hover {
    background-color: rgba(255, 183, 0, 0.1);
}