@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Container Utama */
.bmkg-weather-slideshow-outer {
    width: 100%;
    overflow: hidden;
    position: relative;
    font-family: 'Poppins', sans-serif;
    border-radius: 16px;
    background-color: #ffffff; 
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bmkg-weather-slideshow-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.bmkg-weather-slide {
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 24px;
    background-color: #ffffff; 
    color: #333;
}

/* Info Lokasi */
.location-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.6em; /* Ukuran font diperkecil */
    font-weight: 700;
    color: #1a237e;
}

.location-info p {
    margin: 0;
    font-size: 0.9em; /* Ukuran font diperkecil */
    color: #555;
    font-weight: 400;
}

/* Grid Prakiraan Cuaca */
.weather-forecast-24h-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
    text-align: center;
}

.weather-forecast-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 250px;
    padding: 10px 5px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Header Periode (Pagi, Siang, dll) */
.period-header {
    margin-bottom: 8px;
    height: 40px;
}

.period-name {
    font-weight: 600;
    font-size: 0.9em; /* Ukuran font diperkecil */
    color: #333;
}

.period-time {
    font-size: 0.8em; /* Ukuran font diperkecil */
    color: #666;
}

/* Ikon Cuaca Utama */
.weather-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
}

/* Deskripsi Cuaca */
.desc {
    font-weight: 600;
    font-size: 0.9em; /* Ukuran font diperkecil */
    margin-bottom: 12px;
    height: 24px;
}

/* Detail dengan Ikon (Suhu, Kelembapan, Angin) */
.weather-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: auto;
}

.detail-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather-detail-icon {
    width: 18px; /* Ukuran ikon diperkecil */
    height: 18px; /* Ukuran ikon diperkecil */
    margin-right: 6px;
    fill: currentColor;
    color: #555;
}

.wind-arrow {
    transition: transform 0.5s ease;
}

.temp {
    font-weight: 700;
    font-size: 1em; /* Ukuran font diperkecil */
    color: #007bff;
}

.humidity {
    font-weight: 500;
    font-size: 0.9em; /* Ukuran font diperkecil */
}

.wind-text {
    font-size: 0.85em; /* Ukuran font diperkecil */
}

/* Tampilan "Data tidak tersedia" */
.no-data {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85em; /* Ukuran font diperkecil */
}

/* Navigasi Panah */
.weather-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.weather-nav span {
    pointer-events: auto;
    cursor: pointer;
    font-size: 1.5em;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.weather-nav span:hover {
    background-color: #f0f0f0;
}

/* Menghilangkan gaya default dari tautan widget */
.bmkg-weather-widget-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.bmkg-weather-widget-link:hover {
    text-decoration: none;
}