/**
 * Hotel Card Component Styles - Safari Compatible
 * Standardized hotel card for grid, map, and featured views
 */

/* Inline hotel display variables to avoid import issues */
.hotel-display-component {
    /* Hotel Card Colors */
    --hotel-card-bg: #ffffff;
    --hotel-card-bg-hover: #f9fafb;
    --hotel-card-border: #e5e7eb;
    --hotel-card-border-hover: #8b5cf6;
    --hotel-card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hotel-card-shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    
    /* Hotel Card Typography */
    --hotel-title-size: 18px;
    --hotel-title-weight: 700;
    --hotel-title-color: #1f2937;
    --hotel-price-size: 20px;
    --hotel-price-weight: 700;
    --hotel-price-color: #16a34a;
    --hotel-rating-size: 14px;
    --hotel-rating-color: #6b7280;
    --hotel-location-size: 14px;
    --hotel-location-color: #6b7280;
    
    /* Hotel Card Spacing */
    --hotel-card-padding: 20px;
    --hotel-card-margin: 16px;
    --hotel-card-gap: 16px;
    --hotel-image-radius: 12px;
    --hotel-card-radius: 16px;
}

/* ========================================
   HOTEL CARD COMPONENT
   ======================================== */

/* Base Card Container - Dark Theme */
.hotel-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Allow shrinking below content size */
    display: block;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    /* Safari GPU acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hotel-card:hover {
    -webkit-transform: translateY(-4px) translateZ(0);
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

/* Card Link */
.hotel-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.hotel-card__link:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
    border-radius: 16px;
}

/* Media wrapper when image uses internal links (gallery overlay or single-image <a>) */
.hotel-card__media {
    display: block;
    color: inherit;
}

/* Gallery: full-area link under image so prev/next buttons are not nested inside <a> */
.hotel-card__image-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    border-radius: inherit;
}

/* Nav + counter must stack above the overlay link (z-index 1) or clicks hit the link */
.hotel-card__gallery-nav,
.hotel-card__gallery-counter {
    z-index: 20;
}

/* Single image: anchor fills the image slot */
.hotel-card__single-image .hotel-card__link {
    display: block;
    width: 100%;
    height: 100%;
}

.hotel-card__single-image .hotel-card__image {
    width: 100%;
    height: 100%;
}

/* Image Container */
.hotel-card__image-container {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card__image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Single Image */
.hotel-card__single-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    min-height: 100%;
    min-width: 100%;
}

.hotel-card:hover .hotel-card__image {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

/* Image Placeholder */
.hotel-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    font-weight: 500;
}

.hotel-card__placeholder svg {
    margin-bottom: 8px;
}

/* Gallery System */
.hotel-card__gallery {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card__gallery-main {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card__gallery-image {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
    min-height: 100%;
    min-width: 100%;
}

/* Gallery Navigation */
.hotel-card__gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.hotel-card:hover .hotel-card__gallery-nav {
    opacity: 1;
}

.hotel-card__gallery-btn {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    outline: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    /* Parent nav uses pointer-events: none so middle of strip still hits the image link; buttons opt in */
    pointer-events: auto;
    position: relative;
    z-index: 21;
}

.hotel-card__gallery-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.hotel-card__gallery-btn:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.hotel-card__gallery-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    -webkit-transform: none;
    transform: none;
}

/* Gallery Counter */
.hotel-card__gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    pointer-events: none;
}

/* Touch / no-hover: show arrows so users know they can tap (no :hover on phones) */
@media (hover: none) {
    .hotel-card__gallery-nav {
        opacity: 1;
    }
}

/* Content Container */
.hotel-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Hotel Info */
.hotel-card__info {
    margin-bottom: 16px;
}

.hotel-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
    min-height: 47px;
}

.hotel-card__title-link {
    color: inherit;
    text-decoration: none;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.hotel-card__title-link:hover {
    color: #8b5cf6;
}

.hotel-card__title-link:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hotel Details */
.hotel-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
}

.hotel-card__rating,
.hotel-card__location,
.hotel-card__distance {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

.hotel-card__rating svg,
.hotel-card__location svg,
.hotel-card__distance svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hotel-card__rating {
    color: #f59e0b; /* Gold color for rating */
}

.hotel-card__rating svg {
    fill: currentColor;
}

.hotel-card__location svg,
.hotel-card__distance svg {
    stroke: currentColor;
    fill: none;
}

/* Price Section */
.hotel-card__price-container {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    overflow: visible;
}

.hotel-card__price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}

