/* --------------------------------------------------
   TRAVEL PAGE
-------------------------------------------------- */

.travel-page {
    display: flex;
    gap: 20px;
    padding: 20px;
}

/* --------------------------------------------------
   SIDEBAR
-------------------------------------------------- */

.travel-sidebar {
    width: 220px;
    min-width: 220px;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* --------------------------------------------------
   NAVIGATION BUTTONS
-------------------------------------------------- */

.travel-nav-btn {

    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;

    padding: 10px 12px;

    background: #ffffff;

    border: 1px solid #d9d9d9;
    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;
    font-weight: 500;
    text-align: left;

    transition: all 0.2s ease;
}

.travel-nav-btn:hover {

    background: #f5f8ff;
    border-color: #1976d2;
}

/* --------------------------------------------------
   AKTIVER BUTTON
-------------------------------------------------- */

.travel-nav-btn.active {

    background: #1976d2;
    color: #ffffff;

    border-color: #1976d2;
}

/* --------------------------------------------------
   ICONS
-------------------------------------------------- */

.travel-nav-icon {

    width: 18px;
    height: 18px;

    min-width: 18px;
    min-height: 18px;

    object-fit: contain;

    flex-shrink: 0;
}

/* --------------------------------------------------
   CONTENT
-------------------------------------------------- */

.travel-content {

    flex: 1;

    background: #ffffff;

    border: 1px solid #e0e0e0;
    border-radius: 8px;

    padding: 20px;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {

    .travel-page {

        flex-direction: column;
    }

    .travel-sidebar {

        width: 100%;
        min-width: 100%;
    }
}


/* --------------------------------------------------
   HOTELS
-------------------------------------------------- */

#hotel-list {

    display: grid;

    grid-template-columns:
        repeat(auto-fill,
        minmax(320px, 1fr));

    gap: 15px;

    margin-top: 20px;
}

.hotel-card {

    display: flex;

    gap: 15px;

    padding: 12px;

    background: white;

    border: 1px solid #ddd;
    border-radius: 8px;
}

.hotel-card-image img {

    width: 100px;
    height: 100px;

    object-fit: cover;

    border-radius: 6px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hotel-card-image img:hover {

    transform: scale(1.08);

    box-shadow:
        0 8px 20px rgba(0,0,0,.25);
}

.hotel-card-info {

    flex: 1;
}

.hotel-card-name {

    font-weight: bold;
    font-size: 16px;

    margin-bottom: 6px;
}

.hotel-card-city {

    color: #666;
}

.hotel-card-country {

    color: #999;
    margin-top: 4px;
}


/* -----------------------------------
   IMAGE MODAL
----------------------------------- */

.hotel-image-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(0,0,0,.85);

    display: flex;

    justify-content: center;
    align-items: center;

    z-index: 99999;

    cursor: zoom-out;
}

.hotel-image-full {

    max-width: 92vw;
    max-height: 92vh;

    border-radius: 10px;

    box-shadow:
        0 10px 40px rgba(0,0,0,.5);

    animation:
        hotelZoomIn .2s ease;
}

@keyframes hotelZoomIn {

    from {

        transform: scale(.9);

        opacity: 0;
    }

    to {

        transform: scale(1);

        opacity: 1;
    }
}


/* ----------------------------------
   HOTEL ADDRESS
---------------------------------- */

.hotel-card-address {

    margin-top: 6px;

    color: #555;

    font-size: 13px;

    line-height: 1.4;
}

/* ----------------------------------
   Flag
---------------------------------- */

.hotel-flag {

    width: 20px;
    height: auto;

    margin-right: 6px;

    vertical-align: middle;

    border: 1px solid #ddd;
    border-radius: 2px;
}

/* ----------------------------------
   HOTEL STAYS
---------------------------------- */

.hotel-card-stays {

    margin-top: 12px;
}

.hotel-card-stays-title {

    font-weight: 600;

    margin-bottom: 6px;

    color: #333;
}

.hotel-stay {

    display: inline-block;

    margin: 2px;

    padding: 4px 8px;

    border-radius: 4px;

    background: #f5f5f5;

    border: 1px solid #ddd;

    font-size: 12px;
}

.hotel-no-stays {

    color: #999;

    font-size: 12px;
}

/* ----------------------------------
   HOTEL TIMELINE
---------------------------------- */

.hotel-stays-timeline {

    margin-top: 10px;

    position: relative;

    padding-left: 14px;
}

.hotel-stays-timeline::before {

    content: "";

    position: absolute;

    left: 4px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: #d9d9d9;
}

.hotel-stay-row {

    position: relative;

    display: flex;

    align-items: flex-start;

    margin-bottom: 10px;
}

.hotel-stay-dot {

    position: absolute;

    left: -14px;
    top: 5px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #1976d2;

    border: 2px solid #ffffff;

    box-shadow: 0 0 0 1px #1976d2;
}

.hotel-stay-text {

    padding-left: 8px;
}

.hotel-stay-dates {

    font-size: 13px;

    color: #444;

    font-weight: 500;
}

.hotel-stay-link {

    cursor: pointer;

    transition:
        color .2s ease;
}

.hotel-stay-link:hover {

    color: #1976d2;

    text-decoration: underline;
}


/* ----------------------------------
   HOTEL Group
---------------------------------- */

.hotel-card-groups {

    margin-top: 15px;
}

.hotel-group-item {

    display: flex;
    gap: 10px;

    align-items: center;

    margin-top: 8px;

    padding: 6px;

    border: 1px solid #eee;
    border-radius: 6px;

    background: #fafafa;
}

.hotel-group-logo {

    width: 52px;
    height: 52px;

    object-fit: contain;
}

.hotel-group-info {

    flex: 1;
}

.hotel-group-name {

    font-weight: 600;
}

.hotel-group-program {

    font-size: 12px;
    color: #666;
}

.hotel-group-login {

    display: inline-block;

    margin-top: 4px;

    font-size: 12px;
}

.hotel-group-logo-clickable {

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.hotel-group-logo-clickable:hover {

    transform: scale(1.08);

    opacity: .9;
}