/*
Theme Name: Zenix Child
Theme URI: https://max-reach.keystonedemo.com
Description: Zenix - Tech Startup & SaaS Elementor WordPress Theme, the ultimate web solution engineered for tech startups, SaaS businesses, and digital agencies.
Author: Keystone-Themes
Author URI: http://themeforest.net/user/Keystone-Themes
Template: zenix
Version: 1.0
License: Envato Standard License
License URI: https://themeforest.net/licenses/standard
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: zenix-child
*/

/*card design*/

.hide_info {
  display: none!important;
}

.total_price{
  display: none;
}

.skeleton-loader {
  animation: pulse 1.5s infinite ease-in-out;
  padding: 2rem;
}
.skeleton-box {
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid #666;
  border-radius: 50%;
  margin-right: 8px;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.flight-results-container {
            font-family: "Plus Jakarta Sans", Sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            padding: 10px;
        }

        .loading-message {
            padding: 40px 20px;
            background: #fff;
            color: #333;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            width: 90%;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 300px;
        }

        .no-flights, .error-message {
            text-align: center;
            padding: 40px 20px;
            background: #fff;
            color: #333;
            border-radius: 12px;
            font-size: 16px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        }

        .flight-cards {
            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 100%;
            align-items: center;
        }

        .flight-card {
          transition: box-shadow .3s;

            background: #fff;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            width: 90%;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
        }
        .flight-card:hover {
            box-shadow: -5px 30px 55px #bbb;
            border: 1px solid #00d66f1c;
            z-index: 1;        
        }

        .top-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 12px;
            width: 25%;
            justify-content: center;
        }

        .airline-logo img{
        width: 150px;
        }

        .airline-name {
            font-size: 18px;
            font-weight: 600;
            color: #003d82;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .flight-details {
            display: flex;
            align-items: center;
            gap: 110px;
            flex-grow: 1;
            justify-content: center;
            width: 50%;
        }

        .time-section {
            text-align: center;
        }

        .time-section small {
            color: #555;
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }

        .time-section .time {
            font-size: 20px;
            font-weight: bold;
            color: #1a1a1a;
            margin-bottom: 5px;
        }

        .time-section .airport {
            font-size: 18px;
            font-weight: bold;
            color: #1a1a1a;
        }

        .arrow {
            font-size: 24px;
            color: #888;
            text-align:center;
        }

        .price-section {
            text-align: center;
            width: 25%;
        }

        .old-price {
            text-decoration: line-through;
            color: #b03c3c;
            font-size: 16px;
            margin-bottom: 5px;
        }

        .new-price {
            font-size: 24px;
            font-weight: bold;
            color: #1a1a1a;
            margin-bottom: 15px;
        }

        .select-button {
            display: inline-block;
            background-color: #044737;
            color: #a9ff9b;
            padding: 10px 24px;
            font-family: "Plus Jakarta Sans", Sans-serif;
            font-size: 14px;
            font-weight: 700;
            text-transform: capitalize;
            border-radius: 4px;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .select-button:hover {
            background-color: #0b6f59;
        }

        .duration-section {
            text-align: center;
            padding-top: 10px;
            font-size: 14px;
            color: #444;
        }

        .duration-info {
            margin-bottom: 5px;
        }

        .view-details {
            display: inline-block;
            margin-top: 5px;
            text-decoration: underline;
            color: #1a1a1a;
            font-weight: bold;
            cursor: pointer;
            border: none;
            background: none;
            font-size: 14px;
        }

        .view-details:hover {
            color: #044737;
        }
        .flight-full-details {
            background-color: #f9f9f9;
            border-left: 4px solid #038c5a;
            padding: 10px 15px;
            border-radius: 6px;
            font-size: 12px;
            line-height: 1.5;
            margin-top: 10px;
        }
        .formcol{
            text-align: left;
        }
        

        @media (max-width: 768px) {
            .flight-card {
                width: 100%;
                padding: 20px;
            }
            
            .top-section {
                flex-direction: column;
                gap: 20px;
            }
            
            .flight-details {
                gap: 30px;
            }
            
            .logo-section {
                justify-content: center;
                width: 35%;

            }
              .price-section{
                width: 100%;
            }
        }

        @media (max-width: 480px) {
            .booking-wrapper-card{
                padding: 0px;
            }
            .wrapper-card{
                display: block!important;
            }
            .flight-details {
                gap: 50px;
                width: 100%;
                justify-content: space-evenly;
            }
            .left{
                text-align: left!important;
            }
             .right{
                text-align: right!important;
            }
            .price-section{
                width: 100%;
            }
            
            .time-section .time {
                font-size: 18px;
            }
            
            .time-section .airport {
                font-size: 16px;
            }
            .select-button{
                width:100%;
            }
            .old-price{
                position: absolute;
                margin-left: 220px;
                font-size: 14px !important;
            }
        }