/* clean-buttons.css */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s;
    cursor: pointer;
}

/* Icon kiri */
.btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Ripple */
.btn::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    opacity: 0.3;
    pointer-events: none;
    animation: ripple 0.6s linear;
    background-color: #fff;
}

.btn:active::after {
    left: var(--ripple-x, 50%);
    top: var(--ripple-y, 50%);
    width: 100px;
    height: 100px;
    transform: scale(1);
    opacity: 0;
    transition: transform 0.6s, opacity 1s;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Theme */
.btn-primary {
    background-color: #2196f3;
    color: white;
}

.btn-primary:hover {
    background-color: #1976d2;
}

.btn-dark {
    background-color: #2e2e2e;
    color: white;
}

.btn-dark:hover {
    background-color: #1c1c1c;
}

.btn-light {
    background-color: #f5f5f5;
    color: #333;
}

.btn-light:hover {
    background-color: #e0e0e0;
}

/* Outline */
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid #2196f3;
    color: #2196f3;
}

.btn-outline-primary:hover {
    background-color: #2196f3;
    color: #fff;
}

/* Ukuran */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}
