/* ===== AI WHATSAPP STATUS GENERATOR ===== */
.ws-wrapper{display:flex;flex-direction:column;gap:22px;margin-bottom:28px}
.ws-layout{display:grid;grid-template-columns:300px 1fr;gap:22px;align-items:start}

/* Controls */
.ws-controls{background:#fff;border:2px solid #dcfce7;border-radius:20px;padding:20px;position:sticky;top:80px;max-height:92vh;overflow-y:auto;scrollbar-width:thin}
.ws-section{margin-bottom:16px;padding-bottom:16px;border-bottom:2px solid #f0fdf4}
.ws-section:last-of-type{border-bottom:none;margin-bottom:0}
.ws-section-title{font-size:12px;font-weight:800;color:#16a34a;margin-bottom:10px;letter-spacing:.3px}

/* Mood Grid */
.ws-mood-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ws-mood-btn{background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:10px;padding:8px 4px;cursor:pointer;transition:all .2s;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:18px}
.ws-mood-btn span{font-size:10px;font-weight:700;color:#16a34a;line-height:1.2}
.ws-mood-btn:hover{border-color:#22c55e;background:#dcfce7}
.ws-mood-btn.active{background:linear-gradient(135deg,#22c55e,#16a34a);border-color:#22c55e;box-shadow:0 4px 12px rgba(34,197,94,.3)}
.ws-mood-btn.active span{color:#fff}

/* Lang */
.ws-lang-btns{display:flex;gap:6px}
.ws-lang-btn{flex:1;background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:8px;padding:8px 4px;font-size:11px;font-weight:700;color:#16a34a;cursor:pointer;transition:all .2s;text-align:center}
.ws-lang-btn.active{background:linear-gradient(135deg,#22c55e,#16a34a);border-color:#22c55e;color:#fff}

/* Style */
.ws-style-btns{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ws-style-btn{background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:8px;padding:8px;font-size:12px;font-weight:700;color:#16a34a;cursor:pointer;transition:all .2s;text-align:center}
.ws-style-btn.active{background:linear-gradient(135deg,#22c55e,#16a34a);border-color:#22c55e;color:#fff}

/* Input */
.ws-input{width:100%;border:1.5px solid #bbf7d0;border-radius:9px;padding:9px 12px;font-size:13px;outline:none;color:#1f2937;box-sizing:border-box;font-family:inherit}
.ws-input:focus{border-color:#22c55e}

/* Generate Button */
.ws-generate-btn{width:100%;background:linear-gradient(135deg,#25d366,#128c3e);color:#fff;border:none;border-radius:14px;padding:16px;font-size:16px;font-weight:900;cursor:pointer;transition:all .3s;box-shadow:0 4px 16px rgba(37,211,102,.4);display:flex;align-items:center;justify-content:center;gap:10px;margin-top:4px}
.ws-generate-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,211,102,.5)}
.ws-generate-btn:disabled{opacity:.7;cursor:not-allowed}
.ws-btn-icon{font-size:20px;animation:ws-spin 3s linear infinite}
@keyframes ws-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* Tips */
.ws-tips{margin-top:12px;display:flex;flex-direction:column;gap:5px}
.ws-tip{font-size:10px;color:#6b7280;background:#f9fafb;border-radius:6px;padding:6px 10px;line-height:1.5}

/* Result Panel */
.ws-result-panel{display:flex;flex-direction:column;gap:16px}

/* Placeholder — WhatsApp phone mock */
.ws-placeholder{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:2px dashed #bbf7d0;border-radius:20px;padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;min-height:300px;justify-content:center}
.ws-ph-phone{width:160px;height:200px;background:linear-gradient(160deg,#075e54,#128c7e);border-radius:24px;padding:12px;box-shadow:0 12px 30px rgba(7,94,84,.3);position:relative;animation:ws-float 3s ease-in-out infinite}
@keyframes ws-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.ws-ph-screen{background:#ece5dd;border-radius:14px;height:100%;overflow:hidden;display:flex;flex-direction:column}
.ws-ph-header{background:#075e54;padding:8px 10px;display:flex;align-items:center;gap:6px}
.ws-ph-avatar{font-size:16px;background:#25d366;border-radius:50%;width:26px;height:26px;display:flex;align-items:center;justify-content:center}
.ws-ph-name{font-size:10px;font-weight:700;color:#fff}
.ws-ph-preview{flex:1;padding:10px;display:flex;flex-direction:column;gap:5px;justify-content:center}
.ws-ph-line{height:8px;background:#ccc;border-radius:4px;animation:ws-pulse 1.5s ease-in-out infinite}
.ws-ph-line.short{width:60%}
@keyframes ws-pulse{0%,100%{opacity:.5}50%{opacity:1}}
.ws-ph-dot{font-size:8px;color:#888;margin-top:4px;font-style:italic}
.ws-ph-title{font-size:18px;font-weight:800;color:#166534}
.ws-ph-sub{font-size:13px;color:#16a34a}

/* Loading */
.ws-loading{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:2px solid #bbf7d0;border-radius:20px;padding:50px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px;min-height:260px;justify-content:center}
.ws-loading-icon{font-size:48px;animation:ws-sparkle 1s ease-in-out infinite alternate}
@keyframes ws-sparkle{from{transform:scale(1) rotate(-5deg)}to{transform:scale(1.2) rotate(5deg)}}
.ws-loading-text{font-size:16px;font-weight:700;color:#166534}
.ws-dots{display:flex;gap:7px}
.ws-dots span{width:9px;height:9px;background:#22c55e;border-radius:50%;animation:ws-dot 1s ease-in-out infinite}
.ws-dots span:nth-child(2){animation-delay:.2s}
.ws-dots span:nth-child(3){animation-delay:.4s}
@keyframes ws-dot{0%,100%{transform:scale(.6);opacity:.4}50%{transform:scale(1.2);opacity:1}}

/* Error */
.ws-error{display:flex;align-items:center;gap:10px;padding:16px;background:#fef2f2;border:2px solid #fecaca;border-radius:12px;color:#dc2626;font-size:14px}

/* Result Header */
.ws-result-header{background:linear-gradient(135deg,#25d366,#128c3e);border-radius:16px;padding:16px 20px;display:flex;align-items:center;gap:12px}
.ws-rh-emoji{font-size:36px}
.ws-rh-title{font-size:16px;font-weight:900;color:#fff}
.ws-rh-sub{font-size:12px;color:rgba(255,255,255,.8);margin-top:2px}

/* Status List */
.ws-status-list{display:flex;flex-direction:column;gap:12px}

/* Status Card */
.ws-status-card{background:#fff;border:2px solid #dcfce7;border-radius:16px;padding:18px;position:relative;transition:all .2s;overflow:hidden}
.ws-status-card:hover{border-color:#22c55e;box-shadow:0 4px 16px rgba(34,197,94,.12);transform:translateY(-2px)}
.ws-status-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#25d366,#128c3e);border-radius:4px 0 0 4px}
.ws-status-num{position:absolute;top:14px;right:14px;width:24px;height:24px;background:#f0fdf4;border:1.5px solid #bbf7d0;border-radius:50%;font-size:11px;font-weight:800;color:#16a34a;display:flex;align-items:center;justify-content:center}
.ws-status-text{font-size:15px;color:#1f2937;line-height:1.8;font-weight:500;padding-right:30px;white-space:pre-line;margin-bottom:12px}
.ws-status-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.ws-char-count{font-size:11px;color:#9ca3af;font-weight:600}
.ws-char-count.ok{color:#16a34a}
.ws-char-count.warn{color:#f59e0b}
.ws-status-btns{display:flex;gap:6px}
.ws-copy-btn,.ws-wa-btn{border:none;border-radius:7px;padding:6px 14px;font-size:12px;font-weight:700;cursor:pointer;transition:all .2s}
.ws-copy-btn{background:#f0fdf4;border:1.5px solid #bbf7d0;color:#16a34a}
.ws-copy-btn:hover{background:#dcfce7;border-color:#22c55e}
.ws-copy-btn.copied{background:#22c55e;color:#fff;border-color:#22c55e}
.ws-wa-btn{background:linear-gradient(135deg,#25d366,#128c3e);color:#fff}
.ws-wa-btn:hover{transform:scale(1.05)}

/* Result Actions */
.ws-result-actions{display:flex;gap:10px;flex-wrap:wrap}
.ws-action-btn{flex:1;background:#fff;border:1.5px solid #e5e7eb;border-radius:10px;padding:11px;font-size:13px;font-weight:700;color:#374151;cursor:pointer;transition:all .2s;text-align:center;min-width:120px}
.ws-action-btn:hover{border-color:#22c55e;color:#16a34a}
.ws-action-btn.primary{background:linear-gradient(135deg,#25d366,#128c3e);border-color:#25d366;color:#fff}

/* SEO */
.ws-seo{background:#fff;border:2px solid #dcfce7;border-radius:14px;padding:22px}
.ws-seo h2{color:#166534;font-size:18px;font-weight:800;margin-bottom:10px;margin-top:18px}
.ws-seo h2:first-child{margin-top:0}
.ws-seo p{color:#4b5563;font-size:14px;line-height:1.8;margin:0}

@media(max-width:900px){.ws-layout{grid-template-columns:1fr}.ws-controls{position:static;max-height:none}}
@media(max-width:480px){.ws-mood-grid{grid-template-columns:repeat(3,1fr)}.ws-result-actions{flex-direction:column}}
