/* buttons.css - Button and input styles */
.button {
    padding: 12px 24px;
    background: linear-gradient(145deg, var(--primary-accent) 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.button:hover::before {
    left: 150%;
}

.button:active {
    transform: translateY(1px);
    filter: brightness(0.9);
}


.button:disabled {
    background: #4b5563;
    cursor: not-allowed;
}

.button.secondary {
    background: var(--surface-1);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.button.secondary:hover {
    background: var(--surface-2);
}

.button.danger {
    background: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.button.danger:hover {
    background: #dc2626;
}

.input-group {
    width: 100%;
}

.input-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-group select,
.input-group input[type="number"],
.player-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.875rem;
}

.input-group select option {
    background: #1a1a1a;
    color: #ffffff;
}
