﻿/* ================= MASTER BUTTON ================= */

.btn-master {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .25s ease;
    min-height: 42px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

    /* Hover Lift */
    .btn-master:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0,0,0,.18);
    }

    /* Click Press */
    .btn-master:active {
        transform: scale(.96);
    }

    /* Shine Effect */
    .btn-master::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
        transform: translateX(-100%);
        transition: transform .6s ease;
    }

    .btn-master:hover::before {
        transform: translateX(100%);
    }

    /* Disabled */
    .btn-master:disabled {
        opacity: .6;
        pointer-events: none;
        box-shadow: none;
    }

/* PRIMARY */
.btn-primary {
    background: linear-gradient(135deg,#2563eb,#1d4ed8);
    color: #fff;
}

/* SUCCESS */
.btn-success {
    background: linear-gradient(135deg,#16a34a,#22c55e);
    color: #fff;
}

/* DANGER */
.btn-danger {
    background: linear-gradient(135deg,#dc2626,#ef4444);
    color: #fff;
}

/* WARNING */
.btn-warning {
    background: linear-gradient(135deg,#f59e0b,#fbbf24);
    color: #fff;
}

/* INFO */
.btn-info {
    background: linear-gradient(135deg,#0ea5e9,#38bdf8);
    color: #fff;
}

/* DARK */
.btn-dark {
    background: linear-gradient(135deg,#111827,#374151);
    color: #fff;
}

/* LIGHT */
.btn-light {
    background: #f3f4f6;
    color: #111827;
}

/* OUTLINE */
.btn-outline-primary {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

    .btn-outline-primary:hover {
        background: #2563eb;
        color: #fff;
    }

/* GHOST */
.btn-ghost {
    background: transparent;
    color: #2563eb;
    box-shadow: none;
}

    .btn-ghost:hover {
        background: rgba(37,99,235,.1);
    }

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 34px;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 16px;
    min-height: 52px;
}

.btn-block {
    width: 100%;
}
body.dark .btn-light {
    background: #1f2937;
    color: #e5e7eb;
}

body.dark .btn-outline-primary {
    border-color: #60a5fa;
    color: #93c5fd;
}

    body.dark .btn-outline-primary:hover {
        background: #2563eb;
        color: #fff;
    }