/* muchinya.css — Muchinya page specific styles */
.muchinya-hero { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); color: white; padding: 80px 0 60px; position: relative; overflow: hidden; }
.muchinya-hero::before { content: ''; position: absolute; top:0;left:0;right:0;bottom:0; background: url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center; opacity: 0.07; }
.muchinya-hero .container { position: relative; z-index: 2; }
.muchinya-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; padding: 6px 16px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.muchinya-badge .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: livePulse 2s infinite; }
@keyframes livePulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }
.muchinya-ai-card { background: white; color: var(--dark); border-radius: 16px; padding: 28px; box-shadow: 0 8px 40px rgba(0,0,0,0.15); }
.cap-chip { display: inline-flex; align-items: center; gap: 6px; background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 100px; padding: 5px 13px; font-size: 0.8rem; color: var(--corporate-gray); white-space: nowrap; }
.cap-chip i { color: var(--primary); font-size: 0.75rem; }
.muchinya-chat-wrap { background: white; border-radius: 12px; box-shadow: 0 2px 20px rgba(0,0,0,0.07); border: 1px solid #e5e7eb; overflow: hidden; }
.chat-status-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); color: white; }
.status-left { display: flex; align-items: center; gap: 10px; }
.status-avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.status-name { font-weight: 700; font-size: 0.92rem; }
.status-sub { font-size: 0.72rem; opacity: 0.85; display: flex; align-items: center; gap: 5px; }
.status-indicator-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: livePulse 2s infinite; }
.status-indicator-dot.thinking { background: var(--warning); }
.status-indicator-dot.solved   { background: #4ade80; animation: none; }
.status-indicator-dot.escalate { background: var(--warning); animation: none; }
.status-indicator-dot.critical { background: var(--danger); animation: none; }
.btn-new-session { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 0.75rem; padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.btn-new-session:hover { background: rgba(255,255,255,0.25); }
.chat-messages { background: #f8fafc; min-height: 420px; max-height: 500px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.msg { display: flex; gap: 10px; animation: msgFade 0.2s ease; }
@keyframes msgFade { from{opacity:0;transform:translateY(6px);} to{opacity:1;transform:translateY(0);} }
.msg.user { flex-direction: row-reverse; }
.msg-avatar { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; background: #e2e8f0; border: 2px solid #cbd5e1; }
.msg.muchinya .msg-avatar { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); border-color: #3b82f6; color: white; }
.msg-bubble { max-width: 75%; padding: 11px 15px; border-radius: 12px; font-size: 0.9rem; line-height: 1.6; }
.msg.muchinya .msg-bubble { background: white; border: 1px solid #e5e7eb; border-top-left-radius: 3px; color: var(--dark); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.msg.user .msg-bubble { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); color: white; border-top-right-radius: 3px; }
.msg-status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 8px; padding: 3px 10px; border-radius: 100px; }
.msg-status-badge.solved   { background: #dcfce7; color: #15803d; }
.msg-status-badge.escalate { background: #fef3c7; color: #92400e; }
.msg-status-badge.critical { background: #fee2e2; color: #991b1b; }
.diagnostic-report { background: #fffbeb; border: 1px solid #fbbf24; border-left: 4px solid #fbbf24; border-radius: 8px; padding: 16px; margin-top: 12px; font-size: 0.83rem; }
.diagnostic-report h6 { color: #92400e; font-weight: 700; margin-bottom: 10px; font-size: 0.82rem; display: flex; align-items: center; gap: 6px; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 8px; }
.report-item label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; display: block; }
.report-item span { color: var(--dark); font-weight: 500; font-size: 0.82rem; }
.report-list { padding-left: 14px; margin: 4px 0 0; }
.report-list li { font-size: 0.82rem; color: var(--dark); margin-bottom: 2px; }
.btn-book-technician { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); color: white; border: none; border-radius: 8px; padding: 10px 18px; font-size: 0.85rem; font-weight: 600; width: 100%; margin-top: 12px; transition: all 0.3s ease; cursor: pointer; }
.btn-book-technician:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.25); }
.typing-indicator { display: flex; gap: 10px; }
.typing-dots { background: white; border: 1px solid #e5e7eb; border-radius: 12px; border-top-left-radius: 3px; padding: 12px 16px; display: flex; gap: 4px; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.typing-dot { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; animation: typingBounce 1.2s infinite; }
.typing-dot:nth-child(2){animation-delay:0.2s;} .typing-dot:nth-child(3){animation-delay:0.4s;}
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0);} 30%{transform:translateY(-5px);} }
.chat-welcome { text-align: center; padding: 30px 20px; color: #64748b; }
.welcome-icon-wrap { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: white; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(37,99,235,0.25); }
.suggestion-chip { display: inline-block; background: white; border: 1px solid #e2e8f0; border-radius: 100px; padding: 6px 14px; font-size: 0.78rem; color: var(--corporate-gray); cursor: pointer; margin: 4px; transition: all 0.2s; }
.suggestion-chip:hover { border-color: var(--primary); color: var(--primary); background: #eff6ff; }
.chat-input-area { background: white; border-top: 1px solid #e5e7eb; padding: 14px 16px; }
.chat-input-row { display: flex; gap: 8px; align-items: flex-end; }
#userInput { flex: 1; border: 1px solid #d1d5db; border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; resize: none; min-height: 42px; max-height: 130px; line-height: 1.5; transition: border-color 0.2s, box-shadow 0.2s; outline: none; font-family: inherit; color: var(--dark); }
#userInput:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
#userInput::placeholder { color: #9ca3af; }
.btn-send { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); border: none; border-radius: 8px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; flex-shrink: 0; transition: all 0.2s; }
.btn-send:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-send:disabled { opacity: 0.35; cursor: not-allowed; }
.chat-input-hint { font-size: 0.72rem; color: #9ca3af; text-align: center; margin-top: 8px; }
.value-card { background: white; border-radius: 12px; box-shadow: 0 2px 20px rgba(0,0,0,0.05); padding: 24px; border-top: 3px solid var(--primary); height: 100%; transition: all 0.3s ease; }
.value-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.value-icon { width: 48px; height: 48px; border-radius: 10px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--primary); margin-bottom: 14px; }
.muchinya-cta { background: linear-gradient(135deg, var(--corporate-blue), #3b82f6); color: white; padding: 70px 0; text-align: center; }
.corporate-chat-widget { position: fixed; bottom: 30px; right: 30px; z-index: 1000; }
.corporate-chat-button { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25D366, #128C7E); color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all 0.3s ease; cursor: pointer; text-decoration: none; }
.corporate-chat-button:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(0,0,0,0.2); color: white; }
@media (max-width: 768px) { .muchinya-hero { padding: 60px 0 40px; } .chat-messages { min-height: 340px; max-height: 380px; } .report-grid { grid-template-columns: 1fr; } }
