/* ===============================
   Extra Compact App Buttons (cstm-style)
   Prefix: cstm-style
=================================*/

.cstm-style-app-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Jarak antar tombol */
}

.cstm-style-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 4px 10px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    min-width: 110px;
    font-size: 12px;
    height: 36px;
}

.cstm-style-app-btn:hover {
    background: rgb(245, 124, 0);
    transform: translateY(-2px);
}

.cstm-style-app-btn i {
    font-size: 16px;
    line-height: 1;
}

.cstm-style-app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cstm-style-app-text span {
    font-size: 9px;
    color: #ccc;
    line-height: 1;
}

.cstm-style-app-text .cstm-style-h6 {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* ========== Responsive ========== */

/* Mobile kecil (≤360px) */
@media (max-width: 360px) {
    .cstm-style-app-btn {
        flex-direction: column;
        gap: 4px;
        min-width: 90px;
        padding: 4px 8px;
        height: auto;
    }
    .cstm-style-app-btn i {
        font-size: 14px;
    }
    .cstm-style-app-text {
        text-align: center;
    }
    .cstm-style-app-text span {
        font-size: 8px;
    }
    .cstm-style-app-text .cstm-style-h6 {
        font-size: 11px;
    }
}

.mil-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* tampil 3 baris awal */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mil-expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

