.route-details .step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 8px;
}

.route-details .step:nth-child(odd) {
    background-color: #f8f9fa;
}

.route-details .step:nth-child(even) {
    background-color: #ffffff;
}

.route-details .step i {
    margin-right: 10px;
}

.route-details .step-number {
    margin-right: 10px;
    font-weight: bold;
}

.route-details .step div p {
    margin: 0;
}

.route-details .warning {
    color: orange;
    font-weight: bold;
    margin-bottom: 15px;
}

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

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

.route-details iframe {
    width: 100%;
    height: 450px;
}

.route-details .summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.route-details .summary i {
    margin-right: 5px;
}

.route-details .no-print h2 {
    margin-top: 50px;
}

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

.route-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;
}

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

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

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

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

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

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

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

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

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

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

.route-details .magyarorszagterkep-link {
    margin: 15px 0;
    font-size: 1rem;
    color: #333;
}

.route-details .magyarorszagterkep-link a {
    color: #1a73e8;
    text-decoration: none;
}

.route-details .magyarorszagterkep-link a:hover {
    color: #e63946;
}

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 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

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

#weatherData i {
    color: #1a73e8;
    margin-right: 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 (max-width: 600px) {
    .route-details iframe {
        height: 300px;
    }
    .route-details .summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .route-details .btn-group {
        flex-direction: column;
        gap: 10px;
    }
    .route-details .btn-group .custom-btn {
        width: 100%;
        padding: 10px 0px 10px 0px;
    }
}

@media print {
    .route-details body * {
        visibility: hidden;
    }
    .route-details h1, .route-details h2, .route-details .summary, .route-details .summary *, .route-details .step, .route-details .step *, .route-details iframe, .route-details .note, .route-details #city-description {
        visibility: visible;
    }
    .route-details .summary {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 15px;
    }
    .route-details .summary i {
        margin-right: 5px;
    }
    .route-details .step {
        display: block;
        margin-bottom: 10px;
        padding: 8px;
    }
    .route-details .step:nth-child(odd) {
        background-color: #f8f9fa;
    }
    .route-details .step:nth-child(even) {
        background-color: #ffffff;
    }
    .route-details .step .step-number, .route-details .step i, .route-details .step strong {
        display: inline;
        margin-right: 5px;
    }
    .route-details .step div {
        display: block;
        margin-top: 2px;
    }
    .route-details .step div p {
        margin: 0;
    }
    .route-details iframe {
        width: 100%;
        max-width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    .route-details .no-print {
        display: none;
    }
    .route-details .print-footer {
        visibility: visible;
        position: fixed;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-size: 12px;
        color: #666;
    }
    @page {
        margin: 1cm;
    }
    @page :left {
        @bottom-left {
            content: counter(page);
        }
    }
    @page :right {
        @bottom-right {
            content: counter(page);
        }
    }
}