/* Değişkenler */
:root {
    --primary-color: #007bff;
    --secondary-color: #333;
    --background-color: #ffffff;
    --border-color: #ddd;
}

/* Genel Ayarlar */
body {
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-size: 18px;
    line-height: 1.2;
    background-color: #1814148f;
}

/* Başlıklar */
h1, h2, h3 {
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }

h4 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}



h5 {
    margin: 0;
    text-align: center;
}

h5 img {
    display: inline-block;
    margin: 0 auto;
}

h6 {
    margin: 0;
    text-align: center;
}

.topic {
  background-image: url('../global/break.jpg');
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
  width: 100%;
  height: 35px;
}


table {
    margin-left: auto;
    margin-right: auto;
    display: table;
}


/* Wrapper */
#wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2px;
    background-color: var(--background-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Banner */
#banner {
    position: relative;
    width: 100%;
    margin-bottom: 0px;
    text-align: center;
}

#banner img {
    max-width: 100%;
    height: auto;
}

/* Genel Metin Alanı */
.text {
    margin: 10px auto;
    padding: 15px;
    max-width: 890px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.text p {
    margin: 0;
}

/* Başlık satırı */
.link1 {
    margin: 10px 0 6px 0;
    font-size: 18px;
    font-weight: bold;
    padding-left: 30px;
    color: #222;               /* Daha yumuşak siyah */
}

/* Tek tek link satırları */
.link2 {
    text-align: left;
    margin: 2px 30px;
    text-indent: -110px;
    padding-left: 110px;
    line-height: 1.45;         /* okunabilirlik */
}

/* Liste düzeni */
.link ul {
    margin: 6px 0 0 55px;
    padding: 0;
}

/* Liste satırları */
.link li {
    margin: 6px 0;
    line-height: 1.45;
}

/* Bullet (madde işareti) */
.link li::marker {
    color: #666;               /* yumuşak gri */
    font-size: 0.95em;
}

/* Linklerin genel stili */
.link a {
    text-decoration: none;
    color: #1a4fb3;            /* kibar mavi */
    font-weight: normal;
    transition: color 0.2s ease;
}

/* Hover */
.link a:hover {
    text-decoration: underline;
    color: #123a85;            /* zarif koyulaşma */
}

/* Flash Mesaj */
.flash {
    margin: 0px auto;
    padding: 0;
    width: fit-content;

}

/* Footer */
.footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px 15px;
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    color: #444;
    box-sizing: border-box;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Paragraflar */
.text-content {
    color: var(--secondary-color);
    margin: 0;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    #wrapper {
        max-width: 100%;
        padding: 10px;
    }

    .text {
        margin: 0 10px;
        padding: 10px;
    }
}

/* Tek Hücreli Tablo */
.single-cell {
    border: 1px solid #000;
    margin: 0 auto;
}

.single-cell td {
    padding: 10px;
}

/* Normal Tablo */
.normal {
    border: 1px solid black;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    border-collapse: collapse;
    border-spacing: 0;
}

.normal td {
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

/* Kesir Çizgilerini Düzeltme */
.normal hr {
    border: none;
    border-top: 1px solid black;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 1px;
    line-height: 1;
}

/* Üst ve Alt Yazıları Çizgiye Yaklaştırma */
.normal tr:nth-child(1) td {
    padding-bottom: 2px;
}

.normal tr:nth-child(3) td {
    padding-top: 2px;
}

/* Paragraf Yüksekliği */
.normal p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

/* İç Tablo */
.inner {
    border: 1px solid black;
    border-collapse: collapse;
    font-size: 16px;
    font-family: "Times New Roman", Times, serif;
    margin: 0 auto;
}

.inner th, .inner td {
    border: 1px solid black;
    padding: 2px 10px;
    text-align: left;
}

/* Dış Tablo */
.outside {
    border: 1px solid black;
    padding: 15px;
    margin: 20px auto;
    border-collapse: separate;
    border-spacing: 0;
}

.outside tr {
    padding: 15px;
    margin: 20px;
}

.outside table {
    display: block;
    margin: 15px 0;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    margin-bottom: 12px;
    background: linear-gradient(to bottom, #eeeeee, #bbbbbb); /* Bevel efekti için degrade */
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #999;
    border-radius: 8px;
    box-shadow: inset 1px 1px 3px #ffffff, inset -1px -1px 3px #888888; /* Bevel iç gölge */
    transition: background 0.3s, transform 0.2s;
    font-size: 16px;
  }
  
  .link-button:hover {
    background: linear-gradient(to bottom, #dddddd, #aaaaaa); /* Hover'da hafif renk değişimi */
    transform: translateY(-2px);
  }
  
  .link-button img {
    width: 20px;
    height: 20px;
  }

.terminology-box {
    background: #f9f9f9;
    border: 1px solid #c0c0c0;
    border-radius: 6px;
    margin: 10px auto;
    padding: 0;              /* burada 0 olsun */
    max-width: 890px;        /* .text ile aynı */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.terminology-header {
    cursor: pointer;
    padding: 12px 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f1ff;
    border-bottom: 1px solid #c0c0c0;
    border-radius: 6px 6px 0 0;
}

.terminology-content {
    padding: 15px;           /* içeriğe boşluk buradan gelsin */
    display: none;           /* BAŞLANGIÇTA KAPALI */
    background: linear-gradient(to bottom, #fffef7, #f6f3df);
}
.info-icon {
    width: 22px;
    height: 22px;
}

.arrow {
    margin-left: auto;
    font-size: 18px;
}


.term-table {
    border-collapse: collapse;
    width: 90%;
    font-size: 18px;
}


.term-table th,
.term-table td {
    border: 1px solid #000;
    padding: 4px 6px;
    text-align: center;
    height: 30px;           /* Satır yüksekliği */
    line-height: 15px;      /* DÜŞEY ORTALAMA */
    background-color: #fafafa;
    font-size: 18px;
}

.term-table th {
    font-weight: bold;
    background-color: #f0f0f0;
}



.alpha-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;     /* düşey ortalama */
  justify-content: center;
  margin-left: 10px;
  margin-right: 10px;      /* sağdan 10px boşluk (satır içinde) */
  vertical-align: middle;
}

.alpha-wrap img.alpha-btn{
  display: block;
  position: relative;
  z-index: 2;                 /* PNG üstte */
  transform: none !important; /* global hover scale iptal */
  box-shadow: none !important;
}

.alpha-wrap::after{
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;                 /* yazı altta (PNG transparan olduğu için görünür) */
  color: #000;
  font-weight: normal;
  text-decoration: none;
  pointer-events: none;
  white-space: nowrap;
  font-size: 13px;
}

.alpha-wrap:hover::after{
  text-decoration: underline;
}

.alpha-wrap:active::after{
  font-weight: bold;
  text-decoration: underline;
}
