/* css/tasbih.css */

/* --- 1. TAB MENU NAVIGASI --- */
.tasbih-tabs {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 8px;
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.05);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-latin);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(15, 81, 50, 0.3);
}

.tab-btn:hover:not(.active) {
    background: rgba(0,0,0,0.05);
}

/* --- 2. TOMBOL FINGERPRINT (FIX POSISI) --- */
/* Kita ganti styling tombol bulat agar ikon benar-benar di tengah */
.btn-fingerprint {
    width: 110px;        /* Ukuran diperbesar sedikit */
    height: 110px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    
    /* KUNCI PRESISI (Flexbox Center) */
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 3.5rem;   /* Ukuran ikon pas */
    box-shadow: 0 10px 25px rgba(15, 81, 50, 0.4);
    transition: transform 0.1s, box-shadow 0.3s;
    margin: 20px auto;
    
    /* Efek Gelombang Halus */
    position: relative;
    overflow: hidden;
}

.btn-fingerprint:active {
    transform: scale(0.92); /* Efek membal saat ditekan */
    box-shadow: 0 5px 15px rgba(15, 81, 50, 0.3);
}

.btn-fingerprint i {
    pointer-events: none; /* Agar klik tembus ke tombol */
}

/* --- 3. LIST ZIKIR ITEM (SUGRO/KUBRO) --- */
.zikir-item {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    border-bottom: 3px solid rgba(0,0,0,0.05);
    transition: transform 0.2s;
    position: relative;
}

.zikir-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.zikir-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.zikir-arab {
    font-family: var(--font-arab);
    font-size: 1.6rem;
    text-align: right;
    direction: rtl;
    line-height: 2;
    margin: 15px 0;
    color: var(--text-main);
}

.zikir-latin {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-style: italic;
}

.zikir-arti {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 4. COUNTER KECIL PER ZIKIR --- */
.zikir-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.zikir-counter-btn {
    background: var(--bg-body);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
    transition: all 0.3s;
}

/* Saat target tercapai (misal 3/3), tombol jadi hijau */
.zikir-counter-btn.completed {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
