.prayer-date-container {
    display: flex;
    align-items: center;
    justify-content: center; 
	flex-direction: row;
    margin: 0 auto;
	width: 80%;
}

.date-nav-arrow {
    background: #1E90FF; /* Blau wie dein Design */
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 10px; /* Runde Buttons */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s; /* Sanfter Hover-Effekt */
}

.date-nav-arrow:hover {
    background: #1565c0; /* Dunkleres Blau beim Hovern */
}

.prayer-date { 
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 20px;
	margin: 0 auto;
    text-align: center;
	color: white;
}

/* Tabelle */
.prayer-times {
    width: 95%;
	margin: 10px auto;
    border-collapse: collapse; 
	border-radius: 20px;
	background: white;
    font-size: 20px;  
}

.prayer-times tr { 
    position: relative; /* Wichtig für das Pseudoelement */
}

.prayer-times td {
    padding: 5%; 
    border-bottom: none; /* Standard-Rahmen entfernen */
}

.prayer-times tr::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%; /* 10% Abstand links (damit der Rahmen zentriert wirkt: (100% - 80%) / 2) */
    width: 90%; /* 80% der Tabellenbreite */
    height: 1px;
	background-color: #e0e0e0;
}
.prayer-times th {
    background-color: #1976d2;
    font-weight: 600;
    color: white;
} 

.prayer-times tr.active-prayer {
    font-weight: bold; /* Fett gedruckt */
    color: #1E90FF; /* Blaue Textfarbe */
}

.prayer-times tr.current-prayer td {
    background-color: #e6f2ff;
}

.prayer-times tr.current-prayer td {
    font-weight: bold;
    color: #176b55;
}

.prayer-times tr.next-prayer td {
    background-color: #f3f8fc;
}

.prayer-times tr.current-prayer td:first-child {
    border-radius: 20px 0 0 20px;
}

.prayer-times tr.current-prayer td:last-child {
    border-radius: 0 20px 20px 0;
}

.prayer-state {
    text-align: right;
    white-space: nowrap;
    font-size: 0.7em;
}

.prayer-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.prayer-error,
.prayer-source {
    max-width: 90%;
    margin: 16px auto;
    text-align: center;
    color: #fff;
}

.prayer-error {
    padding: 12px;
    background: #8b2b20;
    border-radius: 8px;
}

.title{
	text-align: center;
	margin: 0 auto;
}

.page{
	min-height: 87.3vh;
	background-color: #5387C6;
	padding: 10px 0 0;
}

.left-align {
    text-align: left;
}

.right-align {
    text-align: right;
}

.button-blue {
    background: #1E90FF;
    color: white;
    width: auto;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    display: table;
    transition: background 0.2s;
    text-align: center;
    padding: 8px 16px;
    font-size: 20px;
    margin: 0 auto;
}
    

@media (min-width: 768px) {
    /* Tabelle breiter und zentriert */
    .prayer-times {
        max-width: 95%;
        margin: 0 auto; /* Zentriert die Tabelle */
		height: auto;
		border-radius: 20px;
    	font-size: 50px;
    }

    /* Mehr Padding für bessere Lesbarkeit */
    .prayer-times td {
        padding: 50px;
    } 

    /* Optional: Schatten für mehr Tiefe */
    .prayer-times tr {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 600px) {
    .prayer-times {
        font-size: 16px;
    }

    .prayer-times td {
        padding: 12px 10px;
    }

    .prayer-state {
        font-size: 12px;
    }
}