body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1 {
    color: #333;
    margin-top: 20px;
}

.input-container {
    margin-top: 20px;
}

.input-container label, .input-container input, .input-container button {
    font-size: 16px;
    padding: 8px;
    margin: 5px;
}

#map {
    height: 600px;
    width: 90%;
    margin: 20px auto;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* PNR sorgulama sonucu için genel stil */
.result-area {
    margin-top: 10px;
    padding: 5px;
    
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Her bir bilet bilgisi bloğu için stil */
.ticket-info {
    border-bottom: 1px dashed #ccc;
    padding: 10px 0;
    margin-bottom: 10px;
}

.ticket-info:last-child {
    border-bottom: none;
}

/* Uyarı mesajları için genel stil */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    
}

/* Başarı ve hata mesajları için renkler */
.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
   font-size:11px;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    font-size:11px;
}
/* Sonuç alanını harita gibi göstermek için */
.result-section {
    
    flex-grow: 1; /* Kalan alanı doldurur */
    flex-basis: 70%; /* Başlangıç genişliğini ayarlar */
    max-width: 70%;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        flex-basis: 100%;
        max-width: 100%;
    }

    .result-section {
        flex-basis: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-top: 20px;
    }
}

/* Bilet Kartı Stili */
.ticket-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.ticket-header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-type {
    font-size: 1.2em;
    font-weight: 600;
}

.ticket-pnr {
    font-size: 1em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.ticket-body {
    padding: 20px;
}

.ticket-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.ticket-info-item {
    flex: 1;
    text-align: left;
}
.ticket-route { text-align:right;}
.ticket-info-item .label, .ticket-route .label {
    font-size: 0.8em;
    color: #888;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.ticket-info-item .value, .ticket-route .value {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.route-info {
    align-items: center;
}

.route-arrow {
    color: #2c3e50;
    font-size: 1.5em;
}

.ticket-footer {
    background: #f4f4f4;
    padding: 15px 20px;
    text-align: right;
    border-top: 1px dashed #ccc;
}

.download-link {
    color: #c62828;
    text-decoration: none;
    font-weight: 600;
}

.download-link:hover {
    text-decoration: underline;
}

.triple-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.triple-row .ticket-info-item {
    text-align: center;
    flex: 1;
}

.triple-row .ticket-info-item:first-child {
    text-align: left;
}

.triple-row .ticket-info-item:last-child {
    text-align: right;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 5px; /* İsteğe bağlı: Etiket ile saat arasına boşluk bırakır */
}