/* Animated notifications styling */

/* Container for animated notifications */
.gemini-container {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(45, 90, 135, 0.05) 100%);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Glow effect */
.gemini-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
    animation: gemini-pulse 2s ease-in-out infinite;
}

/* Wave animation */
.gemini-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    animation: gemini-wave-expand 2s ease-in-out infinite;
    opacity: 0.5;
}

/* Content styling */
.gemini-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

/* Animated dots */
.gemini-dots {
    display: inline-block;
    animation: gemini-dots 1.4s infinite;
}

/* Completed notification */
.gemini-completed {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(40, 167, 69, 0.1) 100%);
    border-radius: 12px;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid rgba(40, 167, 69, 0.2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.gemini-completed .gemini-content {
    color: var(--success-green);
}

/* Animations */
@keyframes gemini-pulse {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}

@keyframes gemini-wave-expand {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(1);
        transform-origin: left;
    }
    50.1% {
        transform: scaleX(1);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

@keyframes gemini-dots {
    0% {
        content: "";
    }
    25% {
        content: ".";
    }
    50% {
        content: "..";
    }
    75% {
        content: "...";
    }
    100% {
        content: "";
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .gemini-container,
    .gemini-completed {
        padding: 0.75rem;
        margin: 0.4rem 0;
    }
    
    .gemini-content {
        font-size: 0.9rem;
    }
    
    .gemini-wave {
        animation: gemini-wave-expand-mobile 1.5s ease-in-out infinite;
    }
}

@keyframes gemini-wave-expand-mobile {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    100% {
        transform: scaleX(1);
        transform-origin: left;
    }
}