/* 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 {
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

h2 {
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

h3 {
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

h4 {
    font-family: "Times New Roman", Georgia, Garamond, serif;
    font-size: 20px;
    font-weight: bold;
    text-align: left;
    color: #222;
    margin: 0;
    line-height: 1.2;
}



h5 {
    margin: 0;
    text-align: center;
     font-size: 18px;
}

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

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

/* Ana kapsayıcı */
#wrapper {
    max-width: 1040px;
    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 satırı */
.text {
    margin: 10px auto;
    padding: 15px;
    max-width: 1040px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--secondary-color);
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.text p {
    margin: 0;
}

.indent {
    text-indent: 70px;
}

.hanging{
    padding-left:100px;
    padding-right:50px;
    text-indent:-70px;
}

img.flashButton {
    transform: none !important;
    box-shadow: none !important;
}

/* Link alanı */
.link {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
}

.link1 {
    text-align: center;
    font-weight: bold;
    margin: 0;
}

/* Önceki / Sonraki linkler */
.link2 {
    text-align: left;
    margin: 0 30px;
    text-indent: -125px;
    padding-left: 125px;
}

/* Link stilleri */
.link a {
    text-decoration: none;
    color: #0033FF;
    font-weight: bold;
}

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

/* Footer */
.footer {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    line-height: 1;
    font-size: 12px;
    color: #6c757d;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

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

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

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

    .footer {
        padding: 10px;
        font-size: 10px;
        max-width: 100%;
    }
}

/* Tablolar */
.single-cell {
    border: 1px solid #000;
    margin: 0 auto;
}

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

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

.normal td {
    padding: 4px 6px;
    vertical-align: top;
}

.normal td:first-child {
    width: 70px;
    text-align: right;
    white-space: nowrap;
}

.normal td:nth-child(2) {
    width: 90px;
    white-space: nowrap;
}

.normal td:nth-child(3) {
    text-align: left;
}

.normal p {
    margin: 0 0 4px 0;
}

.normal p:last-child {
    margin-bottom: 0;
}

.normal hr {
    border: none;
    border-top: 1px solid black;
    margin: 0;
    height: 1px;
}

.normal tr {
    border-bottom: 1px solid #ddd;
}

.normal tr:last-child {
    border-bottom: none;
}

.normal tr:hover {
    background-color: #f5f5f5;
}

.yellow-row {
     background-color: #fffef6
}

.blue-row {
     background-color: #f2f5fa
}

/* İç 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 table {
    display: block;
    margin: 15px 0;
}



/* Buton link */
.link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    margin-bottom: 12px;
    background: linear-gradient(to bottom, #eeeeee, #bbbbbb);
    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;
    transition: background 0.3s, transform 0.2s;
    font-size: 16px;
}


.link-button:hover {
    background: linear-gradient(to bottom, #dddddd, #aaaaaa);
    transform: translateY(-2px);
}


.link-button img {
    width: 20px;
    height: 20px;
}



.alpha-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  vertical-align: middle;
}


.alpha-wrap img.alpha-btn {
    display: block;
    position: relative;
    z-index: 2;               /* PNG üstte */
    transform: none !important;
    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-size: 13px;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
    pointer-events: none;
}

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

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

.normal .alpha-wrap{
  float:right;
  margin-left:10px;
}


/* =========================
   WEB PUSH UI
   ========================= */

.web-push-box{
  display:flex;
  align-items:center;
  margin:0;
}

.web-push-label {
    display: inline-flex;
    /* sadece içeriği kadar yer kaplar */
    align-items: center;
    gap: 2px;
    user-select: none;
    font-size: 15px;

    cursor: pointer;
    /* yazı + checkbox üstünde el */
    width: fit-content;
    /* bazı tarayıcılarda ekstra garanti */
}

.web-push-text {
    font-family: "Times New Roman", Georgia, serif;
    text-decoration: none;
    transition: text-decoration 0.15s ease;
}

.web-push-label:hover .web-push-text {
    text-decoration: underline;
}

#pushToggle {
    width: 15px;
    height: 15px;
    transform: scale(1.1);
    transform-origin: center;
    cursor: pointer;
    /* zaten pointer; label da pointer */
}


.web-push-status{
  margin-left: 6px;   /* kutuya daha yakın */
  font-size: 13px;
  color: #666;
  cursor: default;    /* el değil ok */
  user-select: none;  /* istersen kalsın/çıkar */
  padding-right: 10px;
}

/* News item (tekleştirildi) */
.news {
    margin: 5px auto;
    padding: 5px;
    max-width: 1040px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--secondary-color);
    overflow-wrap: break-word;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sol link alanı */
.goto_news {
    font-size: 15px;
    padding-left: 10px;
}

.goto_news a {
  color: var(--secondary-color);   /* normal metin rengi */
  font-weight: normal;             /* bold değil */
  text-decoration: none;           /* alt çizgi yok */
}

.goto_news a:hover {
  text-decoration: underline;      /* hover'da istersen hafif belirgin */
}
