/* static/css/components/buttons.css */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 0;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #334155;
    color: var(--text);
}

.btn.ghost {
    background: #ffffff;
    border: 1px solid rgba(80, 200, 120, 0.3);
    color: var(--text);
    height: auto;
    padding: 1px 8px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn.ghost:hover {
    background: rgba(80, 200, 120, 0.08);
    border-color: #50C878;
    color: #50C878;
    box-shadow: 0 2px 8px rgba(80, 200, 120, 0.15);
    transform: none;
}

.btn.primary {
    background: linear-gradient(135deg, #50C878, #87CEEB);
    color: #ffffff;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(80, 200, 120, 0.25);
}

.btn.primary:hover {
    background: linear-gradient(135deg, #3ab06b, #5fd4ff);
    box-shadow: 0 6px 16px rgba(80, 200, 120, 0.35);
    transform: translateY(-2px);
}

.icon-btn {
    color: var(--text);
    text-decoration: none;
    position: relative;
}

/* badge */
.badge {
    display: inline-block;
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    background: var(--danger);
    font-size: 12px;
    margin-left: 6px;
    color: #fff;
}