/**
 * Button Styles
 *
 * Core button components used across the application.
 * Feature-specific button variants remain in their page CSS files.
 */

/* Primary Button - Main CTA style */
.btn-primary {
    padding: 8px 16px;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #555;
    color: #999;
}

/* Secondary Button - Subtle/outline style */
.btn-secondary {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    height: 36px;
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* Save/Cancel button pair for modals */
.btn-save {
    padding: 10px 20px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-save:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    padding: 10px 20px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cancel:hover {
    background: rgba(255,255,255,0.05);
}

/* Outline accent - same size as btn-save/btn-cancel but accent-colored outline */
.btn-outline-accent {
    padding: 10px 20px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-accent:hover {
    background: rgba(233, 69, 96, 0.1);
}

.btn-secondary {
    padding: 10px 20px;
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.35);
}

/* Reveal button (for showing hidden content) */
.btn-reveal {
    padding: 6px 12px;
    background: rgba(233, 69, 96, 0.15);
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reveal:hover {
    background: var(--accent);
    color: white;
}

.btn-reveal.revealed {
    background: rgba(76, 175, 80, 0.15);
    border-color: var(--winner-green);
    color: var(--winner-green);
}

/* Responsive button text: show full text by default, short text on mobile */
.btn-short-text { display: none; }
.btn-full-text  { display: inline; }

@media (max-width: 768px) {
    .btn-short-text { display: inline; }
    .btn-full-text  { display: none; }
}
