
/* Hotel avatar and account integration */

.hotel-avatar-room,
.hotel-profile-room{
    position:relative;
    overflow:hidden;
}

.hotel-avatar-image{
    display:block;
    max-height:138px;
    max-width:135px;
    width:auto;
    object-fit:contain;
    image-rendering:pixelated;
    align-self:flex-end;
}

.hotel-profile-avatar{
    display:block;
    max-height:260px;
    max-width:210px;
    width:auto;
    object-fit:contain;
    image-rendering:pixelated;
    align-self:flex-end;
}

.team-card-status-row,
.profile-title-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    flex-wrap:wrap;
}

.hotel-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
    border:1px solid var(--uv3-border,#abc3ce);
    border-radius:999px;
    background:var(--uv3-soft,#eff7fb);
    color:var(--uv3-text,#203846);
    padding:5px 8px;
    font-size:9px;
    font-weight:bold;
}

.hotel-status i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#94a5ad;
}

.hotel-status.is-online i{
    background:#4ddd75;
    box-shadow:0 0 0 4px rgba(77,221,117,.13);
}

.hotel-status.is-offline i{
    background:#879aa4;
}

.hotel-motto,
.profile-hotel-motto{
    color:var(--uv3-muted,#607986)!important;
    font-style:italic;
    line-height:1.5;
}

.profile-hotel-motto{
    font-size:16px;
    margin:10px 0;
}

.hotel-integration-layout{
    display:grid;
    grid-template-columns:390px minmax(0,1fr);
    gap:20px;
}

.hotel-settings-card{
    align-self:start;
    position:sticky;
    top:20px;
}

.hotel-settings-card hr{
    border:0;
    border-top:1px solid var(--uv3-line,#d5e4ea);
    margin:22px 0;
}

.hotel-search-results,
.hotel-link-list{
    display:grid;
    gap:12px;
    margin-top:15px;
}

.hotel-search-results article{
    display:grid;
    grid-template-columns:70px 1fr;
    gap:10px;
    align-items:center;
    background:var(--uv3-soft,#eff7fb);
    border:2px solid var(--uv3-border,#abc3ce);
    border-radius:8px;
    padding:10px;
}

.hotel-search-results img{
    width:60px;
    height:70px;
    object-fit:contain;
    image-rendering:pixelated;
}

.hotel-search-results small,
.hotel-search-results strong,
.hotel-search-results p{
    display:block;
    margin:2px 0;
}

.hotel-search-fallback{
    display:flex;
    align-items:center;
    justify-content:center;
    width:60px;
    height:60px;
    font-size:30px;
}

.hotel-link-card{
    background:var(--uv3-soft,#eff7fb);
    border:2px solid var(--uv3-border,#abc3ce);
    border-radius:9px;
    padding:15px;
}

.hotel-link-current{
    display:grid;
    grid-template-columns:85px 1fr;
    gap:13px;
    align-items:center;
}

.hotel-link-avatar{
    display:flex;
    align-items:end;
    justify-content:center;
    height:95px;
    background:var(--uv3-card,#fff);
    border:2px solid var(--uv3-border,#abc3ce);
    border-radius:7px;
    overflow:hidden;
}

.hotel-link-avatar img{
    max-width:80px;
    max-height:92px;
    object-fit:contain;
    image-rendering:pixelated;
}

.hotel-link-avatar span{
    font-size:43px;
}

.hotel-link-current h3{
    margin:8px 0 3px;
}

.hotel-link-current p{
    margin:0;
}

.not-linked{
    color:#a24848!important;
}

.hotel-link-actions{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:10px;
    align-items:end;
    border-top:1px solid var(--uv3-line,#d5e4ea);
    margin-top:14px;
    padding-top:14px;
}

.hotel-link-form{
    display:flex;
    align-items:end;
    gap:8px;
}

.hotel-link-form label{
    flex:1;
    margin:0;
}

.hotel-link-form input{
    margin-bottom:0;
}

.field-help code{
    background:var(--uv3-soft,#eff7fb);
    color:var(--uv3-text,#203846);
    border-radius:4px;
    padding:2px 5px;
}

@media(max-width:1100px){
    .hotel-integration-layout{
        grid-template-columns:1fr;
    }

    .hotel-settings-card{
        position:static;
    }
}

@media(max-width:800px){
    .hotel-link-actions{
        grid-template-columns:1fr;
    }

    .hotel-link-form{
        align-items:stretch;
        flex-direction:column;
    }
}

@media(max-width:600px){
    .hotel-link-current{
        grid-template-columns:1fr;
    }

    .hotel-link-avatar{
        width:90px;
    }
}
