﻿
/* Card */

.sk-card,
.sk-toggle-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Header */

.sk-head {
    background: linear-gradient(90deg, #d8eafb, #f5faff);
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
}

/* Body */

.sk-body {
    padding: 18px;
}

/* Layout */

.flight-row,
.hotel-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sk-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.airline {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    min-width: 150px;
}

.mid {
    flex: 1;
    align-items: center;
}

.info {
    flex: 1;
}

.actions {
    margin-left: auto;
    gap: 10px;
}

/* Chips */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0;
}

/* Skeleton Elements */

.sk-line,
.sk-img,
.sk-rule {
    position: relative;
    overflow: hidden;
    background: #ececec;
}

.chips .sk-line {
    height: 24px;
    border-radius: 6px;
}

.sk-line,
.sk-img {
    border-radius: 5px;
}

.sk-rule {
    height: 1px;
    width: 100%;
    margin: 14px 0;
}

    /* Shimmer */

    .sk-line::before,
    .sk-img::before,
    .sk-rule::before {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.7), transparent );
        animation: shimmer 1.4s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* Toggle Card */

.sk-toggle-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.fixed {
    flex-shrink: 0;
}

/* Responsive */

@media (max-width: 768px) {

    .flight-row,
    .hotel-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .actions {
        margin-left: 0;
        width: 100%;
    }

    .mid {
        width: 100%;
        align-items: flex-start;
    }

    .airline {
        width: 100%;
    }

    .info {
        width: 100%;
    }
}
