﻿.booking-card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid #C5D3E3;
    padding-top: 40px;
}

.inner-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.booking-card {
    width: 100%;
    background-color: white;
    border-radius: 8px;
    padding: 20px 15px;
    border: 1px solid #C5D3E3;
    text-align: center;
}

.booking-card-container .alert1 {
    color: #F97134 !important;
    background-color: #fff;
}

@media (min-width: 992px) {
    .booking-card {
        padding: 20px 25px;
    }
}

.booking-card img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.booking-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #4B6D93;
    position: unset;
    font: normal normal normal 20px/34px Poppins;
}

.booking-card p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #4B6D93;
    letter-spacing: 0.84px;
}

@media (min-width: 992px) {
    .booking-card p{
        min-height: 95px;
    }
}
@media (min-width: 1200px) {
    .booking-card p {
        min-height: unset;
    }
}

.booking-card input[type="text"],
.booking-card input[type="email"] {
    width: 100%;
    height: 44px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #90A5BD;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0.56px;
    color: #4B6D93;
}

.booking-card input[type="text"], .booking-card input[type="email"]:focus-visible {
    outline: none;
}

input::placeholder {
    color: #C5D3E3;
    letter-spacing: 0.6px;
    font-size: 15px;
}

@media (min-width: 992px){
    input::placeholder {
        letter-spacing: 0.56px;
        font-size: 14px;
    }
}

input:focus:invalid:focus {
    box-shadow: none;
}

.booking-card button {
    width: 100%;
    padding: 12px;
    background-color: #01B7F2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    height: 55px;
    letter-spacing: 0.97px;
    margin-bottom: 5px;
}

@media (min-width: 992px) {
    .booking-card button {
        margin-bottom: 0;
        font-size: 15px;
        letter-spacing: 1.13px;
    }
}
.booking-card a {
    color: #01B7F2;
    letter-spacing: 0.56px;
    text-decoration: none;
}

form label {
    font-size: 14px;
    float: left;
    margin-bottom: 8px;
    text-transform: none;
    color: #4B6D93;
    letter-spacing: 0.56px;
    white-space: nowrap;
}

form label .label-desktop {
    display: inline;
}

form label  .label-ipad {
    display: none;
}

.booking-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 78px;
    padding: 40px 20px 20px;
    background-color: #F2FBFF;
    margin-top: 50px;
    text-align: center;
}

.feature-item {
    flex: 1 1 200px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item img {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 18px;
    color: #4B6D93;
    line-height: 1.2;
    letter-spacing: 0.65px;
    margin-top: 15px;
}

.tooltip.top {
    margin-top: -15px;
}

.overlaymenu {
    position: absolute;
    top: 98px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.52);
    height: calc(100% - 98px);
    z-index: 911;
    opacity: 0;
    transition: visibility 0.3s linear,opacity 0.3s linear;
    visibility: hidden;
}

/* phones - narrowest range */
@media (max-width: 600px) {
    .booking-features {
        display: none;
    }

    .feature-item {
        flex: 0 1 45%;
        max-width: 45%;
    }
    .feature-item svg {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
}

@media (min-width: 344px)and (max-width: 882px) {
    .custom-tooltip {
        transform: translateX(-60%) !important;
    }
}

/* custom mid-size ranges for mobile tweaks */
@media (min-width: 412px) and (max-width: 429px) {
    .booking-card {
        max-width: 380px;
    }
}

@media (min-width: 430px) and (max-width: 932px) {
    .booking-card {
          max-width: 100%;
    }
     .inner-container {
         display: flex;
         flex-direction: column;
         align-items: center;
         padding: 0 15px;
     }
}

/* tablets and small laptops */
@media (max-width: 1024px) {
    .booking-features {
        display: none;
    }

    .feature-item {
        flex: 0 1 45%;
        max-width: 45%;
    }

    .booking-card {
          max-width: 100%;
          margin: 0 10px;
    }

    .inner-container {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
        align-items: center;
    }
}

/* tablets (portrait) */
@media (min-width: 768px) and (max-width: 1023px) {
    .booking-card-container {
        flex-direction: column;
        align-items: center;
    }
}

/* tablets and small laptops (landscape) */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        padding-left: unset;
    }

    .booking-features {
        display: flex;
        flex-wrap: unset;
    }

    .booking-card-container {
        flex-wrap: unset;
        gap: 15px;
    }

    .booking-card {
        max-width: 306px;
        margin: unset;
    }

    .booking-card h2 {
        display: flex;
        justify-content: center;
        white-space: nowrap;
    }

    .inner-container {
        display: flex;
        flex-direction: row;
    }

    .booking-card p.flight-cancel-content {
        margin-bottom: 21px;
    }

    form label .label-desktop {
        display: none;
    }

    form label .label-ipad {
        display: inline;
    }
}

/* large desktops */
@media (min-width: 1026px) {
    .booking-card-container {
        gap: 15px;
    }

    .booking-card {
        max-width: 362px;
    }

    .booking-card p.flight-cancel-content {
        margin-bottom: 44px;
    }

    form label .label-desktop {
        display: inline;
    }

    form label .label-ipad {
        display: none;
    }
}

@media (min-width: 992px) {
    .flightchange-row > div:nth-child(1) {
        padding-right: 5px;
    }

    .flightchange-row > div:nth-child(2) {
        padding-left: 5px;
    }
}

.booking-card .tooltip .tooltip-inner {
    background-color: #f97134;
    border-color: #f97134;
    background-image: none;
}

.booking-card .tooltip.top .tooltip-arrow, .contentV2 .tooltip-danger .tooltip.top-left .tooltip-arrow, .contentV2 .tooltip-danger .tooltip.top-right .tooltip-arrow {
    border-top-color: #f97134;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.custom-tooltip {
    visibility: hidden;
    width: 220px;
    background-color: #fff;
    color: #4B6D93;
    font-size: 12px;
    letter-spacing: 0.56px;
    font-weight: normal;
    line-height: 19px;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    border: 0.5px solid #C5D3E3;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: normal;
}

.custom-tooltip::before,
.custom-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
}

.custom-tooltip::before {
    top: 100%;
    border-color: #C5D3E3 transparent transparent transparent;
    z-index: 1;
}

.custom-tooltip::after {
    top: calc(100% - 1px);
    border-color: #fff transparent transparent transparent;
    z-index: 2;
}

.tooltip-wrapper:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
}

@media (min-width: 600px) and (max-width: 1024px) {
    .custom-tooltip {
        transform: translateX(-71%) !important;
    }
}

/* For iPad Pro, only portrait or landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (max-width: 1366px) and (orientation: portrait) {
    .custom-tooltip {
        transform: translateX(-71%) !important;
    }
}

@media only screen and (min-width: 1366px) and (max-width: 1536px) and (orientation: landscape) {
    .custom-tooltip {
        transform: translateX(-71%) !important;
    }
}