
/* Skeleton Loading Styles for Airline Search Page */
.skeleton-container {
    padding: 20px 0;
}

.skeleton-flight-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    animation: skeleton-pulse 1.5s ease-in-out infinite alternate;
}

@media (min-width: 768px) {
    .skeleton-flight-card {
        flex-direction: row;
        align-items: center;
    }
    
    .skeleton-flight-info {
        flex-direction: row !important;
    }
    
    .skeleton-price-section {
        align-items: flex-end !important;
        min-width: 150px;
    }
}

@keyframes skeleton-pulse {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

.skeleton-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.skeleton-airline-logo {
    width: 80px;
    height: 28px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-airline-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-trip-type {
    width: 80px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 16px;
}

.skeleton-flight-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .skeleton-flight-info {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
}

.skeleton-time-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.skeleton-duration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.skeleton-connection-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 1px;
}

.skeleton-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .skeleton-price-section {
        align-items: flex-end;
        min-width: 150px;
    }
}

.skeleton-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}

.skeleton-button {
    width: 100%;
    height: 36px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 6px;
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-airline-name {
    height: 16px;
    width: 120px;
}

.skeleton-flight-number {
    height: 12px;
    width: 80px;
}

.skeleton-time {
    height: 18px;
    width: 60px;
}

.skeleton-airport {
    height: 14px;
    width: 100px;
}

.skeleton-terminal {
    height: 12px;
    width: 80px;
}

.skeleton-duration {
    height: 14px;
    width: 50px;
}

.skeleton-stops {
    height: 12px;
    width: 60px;
}

.skeleton-price-label {
    height: 12px;
    width: 70px;
}

.skeleton-price-amount {
    height: 20px;
    width: 80px;
}

.skeleton-class-info {
    height: 12px;
    width: 90px;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Linear Loader Styles */
.linear-loader {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 16px;
}

.linear-loader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #007cba, transparent);
    animation: linear-loader-move 1.5s infinite;
    border-radius: 2px;
}

@keyframes linear-loader-move {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Skeleton Layout Styles */
.skeleton-layout {
    display: flex;
    gap: 20px;
    width: 100%;
}

.skeleton-sidebar {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    height: fit-content;
}

.skeleton-flight-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-filter-section {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.skeleton-filter-title {
    height: 18px;
    width: 120px;
    margin-bottom: 12px;
}

.skeleton-filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skeleton-filter-label {
    height: 14px;
    width: 80px;
}

.skeleton-filter-value {
    height: 14px;
    width: 40px;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .skeleton-layout {
        flex-direction: column;
    }
    
    .skeleton-sidebar {
        flex: none;
        order: 2;
    }
    
    .skeleton-flight-results {
        order: 1;
    }
}

/* Enhanced round trip flight card */
.flight-card-rt {
    display: flex;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.flight-card-rt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Round trip header */
.rt-header {
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.rt-airline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rt-airline-logo {
    width: 80px;
    height: 28px;
    object-fit: contain;
}

.rt-airline-info {
    display: flex;
    flex-direction: column;
}

.rt-airline-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.rt-flight-number {
    font-size: 12px;
    color: #666;
}

.rt-trip-type {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Flight segments */
.rt-segment {
    padding: 0px 1rem;
    position: relative;
}

.rt-segment-label {
    font-size: 12px;
    font-weight: 600;
    color: #1976d2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rt-segment-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: #1976d2;
}

.rt-outbound .rt-segment-label::before {
    background: #4caf50;
}

.rt-return .rt-segment-label::before {
    background: #ff9800;
}

.rt-outbound .rt-segment-label {
    color: #4caf50;
}

.rt-return .rt-segment-label {
    color: #ff9800;
}

.rt-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
    position: relative;
}

.rt-divider::after {
    content: '✈';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    background: #fff;
    padding: 0 8px;
    color: #666;
    font-size: 12px;
}

/* Flight row layout */
.rt-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin: 8px 0;
}

.rt-departure, .rt-arrival {
    text-align: center;
}

.rt-time {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.rt-airport {
    font-size: 13px;
    color: #333;
    margin-bottom: 2px;
}

.rt-terminal {
    font-size: 11px;
    color: #666;
}

.rt-date {
    font-size: 12px;
    color: #1976d2;
    font-weight: 500;
    margin-top: 4px;
}

/* Flight duration and connection info */
.rt-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rt-duration {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.rt-connection-line {
    width: 80px;
    height: 2px;
    background: #ddd;
    position: relative;
    margin: 4px 0;
}

.rt-connection-line::before,
.rt-connection-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #666;
    top: 50%;
    transform: translateY(-50%);
}

.rt-connection-line::before { left: -3px; }
.rt-connection-line::after { right: -3px; }

.rt-stops {
    font-size: 11px;
    color: #4caf50;
    font-weight: 500;
    margin-top: 4px;
}

/* Price section for round trip */
.rt-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    border-left: 1px solid #eee;
    min-width: 160px;
}

.rt-price-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rt-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #1976d2;
    margin: 4px 0;
}

.rt-price-per {
    font-size: 11px;
    color: #666;
}

.rt-class-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
}

.rt-class-label {
    color: #333;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.rt-seats-left {
    font-size: 11px;
    color: #f44336;
    font-weight: 500;
    text-align: center;
}

.rt-select-btn {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 8px;
}

.rt-select-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.rt-select-btn:active {
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .rt-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        background: aliceblue;
    }
    
    .rt-row {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }
    
    .rt-mid {
        order: 2;
        margin: 8px 0;
    }
    
    .rt-price {
        border-left: none;
        border-top: 1px solid #eee;
        padding-top: 16px;
        min-width: auto;
        width: 100%;
    }
    
    .flight-card-rt {
        padding: 16px;
        display: block;
    }

    .rt-row{
        display: flex;
        justify-content: center;
    }
    .rt-price{
        display: block;
    }
    .rt-class-info{
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .rt-time {
        font-size: 18px;
    }
    
    .rt-price-amount {
        font-size: 20px;
    }
    
    .rt-connection-line {
        width: 60px;
    }
}




.flight-results {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

.flight-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.airline-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.airline-logo {
    width:100px;
    height: 55px;
    object-fit: contain;
}

.airline-details {
    display: flex;
    flex-direction: column;
}

.airline-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.flight-number {
    font-size: 12px;
    color: #666;
}

.flight-main-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.flight-time-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
}

.departure-info,
.arrival-info {
    text-align: left;
}

.time {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.airport-info {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.terminal-info {
    font-size: 12px;
    color: #666;
}

.flight-duration {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
}

.duration-time {
    font-size: 14px;
    color: #666;
}

.duration-line {
    width: 120px;
    height: 2px;
    background: #ddd;
    position: relative;
}

.duration-line::before,
.duration-line::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #666;
    top: 50%;
    transform: translateY(-50%);
}

.duration-line::before {
    left: 0;
}

.duration-line::after {
    right: 0;
}

.non-stop {
    font-size: 12px;
    color: #666;
}

.price-section {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    min-width: 180px;
}

.economy-label, .rt-economy-label {
    display: inline-block;
    padding: 4px 8px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.premium-economy-label, .rt-premium-economy-label {
    display: inline-block;
    padding: 4px 8px;
    background: #4CAF50;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.business-label, .rt-business-label {
    display: inline-block;
    padding: 4px 8px;
    background: #2196F3;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.first-label, .rt-first-label {
    display: inline-block;
    padding: 4px 8px;
    background: #9C27B0;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 4px;
}

.seats-left {
    font-size: 12px;
    color: #666;
}

.price {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.passenger-price-info, .rt-passenger-price-info {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    text-align: right;
}

.total-passenger-count, .rt-total-passenger-count {
    font-weight: 500;
}


.select-btn {
    padding: 12px 24px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.select-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.select-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.flight-details {
    margin-top: 20px;
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.error {
    background: #fee;
    color: #c0392b;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Modern loader */
.ars-flight-loader { display:flex; align-items:center; justify-content:center; padding:40px 0; }
.ars-loader-container { text-align:center; }
.ars-loader-spinner { width:48px; height:48px; border-radius:50%; border:4px solid #eee; border-top-color: var(--ars-primary); animation: arsSpin 1s linear infinite; margin:0 auto 10px; }
.ars-loader-text { font-weight:600; color:#333; }
.ars-loader-subtext { color:#777; font-size:13px; }
@keyframes arsSpin { from { transform: rotate(0deg);} to { transform: rotate(360deg);} }

/* Call UI card */
.ars-call-container { display:flex; justify-content:center; padding:24px 0; }
.ars-call-card { display:flex; gap:16px; background:#fff; border:1px solid #eee; border-radius:12px; padding:20px; max-width:720px; box-shadow:0 6px 18px rgba(0,0,0,0.05); }
.ars-call-icon { color: var(--ars-primary); display:flex; align-items:center; }
.ars-call-title { margin:0 0 6px; font-size:18px; }
.ars-call-message { margin:0 0 12px; color:#555; }
.ars-call-button { display:inline-flex; align-items:center; gap:8px; background: var(--ars-primary); color:#fff; padding:10px 14px; border-radius:10px; text-decoration:none; font-weight:600; }
.ars-call-button:hover { filter: brightness(0.95); }
.ars-call-badge { margin-top:10px; color:#555; font-size:13px; display:flex; align-items:center; gap:6px; }
.ars-badge-dot { width:8px; height:8px; background:#29c770; border-radius:50%; display:inline-block; }

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Modern Error Message Styles */
.modern-error-message {
    animation: fadeInUp 0.6s ease-out;
}

.modern-error-message a:hover {
    color: #e55a2b !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles for modern error message */
@media (max-width: 768px) {
    .modern-error-message {
        flex-direction: column !important;
        max-width: 95% !important;
        margin: 20px auto !important;
    }
    
    .modern-error-message > div:first-child {
        padding: 30px 20px !important;
    }
    
    .modern-error-message > div:last-child {
        padding: 20px !important;
    }
    
    .modern-error-message h2 {
        font-size: 24px !important;
    }
    
    .modern-error-message p {
        font-size: 14px !important;
    }
    
    .modern-error-message a {
        font-size: 20px !important;
    }
    
    .modern-error-message svg {
        width: 150px !important;
        height: 120px !important;
    }
}

.airlines-search-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Modern Modal-Inspired S.ars-cardearch UI */
.airlines-search-container {
    margin: 0 auto;
    padding: 20px;
    /* background: linear-gradient(135deg, #ff6a00 0%, #ff6a00 100%); */
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.airlines-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.flight-search-form {
    position: relative;
    z-index: 2;
}

.flight-type-container {
    display: flex;
    gap: 24px;
    padding: 0 0 24px 0;
    background: transparent;
    border-radius: 0;
    justify-content: center;
}

.flight-type-container label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.flight-type-container label:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.flight-type-container input[type="radio"]:checked + span {
    color: #fcfcfc;
}

.flight-type-container input[type="radio"]:checked {
    accent-color: #ffffff;
}

.flight-type-container input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.ars-card {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    /* overflow: hidden; */
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    gap: 12px;
    padding: 10px;
    border-radius: 15px;
}

.ars-row {
    max-width: min-content;
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    background: #ffffff00;
    transition: all 0.3s ease;
}

.ars-row:hover {
    border-color: #ff6a00;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.ars-row:focus-within {
    border-color: #ff6a00;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.ars-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 16px;
    flex-shrink: 0;
}

.ars-icon-from {
    background: linear-gradient(45deg, #ff6a00);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l7-1.5V21l2-1 2 1v-6.5L21 16z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l7-1.5V21l2-1 2 1v-6.5L21 16z"/></svg>') no-repeat center / contain; 
}




.ars-icon-to {

    background: linear-gradient(45deg, #ff6a00);
-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l7-1.5V21l2-1 2 1v-6.5L21 16z"/></svg>') no-repeat center / contain;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l7-1.5V21l2-1 2 1v-6.5L21 16z"/></svg>') no-repeat center / contain;
      
}

.ars-icon-date {
    background: linear-gradient(45deg, #ff6a00, #ff6a00);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></svg>') no-repeat center / contain;
}

.ars-icon-guests {
    background: linear-gradient(45deg, #ff6a00, #ff6a00);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-3-3.87"/><path d="M4 21v-2a4 4 0 0 1 3-3.87"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23667eea" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-3-3.87"/><path d="M4 21v-2a4 4 0 0 1 3-3.87"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat center / contain;
}

.ars-input {
    flex: 1;
    border: 0;
    font-size: 16px;
    font-weight: 500;
    background: transparent;
    outline: none;
    color: #2d3748;
}

.ars-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.ars-btn-like {
    text-align: left;
    cursor: pointer;
    font-weight: 500;
    color: #a7a8a9 !important;
}

.ars-submit {
    display: flex;
    justify-content: center;
}

.ars-search-btn {
    width: 100%;
    border: 0;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, #ff6a00 0%, #ff6a00 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: small;
    padding: 0px 16px;
}

.ars-search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.ars-search-btn:active {
    transform: translateY(-1px);
}

.ars-search-icon {
    width: 20px;
    height: 20px;
    background: #ffffff;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat center / contain;
}










/* here */
@media (max-width: 768px) {
    .airlines-search-container {
        margin: 25px 10px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .ars-card {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .ars-row {
        border-radius: 8px;
        max-width: none;
        border: solid gainsboro;
        padding: 8px;
        margin: 0;
    }
    
    .flight-type-container {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .flight-type-container label {
        width: 100%;
        justify-content: center;
        padding: 8px;
    }
    
    .ars-search-btn {
        padding: 18px 24px;
        font-size: 16px;
    }
}

.flight-type-container {
    display: flex;
    gap: 24px;
    padding: 0 0 24px 0;
    background: transparent;
    border-radius: 0;
    justify-content: center;
}

.flight-type-container label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.flight-type-container input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.flight-search-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    
}

.flight-search-input {
    position: relative;
    flex: 1;
}

.input-group {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 12px 16px;
    padding-left: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: #045cb4;
}

.floating-label {
    position: absolute;
    left: 40px;
    top: -8px;
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 0 4px;
}

.calendar-container {
    position: relative;
    flex: 0.8;
}

.datepicker-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

.passenger-dropdown {
    position: relative;
    flex: 1;
}

.passenger-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.passenger-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    padding: 16px;
}

/* Fullscreen modal framework */
.ars-modal { 
    position: fixed; 
    inset: 0; 
    display: none; 
    z-index: 2000; 
}
.ars-modal.active { display: block; }
.ars-modal__backdrop { 
    position: absolute; inset: 0; background: rgba(0,0,0,0.45); 
}
.ars-modal__dialog { 
    position: relative; 
    width: 100vw; 
    height: 100vh; 
    margin: 0; 
    background: #fff; 
    border-radius: 0; 
    box-shadow: none;
    display: flex; flex-direction: column;
}
.ars-modal__header { 
    display:flex; align-items:center; justify-content: space-between; 
    padding: 16px 20px; border-bottom: 1px solid #eee; 
}
.ars-modal__close { 
    background: transparent; border: 0; font-size: 28px; line-height: 1; cursor: pointer;
}
.ars-modal__body { padding: 16px 20px; overflow: auto; flex: 1; }
.ars-modal__search input { 
    width: 100%; padding: 14px 16px; border: 1px solid #ddd; border-radius: 10px; font-size: 16px;
}
.ars-modal__list { margin-top: 14px; }
.ars-airport-item { 
    display:flex; gap:12px; align-items:flex-start; padding: 12px 10px; border-bottom: 1px solid #f2f2f2; cursor: pointer;
}
.ars-airport-item:hover { background: #fafafa; }
.ars-airport-code { font-weight: 600; color: #045cb4; }
.ars-airport-name { font-weight: 500; color: #222; }
.ars-airport-city { color: #666; font-size: 13px; }
.ars-modal__footer { padding: 0; border-top: 1px solid #eee; position: sticky; bottom: 0; background: #fff; }
.ars-modal__apply { width: 100%; padding: 16px 24px; background:#f0641e; color:#fff; border:0; cursor:pointer; font-weight:600; font-size:16px; }

/* Guests modal extras */
.ars-guest-options .passenger-option { display:flex; align-items:center; justify-content: space-between; }
.ars-guest-options .passenger-option p { margin:0; font-weight:600; }
.ars-travel-class { margin-top: 10px; }
.ars-travel-class label { display:block; margin-bottom:6px; font-size:14px; color:#333; }

/* Date modal */
.ars-date-picker { padding: 10px 0; }

/* Custom calendar inside modal */
.ars-cal { width:100%; max-width:720px; margin:0 auto; }
.ars-cal-header { display:flex; align-items:center; justify-content:space-between; padding:8px 0 14px; }
.ars-cal-nav { display:flex; gap:8px; }
.ars-cal-btn { width:36px; height:36px; border-radius:8px; border:1px solid #e6e6e6; background:#fff; cursor:pointer; }
.ars-cal-title { font-weight:600; font-size:18px; }
.ars-cal-grid { display:grid; grid-template-columns: repeat(7, 1fr); gap:8px; }
.ars-cal-weekday { text-align:center; color:#888; font-size:12px; }
.ars-cal-day { text-align:center; padding:12px 0; border-radius:10px; cursor:pointer; border:1px solid transparent; }
.ars-cal-day:hover { background:#f5f7fb; }
.ars-cal-day.is-today { border-color:#287dfa; }
.ars-cal-day.is-disabled { color:#bbb; cursor:not-allowed; }
.ars-cal-day.is-selected { background:#287dfa; color:#fff; }

/* Fullscreen inline flatpickr layout */
/* Removed flatpickr overrides */

@media (max-width: 768px) {
    .ars-modal__dialog { width: 100vw; height: 100vh; max-height: none; margin: 0; border-radius: 0; }
    .ars-modal__body { height: calc(100vh - 110px); }
}

.passenger-dropdown-content.show {
    display: block;
}

.search-button {
    padding: 12px 32px;
    background: #045cb4;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #034a91;
}

#flight-from-results,
#flight-to-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 400px;
    width:400px;
    overflow-y: auto;
}

#flight-from-results li,
#flight-to-results li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

#flight-from-results li:hover,
#flight-to-results li:hover {
    background-color: #f5f5f5;
}

/* Passenger dropdown content */
.passenger-dropdown-content {
    padding: 16px;
}

.passenger-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.passenger-option:last-of-type {
    border-bottom: none;
    margin-bottom: 12px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.passenger-count-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.passenger-count-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.passenger-count-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.count {
    min-width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Travel class select */
.travel-class-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    margin-top: 12px;
}

.travel-class-select:focus {
    outline: none;
    border-color: #045cb4;
}

/* Icons */
.input-group::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.calendar-container::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .flight-card {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .flight-main-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .flight-time-info {
        width: 100%;
        justify-content: space-between;
    }

    .price-section {
        width: 100%;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .flight-type-container {
        justify-content: left;;
    }
    
    .passenger-dropdown-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        overflow-y: auto;
    }

    .airline-info {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .price-section {
        border-left: none;
        border-top: 1px solid #eee;
        width: 100%;
        align-items: center;
        padding-top: 16px;
    }

    .select-btn {
        max-width: 300px;
        padding: 14px 28px;
        font-size: 16px;
    }
} 
/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 768px) {
    .flight-card {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .flight-main-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .flight-time-info {
        width: 100%;
        justify-content: space-between;
    }

    .flight-duration {
        width: 100%;
        padding: 12px 0;
    }

    .duration-line {
        width: 100%;
        max-width: none;
    }

    .price-section {
        width: 100%;
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .select-btn {
        width: auto;
        min-width: 120px;
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .flight-card {
        flex-direction: column;
        gap: 16px;
        padding: 12px;
    }

    .airline-info {
        justify-content: center;
        width: 100%;
    }

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

    .flight-time-info {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .departure-info, .arrival-info {
        width: 100%;
        text-align: center;
    }

    .flight-duration {
        width: 100%;
        padding: 8px 0;
    }

    .duration-line {
        width: 80%;
        margin: 0 auto;
    }

    .price-section {
        width: 100%;
        align-items: center;
        flex-direction: column;
    }

    .select-btn {
        width: 100%;
    }

    /* Search area */
    .flight-type-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .flight-search-container {
        flex-direction: column;
        gap: 16px;
    }

    .flight-search-input, 
    .calendar-container, 
    .passenger-dropdown {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    /* Passenger dropdown for mobile */
    .passenger-dropdown-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1001;
    }

    /* Airport results for mobile */
    #flight-from-results,
    #flight-to-results {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 60vh;
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 16px 16px 0 0;
        z-index: 1001;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .time {
        font-size: 18px;
    }

    .airport-info {
        font-size: 12px;
    }

    .terminal-info {
        font-size: 10px;
    }

    .price {
        font-size: 20px;
    }

    .select-btn {
        width: 100%;
        max-width: none;
        padding: 12px 20px;
        font-size: 14px;
    }

    .flight-card {
        padding: 10px;
    }

    .airline-logo {
        width: 80px;
        height: 24px;
    }
}

.booking-container {
    display: flex;
    gap: 32px;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-left-column {
    flex: 1;
    max-width: 700px;
}

.booking-right-column {
    width: 300px;
    flex-shrink: 0;
}

.booking-section {
    margin-bottom: 32px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.booking-section h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #333;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-group.half {
    flex: 1;
}

.confirm-booking-btn {
    width: 100%;
    padding: 16px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 24px;
}

.confirm-booking-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.confirm-booking-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.price-details {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    position: sticky;
    top: 24px;
}

.price-details h3 {
    margin: 0 0 20px;
    font-size: 18px;
    color: #333;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.price-row.total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Responsive styles */
@media (max-width: 992px) {
    .booking-container {
        flex-direction: column;
    }

    .booking-right-column {
        width: 100%;
    }

    .price-details {
        position: static;
    }
}

/* Results page layout */
.ars-results-layout { display:flex; gap:20px; max-width:1200px; margin:20px auto; padding:0 10px; }
.ars-results { flex:1; }
.ars-results-scrolling { overflow-y: auto; }

/* New Filter Container Styles */
.ars-filters-container {
    width: 320px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Custom scrollbar styles */
.ars-filters-container::-webkit-scrollbar {
    width: 8px;
}

.ars-filters-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.ars-filters-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.ars-filters-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Firefox scrollbar */
.ars-filters-container {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.ars-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.ars-filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.ars-clear-filters {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.ars-clear-filters:hover {
    background: #fef2f2;
    color: #dc2626;
}

.ars-filter-section {
    border-bottom: 1px solid #f3f4f6;
}

.ars-filter-section:last-child {
    border-bottom: none;
}

.ars-filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ars-filter-header:hover {
    background: #f9fafb;
}

.ars-filter-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.ars-filter-title {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    flex: 1;
}

.ars-filter-content {
    padding: 0 24px 20px 24px;
}

/* Stops Filter Styles */
.ars-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ars-stop-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.ars-stop-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
}

.ars-stop-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.ars-stop-price {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Price Range Filter Styles */
.ars-price-range {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ars-price-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ars-price-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    max-width: 132px;
    transition: border-color 0.2s ease;
}

.ars-price-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.ars-price-separator {
    color: #6b7280;
    font-weight: 500;
}

.ars-price-slider {
    margin: 8px 0;
}

.ars-price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

/* Time Period Styles */
.ars-time-periods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.ars-time-period {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ars-time-period:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.ars-time-period.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.ars-time-icon {
    font-size: 16px;
}

.ars-time-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ars-time-label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.ars-time-range {
    font-size: 10px;
    color: #6b7280;
}

.ars-time-slider {
    margin-top: 16px;
}

.ars-time-range-slider {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ars-time-label {
    font-size: 12px;
    color: #6b7280;
    min-width: 40px;
    text-align: center;
}

/* Slider Styles */
.ars-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.ars-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ars-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Duration Filter Styles */
.ars-duration-slider {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ars-duration-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.ars-duration-value {
    text-align: center;
    margin-top: 8px;
}

.ars-duration-value span {
    font-size: 16px;
    font-weight: 600;
    color: #3b82f6;
}

/* Airlines Filter Styles */
.ars-airlines-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.ars-airline-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

.ars-airline-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ars-airline-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
}

.ars-airline-name {
    font-size: 14px;
    color: #374151;
}

.ars-airline-price {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.ars-airline-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
    margin-left: 8px;
}

/* Sort Options Styles */
.ars-sort-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ars-sort-option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ars-sort-option input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.ars-sort-option label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    flex: 1;
}

.ars-sort-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.ars-sort-sublabel {
    font-size: 12px;
    color: #6b7280;
}

@media (max-width: 576px) {
    .booking-container {
        padding: 16px;
    }

    .booking-section {
        padding: 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .form-group.half {
        width: 100%;
    }

    .ars-filters-container{
        display: none;
    }
}



/* Enhanced Modal Framework */
.ars-modal { 
    position: fixed; 
    inset: 0; 
    display: none; 
    z-index: 2000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ars-modal.active { 
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ars-modal__backdrop { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    cursor: pointer;
}

.ars-modal__dialog { 
    position: relative; 
    width: 95vw;
    max-width: 500px;
    max-height: 90vh;
    margin: auto;
    background: #fff; 
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.05);
    display: flex; 
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    animation: modalSlideIn 0.3s ease-out forwards;
}

@keyframes modalSlideIn {
    from { 
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to { 
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.ars-modal__header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 24px 28px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #fafafa, #ffffff);
}

.ars-modal__header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ars-modal__header h3 i {
    color: #ff6a00;
    font-size: 20px;
}

.ars-modal__close { 
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.2s ease;
    padding: 10px !important;
}

.ars-modal__close:hover {
    background: #e9ecef;
    color: #495057;
    transform: rotate(90deg);
}

.ars-modal__body { 
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.ars-modal__body::-webkit-scrollbar {
    width: 6px;
}

.ars-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.ars-modal__body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.ars-modal__search input { 
    width: 100%; 
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    transition: all 0.2s ease;
    outline: none;
}

.ars-modal__search input:focus {
    border-color: #ff6a00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
}

.ars-modal__search input::placeholder {
    color: #999;
}

.ars-modal__list { 
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

.ars-airport-item { 
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.ars-airport-item:last-child {
    border-bottom: none;
}

.ars-airport-item:hover { 
    background: linear-gradient(135deg, #fff5f0, #fff);
    transform: translateX(4px);
}

.ars-airport-item:active {
    transform: translateX(2px);
}

.ars-airport-code { 
    font-weight: 700;
    color: #ff6a00;
    font-size: 16px;
    min-width: 50px;
    background: #fff5f0;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
}

.ars-airport-name { 
    font-weight: 500;
    color: #1a1a1a;
    font-size: 15px;
}

.ars-airport-city { 
    color: #666;
    font-size: 13px;
    margin-top: 2px;
}

.ars-modal__footer { 
    padding: 20px 28px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.ars-modal__apply { 
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ff6a00, #ff8533);
    color: #fff;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.ars-modal__apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
}

.ars-modal__apply:active {
    transform: translateY(0);
}

/* Enhanced Guest Modal */
.ars-guest-options {
    margin-bottom: 24px;
}

.ars-guest-options .passenger-option { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ars-guest-options .passenger-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ars-guest-options .passenger-option > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ars-guest-options .passenger-option p { 
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #1a1a1a;
}

.ars-guest-options .passenger-option span {
    font-size: 13px;
    color: #666;
}

.counter {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.passenger-count-btn {
    width: 36px;
    height: 36px;
    border: 2px solid #ff6a00;
    background: #fff;
    border-radius: 50%;
    color: #ff6a00;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 18px;
    font-weight: bold;
}

.passenger-count-btn:hover {
    background: #ff6a00;
    color: #fff;
    transform: scale(1.1);
}

.passenger-count-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.count {
    min-width: 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.ars-travel-class {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.ars-travel-class label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.travel-class-select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    font-size: 16px;
    background: #fafafa;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.travel-class-select:focus {
    outline: none;
    border-color: #ff6a00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
}

/* Enhanced Date Modal */
.ars-date-picker { 
    padding: 12px 0;
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

/* Enhanced Calendar Styles */
.ars-cal { 
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.ars-cal-header { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.ars-cal-nav { 
    display: flex;
    gap: 12px;
}

.ars-cal-btn { 
    width: 44px;
    height: 47px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 25px;
    transition: all 0.2s ease;
    padding: 25px !important;
}

.ars-cal-btn:hover {
    border-color: #ff6a00;
    color: #ff6a00;
    background: #fff5f0;
}

.ars-cal-title { 
    font-weight: 600;
    font-size: 20px;
    color: #1a1a1a;
}

.ars-cal-grid { 
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 12px;
}

.ars-cal-weekday { 
    text-align: center;
    color: #999;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 8px 0;
    letter-spacing: 0.5px;
}

.ars-cal-day { 
    text-align: center;
    padding: 12px 8px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: aliceblue;
}

.ars-cal-day:hover { 
    background: #fff5f0;
    color: #ff6a00;
}

.ars-cal-day.is-today { 
    border-color: #ff6a00;
    color: #ff6a00;
    font-weight: 600;
}

.ars-cal-day.is-disabled { 
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.ars-cal-day.is-disabled:hover {
    background: none;
    color: #ccc;
}

.ars-cal-day.is-selected { 
    background: #ff6a00;
    color: #fff;
    font-weight: 600;
}

.ars-cal-day.is-selected:hover {
    background: #e55a00;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .ars-modal__dialog { 
        width: 100vw;
        height: 100vh;
        max-height: none;
        margin: 0;
        border-radius: 0;
        animation: modalSlideUp 0.3s ease-out forwards;
    }
    
    @keyframes modalSlideUp {
        from { 
            transform: translateY(100%);
            opacity: 0;
        }
        to { 
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .ars-modal__body { 
        height: calc(100vh - 140px);
        padding: 20px;
    }
    
    .ars-modal__header {
        padding: 20px;
    }
    
    .ars-modal__footer {
        padding: 16px 20px;
    }
    
    .counter {
        gap: 20px;
        padding: 10px 16px;
    }
    
    .passenger-count-btn {
        width: 42px;
        height: 42px;
        padding: 10px !important;
    }
}

/* Loading States for Modals */
.ars-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
}

.ars-modal-loading i {
    font-size: 32px;
    color: #ff6a00;
    margin-bottom: 16px;
    animation: spin 1s linear infinite;
}

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

/* Enhanced Focus States */
.ars-modal *:focus {
    outline: 2px solid #ff6a00;
    outline-offset: 2px;
}

/* Improved Accessibility */
.ars-modal__close:focus,
.passenger-count-btn:focus,
.ars-modal__apply:focus {
    outline: 2px solid #ff6a00;
    outline-offset: 2px;
}

/* Animation for passenger counters */
.count {
    transition: transform 0.2s ease;
}

.count.updating {
    transform: scale(1.2);
}

/* Theme overrides using CSS variable */
:root { --ars-primary: #ff6a00; }

/* Buttons */
.ars-search-btn {
    background: var(--ars-primary);
    background-image: none;
}
.ars-modal__apply {
    background: var(--ars-primary);
}

/* Badges and labels */
.economy-label {
    background: #4CAF50;
    color: #fff;
}

/* Calendar accents */
.ars-cal-day.is-selected { background: var(--ars-primary); }
.ars-cal-day.is-today { border-color: var(--ars-primary); color: var(--ars-primary); }
.ars-cal-btn:hover { border-color: var(--ars-primary); color: var(--ars-primary); }

/* Airport list accents */
.ars-airport-code { color: var(--ars-primary); background: rgba(255,106,0,0.08); }
.ars-airport-item:hover { background: linear-gradient(135deg, rgba(255,106,0,0.08), #fff); }

/* Focus outline */
.ars-modal *:focus { outline: 2px solid var(--ars-primary); }

/* Flight Banner Styles */
.flight-banner {
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    border-radius: 16px;
    margin: 24px 0;
    padding: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.banner-left {
    flex: 1;
}

.banner-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: white;
}

.banner-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.banner-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 500;
}

.benefit-check {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.banner-phone-section {
    text-align: center;
}

.banner-phone {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.6);
    padding: 12px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
}

.banner-cta-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.banner-cta-btn:hover {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.banner-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-phone {
        font-size: 24px;
    }
    
    .banner-icon {
        width: 80px;
        height: 80px;
    }
    
    .banner-right {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .flight-banner {
        margin: 16px 0;
        padding: 20px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-benefit {
        font-size: 14px;
    }
    
    .banner-phone {
        font-size: 20px;
        padding: 10px 16px;
    }
    
    .banner-cta-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Modern Book Now Button Styles */
.ars-btn-book {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    text-transform: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ars-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.35);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.ars-btn-book:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.ars-btn-book:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.ars-btn-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.ars-btn-book:hover::before {
    left: 100%;
}

/* Responsive adjustments for book button */
@media (max-width: 768px) {
    .ars-btn-book {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .ars-btn-book {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 90px;
    }
}
