/* Aura AI Widget — Rose-Gold Themed Voice Assistant */

.aura-ai-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.aura-widget-panel {
    background: linear-gradient(135deg, #2a1f1a 0%, #3a2a1f 100%);
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(183, 110, 121, 0.35);
    padding: 10px 20px 10px 10px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: auraSlideUp 0.4s ease;
    border: 2px solid rgba(183, 110, 121, 0.3);
}

@keyframes auraSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.aura-widget-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(183, 110, 121, 0.45);
    border-color: rgba(183, 110, 121, 0.6);
}

.aura-visualizer-container {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

#auraVisualizer {
    position: absolute;
    top: 0; left: 0;
    width: 50px; height: 50px;
}

.aura-orb {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b76e79 0%, #d4919b 50%, #9c5a64 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(183, 110, 121, 0.5);
    transition: all 0.3s ease;
    z-index: 2;
}

.aura-orb.listening {
    animation: auraPulse 2s infinite;
    box-shadow: 0 0 25px rgba(183, 110, 121, 0.7);
}

.aura-orb.speaking {
    animation: auraPulseFast 0.8s infinite;
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.8);
    background: linear-gradient(135deg, #c9a96e 0%, #e8d5b0 50%, #b08d4f 100%);
}

@keyframes auraPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes auraPulseFast {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.12); }
}

.aura-orb-inner {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aura-orb-inner svg {
    width: 18px; height: 18px; fill: white;
}

.aura-widget-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.aura-widget-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    flex: 1;
}
.aura-widget-text span {
    color: #d4919b;
}

.aura-mute-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}
.aura-mute-btn svg {
    width: 18px; height: 18px;
    stroke: #ffffff;
    transition: all 0.3s ease;
}
.aura-mute-btn:hover { background: rgba(255, 255, 255, 0.2); }
.aura-mute-btn.muted svg { stroke: #ff4b4b; }
.aura-mute-btn.muted:hover { background: rgba(255, 75, 75, 0.2); }

.aura-end-btn {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.aura-end-btn svg {
    width: 14px; height: 14px; stroke: #ff6b6b;
}
.aura-end-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.05);
}
.aura-end-btn:hover svg { stroke: white; }

@media screen and (max-width: 480px) {
    .aura-ai-widget { right: 15px; bottom: 20px; }
    .aura-widget-panel { padding: 8px 16px 8px 8px; gap: 10px; }
    .aura-visualizer-container { width: 45px; height: 45px; }
    #auraVisualizer { width: 45px; height: 45px; }
    .aura-orb { width: 38px; height: 38px; }
    .aura-orb-inner { width: 28px; height: 28px; }
    .aura-widget-text { font-size: 13px; }
    .aura-end-btn { padding: 6px 12px; font-size: 11px; }
}

/* Docked State for Cart/Checkout */
.aura-ai-widget.aura-docked {
    right: 0 !important;
    bottom: 50% !important;
    transform: translateY(50%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.aura-ai-widget.aura-docked .aura-widget-panel {
    border-radius: 20px 0 0 20px;
    padding: 10px;
    background: linear-gradient(135deg, #b76e79 0%, #3a2a1f 100%);
    border-right: none;
    flex-direction: column;
}
.aura-ai-widget.aura-docked .aura-widget-text {
    display: none; /* Hide text when docked */
}
.aura-ai-widget.aura-docked:hover {
    right: 10px !important;
}
.aura-ai-widget.aura-docked:hover .aura-widget-panel {
    border-radius: 25px;
    flex-direction: row;
    padding: 10px 20px 10px 10px;
}
.aura-ai-widget.aura-docked:hover .aura-widget-text {
    display: block;
}
