/* Genel Konteyner */
.cea-iftar-container {
    width: 100%;
    max-width: 1400px;
    text-align: center;
    background: #313131;
    padding: 20px;
    border-radius: 10px;
    color: white;
    font-family: Arial, sans-serif;
    margin: auto;
}

/* Tablo Konteyneri */
.cea-iftar-table-container {
    width: 100%;
    overflow-x: auto; /* Mobilde kaydırma */
    display: flex;
    justify-content: center;
}

/* İftar Tablosu */
.cea-iftar-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Tablo Hücreleri */
.cea-iftar-table th, .cea-iftar-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}

/* Tablo Başlıkları */
.cea-iftar-table th {
    background: #0073aa;
    color: white;
}

/* Sayaç Konteyneri */
#cea-sayac-container {
    margin: 20px auto;
    padding: 15px;
    background: #222;
    border-radius: 8px;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Sayaç Yazısı */
#cea1-sayac {
    font-size: 3.5rem;
    font-weight: bold;
    color: #00ff00;
    background: #ffffff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.15);
}

/* Sayaç Başlığı */
#cea1-sayac-baslik {
    font-size: 1.8rem;
    color: #ffcc00;
    margin-bottom: 10px;
}

/* Responsive Tasarım */

/* Büyük Ekranlar (PC ve Laptop) */
@media (min-width: 1200px) {
    .cea-iftar-container {
        max-width: 100%;
        margin: 0 auto;
    }

    .cea-iftar-table {
        width: 100%;
    }

    #cea-sayac-container {
        max-width: 700px;
        padding: 25px;
    }

    #cea1-sayac {
        font-size: 4rem;
        max-width: 500px;
    }

    #cea1-sayac-baslik {
        font-size: 2rem;
    }
}

/* Tablet ve Küçük Laptoplar */
@media (max-width: 992px) {
    .cea-iftar-container {
        max-width: 95%;
        padding: 15px;
    }

    .cea-iftar-table-container {
        overflow-x: auto;
    }

    .cea-iftar-table {
        font-size: 14px;
    }

    .cea-iftar-table th, .cea-iftar-table td {
        padding: 10px;
    }

    #cea-sayac-container {
        max-width: 500px;
    }

    #cea1-sayac {
        font-size: 3rem;
        max-width: 350px;
    }

    #cea1-sayac-baslik {
        font-size: 1.6rem;
    }
}

/* Küçük Tabletler ve Büyük Telefonlar */
@media (max-width: 768px) {
    .cea-iftar-container {
        max-width: 100%;
        padding: 10px;
    }

    .cea-iftar-table-container {
        width: 100%;
        overflow-x: auto;
    }

    .cea-iftar-table {
        font-size: 12px;
    }

    .cea-iftar-table th, .cea-iftar-table td {
        font-size: 12px;
        padding: 8px;
    }

    #cea-sayac-container {
        max-width: 400px;
    }

    #cea1-sayac {
        font-size: 2.5rem;
        max-width: 300px;
    }

    #cea1-sayac-baslik {
        font-size: 1.4rem;
    }
}

/* Küçük Telefonlar (iPhone SE, Galaxy A) */
@media (max-width: 480px) {
    .cea-iftar-container {
        padding: 10px;
        border-radius: 8px;
    }

    .cea-iftar-table-container {
        width: 100%;
        overflow-x: auto;
    }

    .cea-iftar-table {
        font-size: 11px;
        width: 100%;
    }

    .cea-iftar-table th, .cea-iftar-table td {
        font-size: 10px;
        padding: 6px;
    }

    #cea-sayac-container {
        max-width: 350px;
    }

    #cea1-sayac {
        font-size: 2rem;
        max-width: 250px;
    }

    #cea1-sayac-baslik {
        font-size: 1.2rem;
    }
}