.hotel-card__price-spacer {
    flex: 1;
}

.hotel-card__price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.hotel-card__price {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
    margin: 0;
    line-height: 1.1;
}

.hotel-card__price--unavailable {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
}

.hotel-card__price-period {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* CTA Button */
.hotel-card__cta-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--event-primary-color, #4323FF);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--event-primary-color, #4323FF) 30%, transparent);
    white-space: nowrap;
    line-height: 1.4;
    max-width: none;
    flex-shrink: 0;
    margin-left: auto;
}

.hotel-card__cta-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hotel-card__cta-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hotel-card__cta-button:hover {
    color: #fff;
    background: var(--event-primary-color, #4323FF);
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--event-primary-color, #4323FF) 40%, transparent);
}

.hotel-card__cta-button:active {
    transform: translateY(0);
}

.hotel-card__cta-button svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.hotel-card__cta-button:hover svg {
    transform: translateX(2px);
}

/* Waitlist Button - Same style as CTA but muted color */
.hotel-card__waitlist-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #6b7280;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
    white-space: nowrap;
    line-height: 1.4;
    cursor: pointer;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    margin-left: auto;
}

.hotel-card__waitlist-button:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

.hotel-card__waitlist-button:active {
    transform: translateY(0);
}

.hotel-card__waitlist-button:focus {
    outline: none;
}

.hotel-card__waitlist-icon {
    display: none;
}

.hotel-card__waitlist-text {
    flex: 1;
    text-align: center;
}

.hotel-card__waitlist-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.hotel-card__waitlist-button:hover .hotel-card__waitlist-arrow {
    transform: translateX(2px);
}

/* Remove global emoji icon - handled in source CSS with :not() selector */
.hotel-card__waitlist-button:before {
    content: none;
    display: none;
    margin: 0;
}

/* Waitlist Button - Map View */
.hotel-card__waitlist-button--map {
    padding: 6px 12px;
    font-size: 11px;
    gap: 4px;
    height: auto;
    min-height: 28px;
    flex-shrink: 0;
}

.hotel-card__waitlist-button--map .hotel-card__waitlist-icon {
    width: 12px;
    height: 12px;
}

.hotel-card__waitlist-button--map .hotel-card__waitlist-arrow {
    width: 12px;
    height: 12px;
}

