/* ========================================================
   TESTIMONI CSS (Clean & Fixed Layout)
   ======================================================== */

/* 1. REVIEW AVATAR */
.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cyan, #06b6d4);
    background: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan, #06b6d4);
    flex-shrink: 0;
}

/* 2. CUSTOM POP-UP ALERT & CONFIRM MODAL OVERLAY */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: var(--card-bg, #1e1e1e);
    border: 1px solid var(--border, #333333);
    border-radius: 18px;
    padding: 24px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: scale(0.85);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-alert-overlay.active .custom-alert-box {
    transform: scale(1);
}

.custom-alert-icon {
    width: 55px;
    height: 55px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan, #06b6d4);
    font-size: 26px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
}

.custom-alert-icon.warning {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.custom-alert-box h3 {
    color: var(--text-main, #ffffff);
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
}

.custom-alert-box p {
    color: var(--gray, #9ca3af);
    font-size: 13px;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* 3. PERBAIKAN TOMBOL MODAL CONFIRM (SIDE-BY-SIDE) */
.modal-btn-group {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 15px !important;
}

.modal-btn-group button {
    flex: 1 !important;
    width: auto !important;
    display: inline-block !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.2s ease;
}

/* Tombol Batal (Gelap) */
.modal-btn-group .btn-cancel {
    background-color: #2b303b !important;
    color: #ffffff !important;
    border: 1px solid #3f4756 !important;
}

.modal-btn-group .btn-cancel:hover {
    background-color: #373e4d !important;
}

/* Tombol Hapus (Merah) */
.modal-btn-group .btn-danger {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border: 1px solid #ef4444 !important;
}

.modal-btn-group .btn-danger:hover {
    background-color: #dc2626 !important;
}

/* Tombol Single di Custom Alert (Oke) */
.custom-alert-box > button {
    background: var(--cyan, #06b6d4);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
}

.custom-alert-box button:active {
    transform: scale(0.98);
                     }
