/* ================= BUTTON FILE UPLOAD ================= */
.btn-file-upload {
    position: relative;
    color: #fff !important;

    /* 🔥 BESAR & NYAMAN */
    font-size: 1.1rem !important;
    font-weight: 600;
}

.btn-file-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    background-color: transparent;
    cursor: pointer;
}

/* ================= BUTTON TOOLS ================= */
.btn-custom-tools {
    position: relative;
    color: #fff !important;
    border: 0;
    margin: 0;

    /* 🔥 LEBIH TEBAL & BESAR */
    font-size: 1.1rem !important;
    font-weight: 700;
    line-height: 1.6;

    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 10px;

    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-custom-tools:hover,
.btn-custom-tools:focus {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ================= TABLE BUTTON ================= */
.btn-table-delete {
    display: none;
}

/* ================= CARD DATA ================= */
.card-data {
    position: relative;
    min-height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    /* 🔥 FONT BESAR */
    font-size: 1.1rem !important;
    font-weight: 500;
    text-align: center;
}

/* ================= SPINNER ROTATE ================= */
.spinner {
    border: 6px solid rgba(0, 0, 0, 0.15);
    border-left-color: #9c27b0;
    border-radius: 50%;

    width: 50px;
    height: 50px;

    animation: spin 1s linear infinite;
    margin: 0 auto;
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ================= SPINNER BOUNCE ================= */
.spinner-bounce {
    margin: 0 auto;
    width: 90px;
    text-align: center;
}

.spinner-bounce > div {
    width: 18px;
    height: 18px;

    background-color: #9c27b0;
    border-radius: 50%;

    display: inline-block;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner-bounce .bounce1 {
    animation-delay: -0.32s;
}

.spinner-bounce .bounce2 {
    animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ======================================================= */

/* ================= MATERIAL DASHBOARD OVERRIDE ================= */

/* ROOT SCALE */
html {
    font-size: 15px !important; /* KUNCI UTAMA */
}

/* BODY & GLOBAL */
body {
    font-size: 1.05rem !important;
}

/* CARD */
.card,
.card-body {
    font-size: 1.10rem !important;
}

/* BUTTON */
.btn,
.btn-custom-tools,
.btn-file-upload {
    font-size: 13px !important;
    font-weight: 250;
}

/* FORM */
.form-control,
.form-select,
textarea {
    font-size: 16px !important;
}

/* TABLE */
.table,
.table td,
.table th {
    font-size: 16px !important;
}

/* SMALL JANGAN TERLALU KECIL */
small,
.text-muted {
    font-size: 0.95rem !important;
}
