.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.1;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 10px;
    margin-bottom: 10px;
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.btn:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    transform: translateY(-1px);
}

.btn:disabled,
.btn.is-disabled,
.btn.disabled,
.btn[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.btn-primary {
    background-color: black;
    color: #fff;
}

.btn-primary:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #202020;
    box-shadow: 0 4px 8px rgba(32, 32, 32, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #5a6268;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #218838;
}

.btn-warning {
    background-color: #ffc107;
    color: #333;
}

.btn-warning:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #e0a800;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.btn-danger:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #c82333;
}

.btn-info {
    background-color: #17a2b8;
    color: #fff;
}

.btn-info:hover:not(:disabled):not(.is-disabled):not(.disabled) {
    background-color: #138496;
}

.btn-link {
    padding: 0;
    background: transparent;
    color: #111;
    box-shadow: none;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
    margin-right: 0;
}

@media (max-width: 768px) {
    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .btn-sm {
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
}
