/* OSMANLI TARZI MODERN MUKABELE PANELİ */
:root { 
    --primary: #1b4d3e;    /* Derin Mushaf Yeşili */
    --accent: #b88e2f;     /* Mat Altın Varak */
    --bg-cream: #f4eee0;   /* Şemua Kağıdı (Göz yormaz) */
    --white: #ffffff; 
    --ink: #1a1a1a;        /* Mürekkep Siyahı */
}

body { 
    margin: 0; 
    padding: 0 !important;
    background-color: var(--bg-cream);
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* ANA İÇERİK ALANI */
#mushaf-container { 
    width: 100% !important; 
    max-width: 100% !important; 
    margin: 110px 0 140px 0 !important; /* Üst ve alt menü boşluğu korunuyor */
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform; 
    -webkit-overflow-scrolling: touch;
}

/* AYET KARTLARI */
.ayet-wrapper { 
    width: 92% !important; 
    max-width: 900px !important; 
    margin: 12px auto !important; 
    padding: 25px !important; 
    background: var(--white) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    border: 1px solid rgba(184, 142, 47, 0.15) !important;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* ARAPÇA METİN */
.arabic-row { 
    font-family: 'Amiri', serif; 
    font-size: 1.2rem !important; 
    line-height: 4rem !important;
    text-align: center !important;
    color: var(--ink);
    margin-bottom: 20px;
}

/* AKTİF AYET (OKUNAN) */
.aktif-border {
    border: 2px solid var(--accent) !important;
    background-color: #fffdf5 !important;
    box-shadow: 0 0 20px rgba(184, 142, 47, 0.15) !important;
    transform: scale(1.01);
    z-index: 10;
}

.ayet-okundu {
    background-color: rgba(27, 77, 62, 0.05) !important;
    opacity: 0.9 !important;
}

/* SABİT ÜST BAŞLIK */
.app-header {
    position: fixed;
    top: 0; /* En tepeye sıfırlandı */
    left:0px;
    width: 100%;
    height: 100px !important;
    background: var(--bg-cream) !important;
    text-align: center;
    z-index: 90000 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 2px solid var(--accent) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.app-header h1 {
    font-family: 'Amiri', serif;
    color: var(--primary);
    margin:0 0 0 50px;
    font-size: 1.5rem;
    font-weight: bold;
}

.app-header p {
    color: var(--accent);
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}


  



#statusText2 {
    position: fixed !important;
    bottom: 170px !important; 
    left: 430px; !important;
    background: var(--primary) !important; 
    color: var(--accent) !important;
    padding: 6px 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 20px 20px 0px 0px !important; 
    border: 1px solid var(--accent) !important;
    border-left: none !important;
    z-index: 205000 !important;
}



/* ALT KONTROL PANELİ */
#controls-container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--primary) !important; /* Alt bar derin yeşil */
    height: 70px !important;
    z-index: 100002 !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    border-top: 3px solid var(--accent) !important;
}

/* OKU VE DİĞER BUTONLAR */
.ezber-btn2 {
    background: transparent !important;
    border: none !important;
    /*color: var(--accent) !important;*/
    font-family: 'Montserrat', sans-serif;
color: white;
    font-weight: 100 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}


/* AKTİF MODLARIN IŞIĞI */
.active-mode, .cuz-btn.active {
    color: var(--white) !important;
    text-shadow: 0 0 8px var(--accent);
}

.latin-text { 
    text-align: center;
    font-size: 1rem;
    color: #666;
    border-top: 1px solid #f0eddf;
    padding-top: 15px;
    font-style: italic;
}


/* Dokunma parlamasını engellemek için */
* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-tap-highlight-color: rgba(0,0,0,0) !important;
}

/* Butona tıklandığında çıkan mavi/kare çerçeveyi (focus) engellemek için */
button:focus, button:active {
    outline: none !important;
    box-shadow: none !important;
}

.word {
  display: inline-block;
  direction: rtl;
  font-family: 'Amiri', serif; /* Varsa Arapça fontunuz */
  cursor: pointer;
  margin: 0 2px;
}

.word:hover {
  /*color: #2ecc71;*/ /* Kelimenin üzerine gelince yeşil olması için */
}


/* JavaScript'e dokunmadan, sadece görselliği zorla düzeltir */
#modIcon svg, .ezber-btn svg {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: block !important;
    margin: 0 auto 5px auto !important;
}

.ezber-btn {
    min-height: 85px !important; /* Butonun daralmasını engeller */
}


#modIcon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important; /* 45px'den 32px'e düşürdük, daha dengeli oldu */
    width: 50px !important;
    height: 50px !important;
font-style: normal !important;
    line-height: 1 !important;
    margin: 0 auto !important;
    transition: all 0.2s ease; /* Mod değiştirirken yumuşak geçiş yapar */
}


/* Bekliyor (Kum saati) ikonu için özel ayar */
.busy-icon {
    font-size: 30px !important;
}