/* --- Ergebnisse der Stationen (Dynamische mittige Ausrichtung) --- */
.listeners-results {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Standardmäßig zentriert */
    gap: 16px;
}

/* --- Stationskarten (max. 220px breit) --- */
.listeners-card {
    width: 100%;
    max-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.35);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.non-existing {
    padding-top: 165px;
}

.non-existing .station_name {
}

.non-existing .listener_count {
    display: none;
}

.non-existing .error-message {
    color: #d52823;  /* Rote Farbe für die Fehlermeldung */
}

.total-listeners {
	/* font-weight: bold; */
	/* text-decoration: underline; */
	font-size: 18px;
}

/* --- Dynamische mittige Ausrichtung für 2 Boxen --- */
@media (min-width: 481px) {
    .listeners-results:has(.listeners-card:nth-child(2):last-child) {
        justify-content: center;
    }
}

/* --- Stationsbilder --- */
.station-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
	cursor: pointer;
	margin-top: 10px;
}

/* --- Info-Bereich --- */
.info {
    padding: 0px;
}

/* --- Station Name --- */
.station_name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 6px;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
	padding: 0 5px 0 5px;
}

/* --- Höreranzahl --- */
.listener_count {
    font-size: 16px;
    font-weight: 500;
}

/* --- Listener-Klassen für Farbcodierung --- */
.low { color: green; }
.medium { color: orange; }
.high { color: red; }

/* --- Mobile Optimierung --- */
@media (max-width: 768px) {
    .listeners-results {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .listeners-card {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .listeners-card {
        max-width: 45%;
    }
	.input-field {
		height: 80px;
	}
}

@media (max-width: 420px) {
	.station-image {
		width: 120px;
		height: 120px;
	}
	.non-existing {
		padding-top: 135px;
	}	
}

@media (max-width: 345px) {
    .listeners-card {
        max-width: 90%
    }	
	.non-existing {
		padding: 20px 0 20px 0;
	}
}
