/* ============================================================
   TideIQ — report-pro.css
   أضف هذا الملف في HTML بعد style.css
   <link rel="stylesheet" href="report-pro.css">
   ============================================================ */

/* ── Weather box: 4 columns on desktop ── */
#weatherBox { grid-template-columns: repeat(4, 1fr) !important; }
@media(max-width:600px){ #weatherBox { grid-template-columns: repeat(2, 1fr) !important; } }
@media(max-width:560px){ }

/* ── Score colors ── */
.good        { color: #059c7f !important; }
.gold        { color: #c8880e !important; }
.danger-col  { color: #cc2233 !important; }

/* ── Forecast strip ── */
.forecast-section {
  background: linear-gradient(135deg, rgba(3,24,39,.96), rgba(5,50,72,.94));
  border-radius: 22px; padding: 16px; color: white;
  border: 1px solid rgba(0,210,255,.18);
}
.forecast-title {
  font-size: 14px; font-weight: 950; color: #7cfeff;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 12px;
}
.forecast-strip {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px;
}
@media(max-width:600px){
  .forecast-strip { grid-template-columns: repeat(4, 1fr); }
}
.fc-day {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(0,210,255,.12);
  font-size: 12px;
}
.fc-name { font-weight: 950; color: #8dfcff; font-size: 11px; }

/* ── Welcome toast ── */
.welcome-toast {
  position: fixed; z-index: 130; bottom: 70px; left: 50%;
  transform: translateX(-50%); padding: 16px 20px; border-radius: 22px;
  background: linear-gradient(135deg,#031827,#053048);
  color: white; display: flex; align-items: center; gap: 14px;
  box-shadow: 0 22px 60px rgba(0,112,145,.32); max-width: 90%; min-width: 260px;
  border: 1px solid rgba(0,210,255,.22);
}
.wt-icon { font-size: 30px; }
.welcome-toast b { display: block; font-size: 15px; }
.welcome-toast small { color: rgba(255,255,255,.65); font-size: 12px; }

/* ── badge.gold ── */
.badge.gold { background: rgba(245,181,33,.18); color: #9a6300; border-color: rgba(245,181,33,.28); }

/* ── green-bg / gold-bg banners ── */
.good-bg { background: linear-gradient(135deg,rgba(16,185,129,.10),rgba(0,180,150,.06)) !important; border-color: rgba(16,185,129,.22) !important; }
.gold-bg { background: linear-gradient(135deg,rgba(245,181,33,.10),rgba(240,160,0,.06)) !important;  border-color: rgba(245,181,33,.22) !important; }

/* ============================================================
   TideIQ Chat Styles
   ============================================================ */
.chat-card{padding:16px!important;display:flex!important;flex-direction:column!important;gap:10px!important;}
.tiq-chat-header{display:flex;justify-content:space-between;align-items:center;}
.tiq-chat-title{font-size:17px;font-weight:900;margin:0;color:#024e6a;}
.tiq-online{font-size:12px;color:#4a7a92;display:flex;align-items:center;gap:5px;}
.tiq-dot{width:8px;height:8px;background:#22c55e;border-radius:50%;display:inline-block;animation:tiqPulse 2s infinite;}
@keyframes tiqPulse{0%,100%{opacity:1;}50%{opacity:.3;}}
.tiq-messages{height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:18px;background:rgba(0,150,190,.04);border:1px solid rgba(0,150,190,.10);scroll-behavior:smooth;}
.tiq-empty{color:#4a7a92;font-size:13px;text-align:center;margin:auto;padding:20px;}
.tiq-msg{display:flex;flex-direction:column;gap:3px;max-width:86%;animation:tiqFade .22s ease;}
@keyframes tiqFade{from{opacity:0;transform:translateY(5px);}to{opacity:1;transform:none;}}
.tiq-msg.mine{align-self:flex-start;}
.tiq-msg.other{align-self:flex-end;}
.tiq-bubble{padding:10px 13px;border-radius:18px;font-size:14px;line-height:1.45;word-break:break-word;}
.tiq-msg.mine .tiq-bubble{background:linear-gradient(135deg,#0097b8,#00c9b1);color:white;border-bottom-left-radius:5px;}
.tiq-msg.other .tiq-bubble{background:white;color:#024e6a;border:1px solid rgba(0,150,190,.12);box-shadow:0 2px 8px rgba(0,80,120,.06);border-bottom-right-radius:5px;}
.tiq-name{font-size:11px;font-weight:900;opacity:.7;margin-bottom:2px;}
.tiq-msg.mine .tiq-name{color:#0097b8;}
.tiq-msg.other .tiq-name{color:#024e6a;}
.tiq-reply-preview{background:rgba(0,0,0,.07);border-radius:10px;padding:6px 10px;margin-bottom:6px;border-right:3px solid rgba(255,255,255,.5);font-size:12px;}
.tiq-msg.other .tiq-reply-preview{background:rgba(0,150,190,.08);border-right-color:#0097b8;}
.tiq-reply-preview-name{font-weight:900;font-size:11px;opacity:.8;}
.tiq-reply-preview-text{opacity:.7;}
.tiq-img-wrap{margin-top:4px;border-radius:12px;overflow:hidden;max-width:200px;cursor:pointer;}
.tiq-img-wrap img{width:100%;display:block;border-radius:12px;}
.tiq-meta{display:flex;align-items:center;gap:8px;margin-top:2px;flex-wrap:wrap;}
.tiq-time{font-size:10px;color:#4a7a92;}
.tiq-msg.mine .tiq-time{color:rgba(0,150,190,.7);}
.tiq-actions{display:flex;gap:4px;opacity:0;transition:opacity .18s;}
.tiq-msg:hover .tiq-actions{opacity:1;}
.tiq-action-btn{background:rgba(0,150,190,.10);border:none;border-radius:8px;padding:3px 8px;font-size:12px;cursor:pointer;color:#024e6a;}
.tiq-reactions{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px;}
.tiq-reaction{display:flex;align-items:center;gap:3px;background:rgba(0,150,190,.08);border:1px solid rgba(0,150,190,.15);border-radius:20px;padding:3px 9px;font-size:13px;cursor:pointer;}
.tiq-reaction.mine{background:rgba(0,150,190,.18);border-color:#0097b8;}
.tiq-reaction span{font-size:11px;font-weight:900;color:#024e6a;}
.tiq-emoji-picker{position:absolute;bottom:32px;left:0;z-index:50;background:white;border-radius:16px;padding:8px 10px;box-shadow:0 8px 32px rgba(0,80,120,.18);border:1px solid rgba(0,150,190,.15);display:flex;gap:6px;}
.tiq-msg.mine .tiq-emoji-picker{left:auto;right:0;}
.tiq-emoji-btn{font-size:20px;cursor:pointer;padding:4px;border-radius:8px;border:none;background:none;}
.tiq-reply-banner{display:none;align-items:center;gap:8px;padding:8px 12px;background:rgba(0,150,190,.08);border-radius:12px;border-right:3px solid #0097b8;}
.tiq-reply-banner.active{display:flex;}
.tiq-reply-banner-text{flex:1;overflow:hidden;}
.tiq-reply-banner-name{font-weight:900;color:#0097b8;font-size:12px;}
.tiq-reply-banner-content{color:#024e6a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px;font-size:12px;}
.tiq-cancel-reply{background:none;border:none;font-size:18px;color:#4a7a92;cursor:pointer;padding:0 4px;}
.tiq-input-row{display:flex;gap:6px;align-items:center;}
.tiq-input-row input[type=text]{flex:1;padding:11px 14px;border-radius:14px;min-width:0;border:1.5px solid rgba(0,150,190,.18);font-size:14px;background:white;outline:none;}
.tiq-input-row input[type=text]:focus{border-color:#0097b8;box-shadow:0 0 0 3px rgba(0,150,190,.12);}
.tiq-photo-btn{width:42px;height:42px;border-radius:14px;flex-shrink:0;background:rgba(0,150,190,.10);border:1.5px solid rgba(0,150,190,.16);font-size:18px;display:grid;place-items:center;cursor:pointer;}
.tiq-send-btn{padding:11px 16px;border-radius:14px;flex-shrink:0;background:linear-gradient(135deg,#0097b8,#00c9b1);color:white;font-weight:900;font-size:14px;border:none;cursor:pointer;box-shadow:0 4px 14px rgba(0,150,185,.25);}
.tiq-status{font-size:12px;color:#4a7a92;text-align:center;min-height:14px;}
.tiq-overlay{position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;}
.tiq-overlay img{max-width:95vw;max-height:90vh;border-radius:14px;}
.tiq-overlay-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.15);color:white;font-size:20px;display:grid;place-items:center;cursor:pointer;border:none;}
