﻿.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}


.btn-primary {
    background: #0d6efd;
    color: #fff;
}

    .btn-primary:hover {
        background: #0b5ed7;
    }

.btn-success {
    background: #198754;
    color: #fff;
}

    .btn-success:hover {
        background: #157347;
    }

.btn-danger {
    background: #dc3545;
    color: #fff;
}

    .btn-danger:hover {
        background: #bb2d3b;
    }

.btn-warning {
    background: #ffc107;
    color: #212529;
}

    .btn-warning:hover {
        background: #ffca2c;
    }

.btn-secondary {
    background: #f1f3f5;
    color: #333;
}

    .btn-secondary:hover {
        background: #e9ecef;
    }

.btn-outline {
    background: transparent;
    border: 1px solid #ccc;
    color: #333;
}

    .btn-outline:hover {
        background: #f8f9fa;
    }

/* Outline base */
.btn-outline {
    background: transparent;
    border: 1px solid currentColor;
}

/* Outline Success */
.btn-outline.btn-success {
    color: #198754;
    border-color: #198754;
}

.btn-outline.btn-success:hover {
    background: #198754;
    color: #fff;
}

.btn-circle {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}


.btn-pill {
    border-radius: 999px;
}


.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 20px;
    font-size: 16px;
}


.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}


.btn-icon {
    gap: 8px;
}


.btn-glass {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

    .btn-glass:hover {
        background: rgba(255,255,255,0.3);
    }


.btn-danger-soft {
    background: rgba(220,53,69,0.1);
    color: #dc3545;
}

    .btn-danger-soft:hover {
        background: rgba(220,53,69,0.2);
    }


.btn-loading {
    position: relative;
    pointer-events: none;
}

    .btn-loading::after {
        content: "";
        width: 16px;
        height: 16px;
        border: 2px solid transparent;
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.btn-block {
    width: 100%;
}
