.ui-button {
    background: #4a90e2;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.ui-button:hover {
    background: #357abd;
}

.ui-button:active {
    transform: translateY(1px);
}

.ui-button.large {
    padding: 12px 24px;
    font-size: 1.2em;
}

.tabs {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.tab-btn {
    flex: 1;
    background: #2a2a2a;
    border: none;
    color: #ccc;
    padding: 5px;
    font-size: 0.8em;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
}

.tab-btn.active {
    background: #4a90e2;
    color: white;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.scroll-list {
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.9em;
    padding: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.scroll-list div {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modals */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background: #2a2a2a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    min-width: 300px;
}

.modal input {
    width: 100%;
    padding: 10px;
    margin: 20px 0;
    background: #1a1a1a;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
}

.difficulty-select {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.diff-btn {
    background: #333;
    border: 1px solid #444;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.diff-btn.active {
    background: #4a90e2;
    border-color: #4a90e2;
}

/* Build Item Card */
.build-item {
    background: #333;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.build-item:hover {
    background: #444;
}

.build-item .info h4 {
    margin: 0;
    font-size: 0.9em;
}

.build-item .info span {
    font-size: 0.8em;
    color: #aaa;
}

.build-item .cost {
    font-weight: bold;
    color: #4ae24a;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
