/* =========================================
   BUTTON BASE
========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 10px 20px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.2px;

    text-decoration: none;
    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

    box-sizing: border-box;
}

/* Hover umum */
.btn:hover {
    transform: translateY(-2px);
}

/* Active */
.btn:active {
    transform: translateY(0);
}

/* Focus */
.btn:focus-visible {
    outline: 3px solid rgba(0, 100, 107, 0.20);
    outline-offset: 2px;
}


/* =========================================
   PRIMARY
========================================= */

.btn-primary {
    background: linear-gradient(135deg, #00646b, #19bc9d);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 100, 107, 0.20);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00545a, #15a98d);
    box-shadow: 0 10px 24px rgba(0, 100, 107, 0.30);
}


/* =========================================
   SECONDARY
========================================= */

.btn-secondary {
    background: #6c757d;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(108, 117, 125, 0.20);
}

.btn-secondary:hover {
    background: #5c636a;
    box-shadow: 0 9px 20px rgba(108, 117, 125, 0.30);
}


/* =========================================
   SUCCESS
========================================= */

.btn-success {
    background: #198754;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(25, 135, 84, 0.20);
}

.btn-success:hover {
    background: #157347;
    box-shadow: 0 9px 20px rgba(25, 135, 84, 0.30);
}


/* =========================================
   WARNING
========================================= */

.btn-warning {
    background: #ffc107;
    color: #212529;
    box-shadow: 0 5px 14px rgba(255, 193, 7, 0.25);
}

.btn-warning:hover {
    background: #e0a800;
    box-shadow: 0 9px 20px rgba(255, 193, 7, 0.35);
}


/* =========================================
   DANGER
========================================= */

.btn-danger {
    background: #dc3545;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(220, 53, 69, 0.20);
}

.btn-danger:hover {
    background: #bb2d3b;
    box-shadow: 0 9px 20px rgba(220, 53, 69, 0.30);
}


/* =========================================
   INFO
========================================= */

.btn-info {
    background: #0dcaf0;
    color: #083c45;
    box-shadow: 0 5px 14px rgba(13, 202, 240, 0.20);
}

.btn-info:hover {
    background: #0bb5d8;
    box-shadow: 0 9px 20px rgba(13, 202, 240, 0.30);
}


/* =========================================
   DARK
========================================= */

.btn-dark {
    background: #212529;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(33, 37, 41, 0.20);
}

.btn-dark:hover {
    background: #000000;
    box-shadow: 0 9px 20px rgba(33, 37, 41, 0.30);
}


/* =========================================
   LIGHT
========================================= */

.btn-light {
    background: #f5f6f7;
    color: #343a40;
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.btn-light:hover {
    background: #e9ecef;
    border-color: #ced4da;
}


/* =========================================
   PURPLE
========================================= */

.btn-purple {
    background: #6f42c1;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(111, 66, 193, 0.20);
}

.btn-purple:hover {
    background: #59339d;
    box-shadow: 0 9px 20px rgba(111, 66, 193, 0.30);
}


/* =========================================
   PINK
========================================= */

.btn-pink {
    background: #d63384;
    color: #ffffff;
    box-shadow: 0 5px 14px rgba(214, 51, 132, 0.20);
}

.btn-pink:hover {
    background: #b02a6b;
    box-shadow: 0 9px 20px rgba(214, 51, 132, 0.30);
}

/* Small */
.btn-sm {
    min-height: 34px;
    padding: 7px 14px;
    font-size: 12px;
    border-radius: 8px;
}

/* Normal */
.btn-md {
    min-height: 42px;
    padding: 10px 20px;
    font-size: 14px;
}

/* Large */
.btn-lg {
    min-height: 50px;
    padding: 13px 26px;
    font-size: 16px;
    border-radius: 12px;
}

/* Full Width */
.btn-block {
    width: 100%;
}