body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f7f6; display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; }
.container {
    text-align: center;
    background-color: transparent;

    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    max-width: 85vh;

    text-shadow:1px 1px 1px black;
    linear-gradient(217deg, rgb(0 0 255 / 0.8), transparent 18.81%),
    linear-gradient(127deg, rgb(0 255 0 / 0.8), transparent 18.81%),
    linear-gradient(336deg, rgb(255 0 0 / 0.8), transparent 18.81%);
    letter-spacing:1pt;
    border-radius: 9999px;
}
h1 { color: #223f5d; margin-bottom: 15px; font-size: 28px; }
p { color: #416365; margin-bottom: 35px; line-height: 1.6; }
.btn { background-color: #3498db; color: white; padding: 14px 35px; border: none; border-radius: 8px; cursor: pointer; font-size: 16px; text-decoration: none; transition: all 0.3s ease; display: inline-block; font-weight: 600; }
.btn:hover { background-color: #2980b9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3); }
.status-container { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.status-dot { height: 10px; width: 10px; background-color: #95e8b8; border-radius: 50%; display: inline-block; margin-right: 5px; }
.status-text { font-size: 0.85em; color: #27ae60; font-weight: 500; }


@media only screen and (max-width: 480px) {
    body {
        font-size: 16px; /* Yazıları okunabilir boyuta getirir */
    }
    .month-btn {
        padding: 12px 20px; /* Butonları parmakla basılabilir yap */
        width: 100%; /* Butonları alt alta dizer */
    }
    table {
        display: block;
        overflow-x: auto; /* Tablo genişse sağa kaydırılabilir yapar */
    }
}

/* GENEL AYARLAR (Laptop ve Tablet için) */
body {
    font-size: 18px; /* Varsayılan fontu biraz büyüttük */
    transition: all 0.3s ease;
    background:
      linear-gradient(217deg, rgb(255 0 0 / 0.9), transparent 69.96%),
      linear-gradient(127deg, rgb(0 255 0 / 0.9), transparent 69.96%),
      linear-gradient(336deg, rgb(0 0 255 / 0.9), transparent 69.96%);
}



/* PORTRE MODU (Dikey ve Dar Ekranlar - Z Fold Dış Ekran) */
@media only screen and (max-width: 340px) and (orientation: portrait) {
    body {
        zoom: 1.5; /* Her şeyi %150 büyütür */
        -moz-transform: scale(1.5); /* Firefox desteği */
        -moz-transform-origin: 0 0;
        background-color: green;

    }

    .container {
        width: 95%; /* Kenarlarda çok az boşluk bırak */
        margin: 0 auto;
    }
    body *{font-size:200%}
    table td:nth-child(1){width:160px;}
    table td:nth-child(2){width:36px;}
    table td:nth-child(3){width:150px;}
    table td:nth-child(4){width:auto;}
}

/* LANDSCAPE MODU (Yatay Ekran veya Z Fold Açık Ekran) */
@media only screen and (min-width: 640px) {
    body {
        zoom: 1.0; /* Normal boyuta geri döner */
        -moz-transform: scale(1.0);
        background-color: blue;
    }
    body *{font-size:111%}
    table td:nth-child(1){width:190px;}
    table td:nth-child(2){width:36px;}
    table td:nth-child(3){width:190px;}
    table td:nth-child(4){width:auto;}
}


@media screen and (max-width: 345px) {
    :root {
        /* Yazı boyutunu ekran genişliğine göre dinamik yapıyoruz */
        /* 4.5vw: Ekran genişliğinin %4.5'i kadar bir taban punto */
        font-size: 4.5vw !important;
    }
    body {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.6 !important;
        /* Taşmayı önlemek için kutu modelini düzeltiyoruz */
        box-sizing: border-box !important;
        background-color: tomato;
    }
    /* Tüm içerik kutularının genişliğini zorla ayarla */
    div, section, table, form {
        max-width: 100% !important;
        height: auto !important;
    }
    body *{font-size:150%}
    table td:nth-child(1){width:175px;}
    table td:nth-child(2){width:40px;}
    table td:nth-child(3){width:165px;}
    table td:nth-child(4){width:auto;}
}


@media (orientation: landscape) {
  body {background-color: #b9d3b9;}
}

@media (orientation: portrait) {
    body {background-color: whitesmoke;}
    body *{ font-size: 113%;}
    body .button{ font-size: 111%;}
    td,th{padding:0;margin:0}
}



