.amelia-spots-info {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    pointer-events: none; /* Don't block clicks */
}

.amelia-spots-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.amelia-spots-badge.available {
    background-color: #10b981;
    color: white;
}

.amelia-spots-badge.limited {
    background-color: #f59e0b;
    color: white;
}

.amelia-spots-badge.unavailable {
    background-color: #ef4444;
    color: white;
}

.amelia-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.amelia-spots-count {
    line-height: 1;
    white-space: nowrap;
    font-size: 11px;
}

.amelia-loading {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 14px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Make sure slot items have relative positioning */
.am-advsc__slots-item {
    position: relative !important;
}

    .amelia-spots-info {
        right: 8px !important;
        top: 20% !important;
        font-size:13px !important;
    }


/* Adjust slot inner text to avoid overlap */
.am-advsc__slots-item__inner {
    padding-right: 110px !important; /* Make room for badge */
}

.amelia-v2-booking #amelia-container .am-advsc__slots {
    display: grid !important;
    grid-template-columns: 100% !important;
}

.amelia-v2-booking #amelia-container .am-advsc__slots-item {
        width: 100% !important;
}

.amelia-v2-booking #amelia-container .am-advsc__slots-item__inner {
        justify-content: start !important;
            gap: 0 !important;
    line-height: 2.8 !important;
}

.amelia-v2-booking #amelia-container .am-advsc__slots-item:last-child {
    width:100% !important;
    max-width:100% !important;
}

/* Responsive */
@media (max-width: 768px) {
    .amelia-spots-badge {
        font-size: 10px;
        padding: 3px 8px;
        gap: 3px;
    }
    
    .amelia-icon {
        width: 12px;
        height: 12px;
    }
    
    .amelia-spots-count {
        font-size: 10px;
    }
    
}
