.city-details .note {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    font-size: 0.9rem;
}

.city-details #city-description {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: aliceblue;
}

.city-details iframe {
    width: 100%;
    height: 500px;
}

.city-details .summary {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.city-details .summary span {
    display: flex;
    align-items: center;
    min-width: 150px;
    white-space: normal;
}

.city-details .summary i {
    width: 15px;
    margin-right: 15px;
    color: #1a73e8;
}

.city-details .btn-group {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    justify-content: center;
}

.city-details .btn-group .custom-btn {
    background-color: #1a73e8;
    color: #fff !important;
    font-family: "Roboto", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border-radius: 5px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
    border: none;
    cursor: pointer;
}

.city-details .btn-group .print-btn {
    background-color: #1a73e8;
}

.city-details .btn-group .print-btn:hover {
    background-color: #1557b0;
}

.city-details .btn-group .facebook-btn {
    background-color: #3b5998;
}

.city-details .btn-group .facebook-btn:hover {
    background-color: #2d4373;
}

.city-details .btn-group .whatsapp-btn {
    background-color: #25d366;
}

.city-details .btn-group .whatsapp-btn:hover {
    background-color: #1da851;
}

.city-details .btn-group .viber-btn {
    background-color: #665cac;
}

.city-details .btn-group .viber-btn:hover {
    background-color: #544a8a;
}

.city-details .btn-group .copy-link-btn {
    background-color: #f39c12;
}

.city-details .btn-group .copy-link-btn:hover {
    background-color: #d87f0a;
}

.top25 {
    margin: 20px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.top25 h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.top25 ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.top25 li {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.top25 a {
    color: #1a73e8;
    text-decoration: none;
}

.top25 a:hover {
    color: #e63946;
    text-decoration: underline;
}

.summary .original-data,
.summary .weather-column {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.summary .original-data span,
.summary .weather-data span {
    display: block;
    margin-bottom: 5px;
}

.summary .original-data .local-time {
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
}

.summary .original-data .local-time #local-time {
    display: contents;
}

h4.summary-title,
h4.weather-title {
    margin: 0 0 10px 0;
    color: #e63946;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .summary .original-data,
    .summary .weather-column {
        flex: 100%;
        min-width: 100%;
    }
}

#weatherData {
    gap: 10px;
}

#weatherData span {
    display: block;
    margin-bottom: 5px;
}

#weatherCards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap !important;
    width: 100%;
    box-sizing: border-box;
}

#weatherCards::-webkit-scrollbar {
    height: 8px;
}

#weatherCards::-webkit-scrollbar-thumb {
    background-color: #007bff;
    border-radius: 4px;
}

#weatherCards::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

#weatherCards .card {
    flex: 0 0 auto;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    width: 200px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
    display: inline-block;
    font-weight: normal !important;
}

#weatherCards .card:hover {
    background-color: #f5f5f5;
    transform: translateY(-5px);
}

#weatherCards .card img {
    margin: 10px 0;
}

#weatherCards .card p {
    margin: 5px 0;
    font-weight: lighter !important;
}

@media (max-width: 600px) {
    .city-details iframe {
        height: 300px;
    }
    .city-details .summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .city-details .summary span {
        min-width: 0;
        max-width: none;
    }
    .city-details .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .city-details .btn-group .custom-btn {
        width: 100%;
        padding: 10px 0px 10px 0px;
    }
}

@media print {
    .city-details body * {
        visibility: hidden;
    }
    .city-details h1, .city-details h2, .city-details .summary, .city-details .summary *, .city-details iframe, .city-details .note, .city-details #city-description {
        visibility: visible;
    }
    .city-details .summary {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 15px;
    }
    .city-details .summary i {
        margin-right: 5px;
    }
    .city-details iframe {
        width: 100%;
        max-width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    @page {
        margin: 1cm;
    }
}