.booking-confirmation,
.booking-failed {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.confirmation-header,
.failed-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.confirmation-header h2 {
    color: #28a745;
}

.failed-header h2 {
    color: #dc3545;
}

.booking-reference {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
}

.flight-details {
    margin: 1rem 0;
}

.itinerary {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.segment {
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
}

.route {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.departure,
.arrival {
    flex: 0 0 40%;
    text-align: center;
}

.travel-time {
    flex: 0 0 20%;
    text-align: center;
    position: relative;
}

.line {
    height: 2px;
    background: #ddd;
    position: relative;
    margin: 0.5rem 0;
}

.line::before,
.line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    top: -3px;
}

.line::before {
    left: 0;
}

.line::after {
    right: 0;
}

.passenger-details,
.payment-details {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.error-message {
    background: #fff3f4;
    border: 1px solid #ffa7a9;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.error-detail {
    margin: 1rem 0;
    padding: 1rem;
    background: #fff;
    border-left: 4px solid #dc3545;
}

.error-source {
    color: #666;
    font-size: 0.9em;
    margin-top: 0.5rem;
}

.failed-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.action-button:hover {
    background: #0056b3;
    color: #fff;
    text-decoration: none;
}

.support-info {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.support-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.support-info li {
    margin: 0.5rem 0;
}

/* Booking Failed Styles */
.booking-failed {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.failed-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #dc3545;
}

.failed-header .dashicons {
    font-size: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
}

.error-message {
    background-color: #fff8f8;
    border: 1px solid #ffd7d7;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.error-detail {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ffd7d7;
}

.error-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.error-source {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.failed-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.action-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.action-button:hover {
    background-color: #005177;
    color: #fff;
}

.action-button .dashicons {
    margin-right: 0.5rem;
}

.support-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.support-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.support-info li {
    margin-bottom: 0.5rem;
}

/* Booking Success Styles */
.booking-confirmation {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 2rem;
    color: #28a745;
}

.booking-reference {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin: 1rem 0;
}

.flight-details {
    margin: 1rem 0;
}

.segment {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.departure, .arrival {
    text-align: center;
    flex: 1;
}

.travel-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 2;
    position: relative;
}

.travel-time .line {
    width: 100%;
    height: 2px;
    background-color: #dee2e6;
    position: relative;
}

.travel-time .duration {
    background-color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    margin-bottom: 0.5rem;
}