/* style.css */

/* Dark Mode */
:root{
  --bg-1: #071020;
  --bg-2: #07192a;
  --glass: rgba(255,255,255,0.06);
  --muted: #9aa6b2;
  --accent: #6ee7b7;
  --accent-2: #6b8cff;
  --panel: rgba(255,255,255,0.03);
  --text: #e6eef6;
  --glass-border: rgba(255,255,255,0.06);
  --soft-shadow: 0 8px 30px rgba(2,6,23,0.6);
  --glass-blur: 10px;
  --radius: 14px;
  --transition-fast: 180ms;
}
/* Light Mode */
body.light {
  --bg-1: #f4f8fb;
  --bg-2: #eef6ff;
  --glass: rgba(12,24,40,0.04);
  --muted: #536272;
  --accent: #0f4c81;
  --accent-2: #0b6df6;
  --panel: rgba(255,255,255,0.9);
  --text: #0b1220;
  --glass-border: rgba(10,20,30,0.06);
  --soft-shadow: 0 8px 30px rgba(10,30,60,0.08);
  --glass-blur: 6px;
}
/* global resets */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
/* body */
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(107,140,255,0.06), transparent),
    radial-gradient(800px 500px at 90% 90%, rgba(110,231,183,0.03), transparent),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color:var(--text);
  padding:20px;
  transition: background 0.45s ease, color 0.33s ease;
}
/* grid */
.wrap{
  max-width:1200px;
  margin:12px auto;
  display:grid;
  grid-template-columns: 320px 1fr 360px;
  gap:18px;
  align-items:start;
}
/* top */
.topbar{
  grid-column:1 / -1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 18px;
  border-radius:12px;
  background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: var(--soft-shadow);
  border:1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
}
/* logo */
.brand{display:flex;gap:12px;align-items:center}
.logo{
  width:48px;height:48px;border-radius:10px;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  display:flex;align-items:center;justify-content:center;font-weight:700;color:#021;
  box-shadow: 0 6px 18px rgba(59,130,246,0.12),
              inset 0 -6px 18px rgba(0,0,0,0.08);
  font-size:18px;
}
/* title */
.title .h1{font-weight:800;font-size:18px}
.title .h2{font-size:12px;color:var(--muted)}
/* controls */
.controls{display:flex;gap:12px;align-items:center}
.chip{
  padding:8px 12px;
  border-radius:999px;
  background:var(--panel);
  border:1px solid var(--glass-border);
  display:inline-flex;
  gap:8px;align-items:center;
  font-size:13px
}
/* cards */
.panel{
  background:var(--glass);
  border-radius:var(--radius);
  padding:16px;
  border:1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--soft-shadow);
}
.sep{height:1px;background:rgba(255,255,255,0.06);margin:10px 0;border:none}
/* left */
.left-col h3{font-size:14px;margin-bottom:10px;color:var(--muted)}
.field{margin-bottom:10px}
/* inputs */
input[type="text"],textarea{
  width:100%;
  padding:10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.04);
  background:transparent;
  color:var(--text);
  font-size:14px;
}
textarea{min-height:120px;resize:vertical}
.row{display:flex;gap:8px}
/* buttons */
.btn{
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#021;
  border:none;
  padding:10px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:transform var(--transition-fast),box-shadow var(--transition-fast);
  box-shadow:0 6px 18px rgba(107,140,255,0.08);
}
.btn:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(107,140,255,0.12)}
/* ghost button */
.btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,0.04);
  color:var(--text)
}
/* light fixes */
body.light .btn{
  color:#fff!important;
  background:linear-gradient(90deg,var(--accent-2),var(--accent))!important;
}
body.light .btn.ghost{
  color:#fff!important;
  border:1px solid rgba(0,0,0,0.15);
  background:rgba(15,76,129,0.5);
}
/* text */
.muted{color:var(--muted)}
.small{font-size:13px}
/* notes */
.notes-list{
  margin-top:10px;
  max-height:440px;overflow:auto;
  display:flex;flex-direction:column;gap:10px
}
.note-item{
  padding:12px;border-radius:10px;
  background:rgba(255,255,255,0.01);
  border:1px solid rgba(255,255,255,0.03);
  cursor:pointer;
  transition:.15s ease;
}
.note-item:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(2,6,23,0.5)}
/* center / chat */
.center-col{display:flex;flex-direction:column;gap:14px}
.holo{
  padding:18px;border-radius:18px;
  border:1px solid var(--glass-border);
  background:rgba(255,255,255,0.02);
  box-shadow:var(--soft-shadow);
  backdrop-filter:blur(var(--glass-blur));
}
.statusRow{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.statusRow .info{display:flex;gap:12px;align-items:center}
.dot{width:12px;height:12px;border-radius:50%;background:var(--accent);box-shadow:0 0 12px var(--accent)}
.pulse{animation:glowPulse 2.8s infinite}
/* chat area */
.chat-area{
  height:62vh;border-radius:12px;padding:12px;overflow:auto;
  border:1px solid rgba(255,255,255,0.02);
}
/* chat bubbles */
.bubble{
  display:inline-block;max-width:75%;
  padding:10px 14px;border-radius:14px;margin-bottom:12px;
  line-height:1.3;box-shadow: 0 6px 18px rgba(2,6,23,0.25);
}
.bubble.me{background:linear-gradient(90deg,#c3f6e1,#dbe7ff);margin-left:auto;color:#022}
.bubble.partner{background:rgba(255,255,255,0.04);color:var(--text)}
/* system note */
.chat-input-row{display:flex;gap:10px;align-items:flex-end;margin-top:8px}
.input-chat{
  flex:1;min-height:64px;
  border-radius:12px;padding:12px;
  border:1px solid rgba(255,255,255,0.03);
  background:transparent;color:var(--text)
}
.input-actions{display:flex;flex-direction:column;gap:8px}
/* right */
.stat-card{
  padding:12px;border-radius:10px;
  background:rgba(255,255,255,0.01);
  border:1px solid rgba(255,255,255,0.02);
  flex:1;text-align:center
}
.big{font-weight:800;font-size:20px}
/* activity */
.activityList{list-style:none;padding:0;margin:10px 0;max-height:160px;overflow:auto}
.activityList li{
  padding:8px;border-radius:8px;
  border:1px dashed rgba(255,255,255,0.02);
  margin-bottom:8px;color:var(--muted);font-size:13px
}
/* note delete button */
.note-delete {
  margin-left: auto;
  font-weight: bold;
  cursor: pointer;
  color: rgb(255, 47, 0);
  padding: 2px 6px;
  border-radius: 5px;
  transition: 0.2s;
}
/* note delete hover effect */
.note-delete:hover {
  background: rgba(0, 238, 255, 0.15);
}
/* note deleting animation */
.note-item.deleting {
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.25s;
}
/* footer */
.footer-bar{
  grid-column:1/-1;margin-top:18px;
  display:flex;justify-content:center;
  align-items:center;
  padding:12px 18px;border-radius:12px;
  background:rgba(255,255,255,0.02);
  border:1px solid var(--glass-border);
  box-shadow:var(--soft-shadow);
}
.footer-right{font-weight:600}
/* animations */
@keyframes glowPulse{
  0%{box-shadow:0 0 0 0 rgba(110,231,183,0.12)}
  70%{box-shadow:0 0 40px 12px rgba(110,231,183,0)}
  100%{box-shadow:0 0 0 0 rgba(110,231,183,0)}
}
/* responsiveness */
@media(max-width:1050px){
  .wrap{grid-template-columns:1fr;padding:0 12px}
  .chat-area{height:46vh}
}
/* End of Program (Program by Zidaan) */