﻿/* hotel collaboration */


/* Cards */
/* Container */
.button-tile-collaboration-assets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.button-tile-collaboration-asset {
    filter: grayscale(100%);
    transition: filter 0.2s ease;
}

    .button-tile-collaboration-asset:hover,
    .button-tile-collaboration-asset.selected {
        filter: grayscale(0%);
    }


/* Results panel */
.results {
    margin-top: 40px;
}

.result-block {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.result-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.result-asset-name {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
}

.result-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

    .result-status.none {
        background: #fdecea;
        color: #c0392b;
    }

    .result-status.found {
        background: #e8f5e9;
        color: #2e7d32;
    }

/* No slots */
.no-slots {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Date groups */
.date-group {
    margin-bottom: 16px;
}

    .date-group:last-child {
        margin-bottom: 0;
    }

.date-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 8px;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Availability load indicator — thin sliding bar above the tiles */
.collab-load-bar {
    display: none;
    height: 3px;
    margin-bottom: 16px;
    background: #ebebeb;
    border-radius: 2px;
    overflow: hidden;
}

.collab-load-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 35%;
    background: #d5001c;
    border-radius: 2px;
    animation: collab-bar-slide 1.2s ease-in-out infinite;
}

@keyframes collab-bar-slide {
    0%   { margin-left: -35%; }
    100% { margin-left: 100%; }
}

/* Disable tile interaction while data is loading */
.button-tile-collaboration-assets.loading {
    pointer-events: none;
    opacity: 0.55;
    cursor: wait;
}

