.top-fixed {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    max-height: calc(100vh - 10px);
    overflow-y: auto;
}

.theme-box-shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none;
}

.font_text {
    font-size: 10px;
}

.mainfontcolor {
    color: #021323;
}

.info-box {
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-light-green {
    background-color: #e6f9e6;
}

.bg-light-blue {
    background-color: #e6f2fa;
}

.icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.custom-bullets {
    list-style-type: disc;
}

.custom-bullets li {
    margin-bottom: 0.5rem;
}

.font-small {
    font-size: 0.875rem;
}

.text-success {
    color: #28a745;
}

.text-primary {
    color: #007bff;
}

.text-muted {
    color: #6c757d;
}

.text-dark {
    color: #343a40;
}

.fw-bold {
    font-weight: bold;
}

/* Mobile-specific styles */
@media only screen and (max-width: 768px) {
    .ph_containernew {
        background-color: #fff;
        border-radius: 10px;
        padding: 12px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        width: 100%;
        margin-bottom: 30px;
    }

    .ph_header_new {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .ph_back-arrow {
        font-size: 1.5em;
        color: #007aff;
        margin-right: 10px;
    }

    .ph_header_new-title {
        font-size: 1.2em;
        font-weight: bold;
    }

    .ph_flight-info {
        margin-bottom: 20px;
    }

    .ph_flight-route {
        font-size: 1em;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .ph_flight-details-header_new {
        color: #58585b;
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .ph_segment {
        background-color: #fff;
        border-radius: 8px;
        padding: 10px;
        margin-bottom: 10px;
        border: 1px solid #e0e0e0;
    }

    .ph_airline-info {
        display: flex;
        align-items: center;
    }

    .ph_airline-logo {
        width: 30px;
    }

    .ph_airline-name {
        font-weight: bold;
        font-size: 1em;
        color: #2c2c2e;
    }

    .ph_flight-number {
        color: #58585b;
        font-size: 0.9em;
        margin-left: 5px;
    }

    .ph_departure-arrival {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        margin-bottom: 10px;
    }

    .ph_airport-time {
        text-align: center;
    }

    .ph_airport-code {
        font-size: 0.9em;
        font-weight: bold;
        color: #2c2c2e;
        margin-bottom: 2px;
    }

    .ph_time {
        font-size: 0.9em;
        font-weight: bold;
        color: #2c2c2e;
        margin-bottom: 2px;
    }

    .ph_date {
        font-size: 0.9em;
        color: #58585b;
    }

    .ph_flight-duration {
        text-align: center;
        color: #58585b;
        font-size: 0.8em;
    }

    .ph_dashed-line {
        border-top: 1px dashed #b0b0b3;
        width: 50px;
        margin: 5px auto;
    }

    .ph_layover-info {
        background-color: #f0f8ff;
        color: #007aff;
        padding: 8px;
        border-radius: 5px;
        text-align: center;
        font-size: 0.9em;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .ph_grand-total-section {
        background-color: #021323;
        color: #fff;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        z-index: 1000;
    }

    .ph_grand-total-text {
        font-size: 0.9em;
        margin-bottom: 5px;
    }

    .ph_grand-total-amount {
        font-size: 1.4em;
        font-weight: bold;
    }

    .ph_continue-booking-button {
        background-color: #ff520d;
        color: #fff;
        padding: 12px 20px;
        border-radius: 8px;
        border: none;
        font-size: 1em;
        font-weight: bold;
        cursor: pointer;
    }
}

/* Hide mobile-specific elements on desktop */
@media only screen and (min-width: 769px) {

    .ph_containernew,
    .ph_grand-total-section {
        display: none;
    }
}

/* Show desktop-specific elements */
@media only screen and (min-width: 769px) {
    .desktop-flight-container {
        display: block;
    }
}

/* Hide desktop-specific elements on mobile */
@media only screen and (max-width: 768px) {
    .desktop-flight-container {
        display: none;
    }
}

/* Padding adjustments */
@media only screen and (max-width: 769px) {
    .tab-content-desktop {
        padding: 1.5rem;
    }
}

/* @media only screen and (min-width: 768px) {
    .tab-content-phone {
        padding: 24 !important;
    }
} */

.error {
    border-color: red;
}

.text-danger {
    font-size: 12px;
    color: red;
}

.flight-path {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 300px;
    /* Adjust based on your layout */
    margin: 10px 0;
}

.flight-path-line {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc;
    /* Light gray line */
    position: relative;
}

.flight-path-plane {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    /* Size of the plane icon */
    height: 20px;
    background-image: url('path/to/plane-icon.png');
    /* Replace with your plane image path */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}