/* Status Badges */
.hotel-card__badge {
    position: absolute;
    z-index: 10;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hotel-card__badge--sold-out {
    top: 12px;
    left: 0;
    background: #ef4444;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 0 8px 8px 0;
    z-index: 20;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    font-weight: 700;
}

.hotel-card__badge--featured {
    top: 12px;
    left: 0;
    background: #f59e0b;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 0 8px 8px 0;
    z-index: 20;
    font-weight: 700;
}

.hotel-card__badge--private {
    top: 16px;
    right: 16px;
    background: rgba(139, 92, 246, 0.9);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Card Variants */
.hotel-card--map {
    max-width: 100%;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    height: 130px;
    min-height: 130px;
    max-height: 130px;
}

.hotel-card--map .hotel-card__image-container {
    width: 140px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-card--map .hotel-card__content {
    padding: 14px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

.hotel-card--map .hotel-card__info {
    margin-bottom: 8px;
    flex: 1;
}

.hotel-card--map .hotel-card__title {
    font-size: 14px;
    margin-bottom: 6px;
    min-height: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.4em;
}

.hotel-card--map .hotel-card__details {
    gap: 4px 8px;
    flex-wrap: wrap;
}

.hotel-card--map .hotel-card__rating,
.hotel-card--map .hotel-card__location,
.hotel-card--map .hotel-card__distance {
    font-size: 10px;
}

.hotel-card--map .hotel-card__rating svg,
.hotel-card--map .hotel-card__location svg,
.hotel-card--map .hotel-card__distance svg {
    width: 12px;
    height: 12px;
}

.hotel-card--map .hotel-card__price-container {
    padding-top: 0;
    margin-top: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: auto;
}

.hotel-card--map .hotel-card__price-wrapper {
    flex: 0 0 auto;
}

.hotel-card--map .hotel-card__price-label {
    font-size: 9px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.hotel-card--map .hotel-card__price {
    font-size: 16px;
    line-height: 1.1;
    margin-bottom: 2px;
}

.hotel-card--map .hotel-card__price-period {
    font-size: 10px;
    line-height: 1.2;
}

.hotel-card--map .hotel-card__cta-button {
    padding: 6px 12px;
    font-size: 11px;
    height: auto;
    min-height: 28px;
    flex-shrink: 0;
}

.hotel-card--map .hotel-card__cta-button svg {
    width: 12px;
    height: 12px;
}

.hotel-card--map .hotel-card__gallery-btn {
    width: 24px;
    height: 24px;
}

.hotel-card--map .hotel-card__gallery-nav {
    padding: 0 6px;
}

.hotel-card--map .hotel-card__gallery-counter {
    font-size: 9px;
    padding: 2px 5px;
    bottom: 6px;
    right: 6px;
}

.hotel-card--map .hotel-card__badge--private {
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    font-size: 8px;
}

.hotel-card--map .hotel-card__badge--sold-out {
    top: 8px;
    left: 0;
    padding: 4px 10px;
    font-size: 9px;
    border-radius: 0 6px 6px 0;
}

.hotel-card--map:hover {
    -webkit-transform: translateY(-4px) translateZ(0);
    transform: translateY(-4px) translateZ(0);
}

.hotel-card--featured {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.hotel-card--featured:hover {
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

/* Sold Out Variant - Matches available hotels except greyed image */
.hotel-card--sold-out .hotel-card__image,
.hotel-card--sold-out .hotel-card__gallery-image {
    filter: grayscale(100%);
    opacity: 0.7;
}

.hotel-card--sold-out .hotel-card__price {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.hotel-card--private {
    border-color: #a78bfa;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}

/* Text Content Overflow Prevention */
.hotel-card * {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hotel-card__title,
.hotel-card__location,
.hotel-card__description {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hotel-card__content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hotel-card {
        border-radius: 12px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .hotel-card__image-container {
        height: 200px;
        border-radius: 12px 12px 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hotel-card__content {
        padding: 16px;
    }
    
    .hotel-card__title {
        font-size: 16px;
        margin-bottom: 10px;
        min-height: 42px;
    }
    
    .hotel-card__details {
        gap: 8px;
    }
    
    .hotel-card__rating,
    .hotel-card__location,
    .hotel-card__distance {
        font-size: 12px;
    }
    
    .hotel-card__price {
        font-size: 20px;
    }
    
    .hotel-card__price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 12px;
    }
    
    .hotel-card__cta-button,
    .hotel-card__waitlist-button {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
    
    .hotel-card__gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .hotel-card__gallery-nav {
        padding: 0 16px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hotel-card__image-container {
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hotel-card__content {
        padding: 14px;
    }
    
    .hotel-card__title {
        font-size: 15px;
        min-height: 39px;
    }
    
    .hotel-card__details {
        gap: 6px;
    }
    
    .hotel-card__price {
        font-size: 16px;
    }
}

/* Loading State */
.hotel-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

.hotel-card.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top: 3px solid #8b5cf6;
    border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    animation: hotel-card-spin 1s linear infinite;
}

@keyframes hotel-card-spin {
    0% { 
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    100% { 
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}

/* Error State */
.hotel-card.error {
    border-color: #dc2626;
    background: #fef2f2;
}

.hotel-card.error .hotel-card__title {
    color: #dc2626;
}

/* Tooltip System */
.tooltip-container {
    position: relative;
}

.tooltip-hovered {
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    margin-top: 4px;
}

.tooltip-container:hover .tooltip-hovered {
    opacity: 1;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hotel-card {
        border-width: 2px;
        border-color: #000000;
    }
    
    .hotel-card__title {
        color: #000000;
    }
    
    .hotel-card__title-link:focus {
        outline: 3px solid #000000;
    }
    
    .hotel-card__price {
        color: #000000;
        font-weight: 900;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hotel-card,
    .hotel-card__image,
    .hotel-card__gallery-btn,
    .hotel-card__title-link {
        -webkit-transition: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    .hotel-card:hover {
        -webkit-transform: none;
        transform: none;
    }
    
    .hotel-card:hover .hotel-card__image {
        -webkit-transform: none;
        transform: none;
    }
    
    .hotel-card.loading::after {
        animation: none;
        border-top-color: #8b5cf6;
        opacity: 0.8;
    }
}

/* Safari-Specific Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hotel-card {
        -webkit-font-smoothing: antialiased;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .hotel-card__image {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    .hotel-card__gallery-btn {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Print Styles */
@media print {
    .hotel-card {
        break-inside: avoid;
        border: 1px solid #000000;
        box-shadow: none;
    }
    
    .hotel-card__gallery-nav,
    .hotel-card__badge {
        display: none;
    }
    
    .hotel-card__image {
        filter: grayscale(100%);
    }
}

/* ========================================
   TEAM CLAIM MULTI-SELECT STYLES
   ======================================== */

/* Team Claim Card State */
.hotel-card--team-claim {
    cursor: pointer;
    position: relative;
}

.hotel-card--team-claim:hover {
    border-color: rgba(79, 246, 177, 0.5);
    box-shadow: 0 20px 40px rgba(79, 246, 177, 0.2);
}

.hotel-card--team-claim.hotel-card--selected {
    border-color: var(--event-secondary-color, #4FF6B1);
    border-width: 2px;
    background: rgba(79, 246, 177, 0.1);
    box-shadow: 0 0 0 3px rgba(79, 246, 177, 0.2);
}

/* Team Claim Checkbox */
/* Team Claim Selection Indicator (checkmark overlay when selected) */
.hotel-card__selection-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hotel-card--team-claim.hotel-card--selected .hotel-card__selection-indicator {
    opacity: 1;
    transform: scale(1);
}

.hotel-card--team-claim {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.hotel-card--team-claim:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 246, 177, 0.2);
}

.hotel-card--team-claim.hotel-card--selected {
    border: 2px solid var(--event-secondary-color, #4FF6B1);
    box-shadow: 0 0 0 4px rgba(79, 246, 177, 0.1), 0 8px 24px rgba(79, 246, 177, 0.3);
}

.hotel-card--team-claim .hotel-card__link--selectable {
    cursor: pointer;
}

.hotel-card--team-claim:focus,
.hotel-card--team-claim .hotel-card__link--selectable:focus {
    outline: 2px solid var(--event-secondary-color, #4FF6B1);
    outline-offset: 2px;
}

/* Prevent text selection on Team Claim cards when clicking */
.hotel-card--team-claim {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Team Claim Hotel Selection Banner */
.team-claim-hotel-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-top: 2px solid var(--event-secondary-color, #4FF6B1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: "DM Sans", sans-serif;
}

.team-claim-hotel-banner--visible {
    transform: translateY(0);
}

.team-claim-hotel-banner__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 84px;
    gap: 16px;
    margin: 0 auto;
}

.team-claim-hotel-banner__message {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 500;
    flex-shrink: 0;
}

.team-claim-hotel-banner__icon {
    color: var(--event-secondary-color, #4FF6B1);
    flex-shrink: 0;
}

.team-claim-hotel-banner__text {
    font-size: 15px;
}

.team-claim-hotel-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.team-claim-hotel-banner__btn {
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.team-claim-hotel-banner__btn--primary {
    background: var(--event-secondary-color, #4FF6B1);
    color: #000;
}

.team-claim-hotel-banner__btn--primary:hover {
    background: #3DE89F;
    transform: translateY(-1px);
}

.team-claim-hotel-banner__btn--primary:active {
    transform: translateY(0);
}

/* Body padding when banner is visible */
body.team-claim-banner-visible {
    padding-bottom: 80px;
}

@media (max-width: 768px) {
    body.team-claim-banner-visible {
        padding-bottom: 120px;
    }
    
    .team-claim-hotel-banner__content {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .team-claim-hotel-banner__actions {
        margin-left: 0;
    }
    
    .team-claim-hotel-banner__btn {
        width: 100%;
    }
}

/* Legacy Continue Button (Floating) - Keep for backwards compatibility */
.team-claim-continue-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: linear-gradient(135deg, var(--event-secondary-color, #4FF6B1) 0%, #06D6A0 100%);
    color: #1a1a1c;
    border: none;
    border-radius: 16px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(79, 246, 177, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.team-claim-continue-btn.team-claim-continue-btn--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.team-claim-continue-btn:hover {
    background: linear-gradient(135deg, #06D6A0 0%, #029985 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 246, 177, 0.5);
}

.team-claim-continue-btn:active {
    transform: translateY(0);
}

.team-claim-continue-btn__count {
    background: rgba(26, 26, 28, 0.2);
    border-radius: 12px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .team-claim-continue-btn {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        min-width: auto;
    }
    
    .hotel-card__team-claim-checkbox {
        top: 8px;
        right: 8px;
    }
    
    .hotel-card__checkbox-label {
        width: 28px;
        height: 28px;
    }
    
    .checkbox-icon {
        width: 16px;
        height: 16px;
    }
}
