/* AgriMind Glassmorphism */
#agrimind-neural-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.amb-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    width: 320px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.amb-card.amb-visible {
    transform: translateY(0);
    opacity: 1;
}

.amb-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.amb-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.amb-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
}

.amb-pulse {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    margin-left: auto;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

.amb-content {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.5;
}

.amb-highlight {
    color: #059669;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.amb-action {
    background: #10B981;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: transform 0.2s;
    display: block;
}

.amb-action:hover {
    background: #059669;
    transform: scale(1.02);
}

.amb-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    color: #9CA3AF;
    cursor: pointer;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
