/* Ensure camera video from MindAR is visible inside container */
.vrlogos-ar-container {
    position: relative;
    background: transparent !important;
}

.vrlogos-ar-container video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    z-index: 0 !important; /* override MindAR's -2 so it isn't hidden by container bg */
}

.vrlogos-ar-container canvas {
    position: absolute !important;
    top: 0;
    left: 0;
}
/* VRLOGOS WebAR Styles */
:root { 
    --brand: #ff7a00; 
}

.vrlogos-webar-container {
    position: relative;
    background: #000;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.vrlogos-ar-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.vrlogos-control {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem;
}

.vrlogos-btn {
    font-weight: 700;
    font-size: 14px;
    padding: 0.6rem 0.9rem;
    border-radius: 14px;
    border: none;
    background: #fff;
    color: #111;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.vrlogos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.vrlogos-btn-brand {
    background: var(--brand);
    color: #fff;
}

.vrlogos-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
}

.vrlogos-badge {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    background: rgba(0,0,0,0.55);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 12px;
}

.vrlogos-hint {
    position: fixed;
    top: 10px;
    right: 12px;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    background: rgba(0,0,0,0.65);
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    max-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vrlogos-control {
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .vrlogos-btn {
        font-size: 12px;
        padding: 0.5rem 0.7rem;
    }
    
    .vrlogos-badge {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .vrlogos-hint {
        font-size: 10px;
        padding: 0.4rem 0.6rem;
        max-width: 150px;
    }
}

/* Loading state */
.vrlogos-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    z-index: 1;
}

/* Error state */
.vrlogos-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ff4444;
    font-size: 14px;
    text-align: center;
    z-index: 1;
    background: rgba(0,0,0,0.8);
    padding: 1rem;
    border-radius: 10px;
    max-width: 300px;
}
