:root{
  --bg: #0a0b0c;
  --panel: #111316;
  --panel-2: #14171b;
  --border: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.65);
  --muted2: rgba(255,255,255,0.45);

  --accent: #4ee07a;
  --accent-2: #39c867;

  --danger: #ff6b6b;
  --warn: #ffcc66;
  --ok: #4ee07a;

  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --radius: 16px;
  --radius-sm: 12px;
}

*{ box-sizing:border-box; }
html, body { height: 100%; }
body { margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; color: var(--text); background: var(--bg); }

:root { color-scheme: dark; }
.hp-body{ min-height:100%; }

.hp-bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 15% 10%, rgba(78,224,122,0.14), transparent 60%),
    radial-gradient(900px 450px at 85% 30%, rgba(78,224,122,0.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 20%),
    linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
  pointer-events:none;
  z-index: -1;
}

/* Buttons */
.hp-btn{
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .06s ease, background .12s ease, border-color .12s ease;
  font-weight: 700;
}
.hp-btn:hover{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.hp-btn:active{ transform: translateY(1px); }

.hp-btn-primary{
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #07120a;
  border-color: transparent;
}
.hp-btn-primary:hover{ background: linear-gradient(180deg, #58f286, #45d877); }
.hp-btn-secondary{ background: rgba(255,255,255,0.06); }
.hp-btn-ghost{ border-color: rgba(255,255,255,0.12); }

/* Inputs */
.hp-input, .hp-select, .hp-textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  outline: none;
}
.hp-input::placeholder, .hp-textarea::placeholder{ color: rgba(255,255,255,0.35); }
.hp-input:focus, .hp-select:focus, .hp-textarea:focus{
  border-color: rgba(78,224,122,0.35);
  box-shadow: 0 0 0 4px rgba(78,224,122,0.08);
}
.hp-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.55) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.55) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px),
    calc(100% - 2.5em) 0.6em;
  background-size: 6px 6px, 6px 6px, 1px 1.6em;
  background-repeat: no-repeat;
}
.hp-select option { background: #0f1114; color: rgba(255,255,255,0.92); }

/* Text */
.hp-label{
  display:block;
  margin: 10px 0 6px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hp-muted{ color: var(--muted); }
.hp-small{ font-size: 12px; }

/* LOGIN */
.hp-auth{
  min-height: 100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 24px;
}
.hp-auth-card{
  width: min(520px, 92vw);
  background: rgba(17,19,22,0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.hp-brand{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 16px; }
.hp-logo-text{ font-weight: 900; letter-spacing: .14em; font-size: 14px; color: rgba(255,255,255,0.88); }
.hp-sub{ font-size: 12px; color: var(--muted2); }
.hp-title{ margin: 12px 0 6px; font-size: 28px; letter-spacing: -0.02em; }
.hp-msg{ margin-top: 10px; min-height: 18px; color: #ffb7b7; font-size: 13px; }
.hp-footnote{ display:flex; gap:10px; align-items:center; margin-top: 14px; color: var(--muted2); font-size: 12px; }
.hp-dot{ width:8px; height:8px; border-radius:999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(78,224,122,0.12); }

/* Topbar / Layout */
.hp-topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,11,12,0.78);
  backdrop-filter: blur(10px);
}
.hp-topbar-left{ display:flex; align-items:center; gap: 12px; }
.hp-topbar-brand{ display:flex; flex-direction:column; gap:2px; }
.hp-topbar-title{ letter-spacing: .14em; font-weight: 900; font-size: 12px; color: rgba(255,255,255,0.88); }
.hp-topbar-sub{ font-size: 12px; color: var(--muted2); }
.hp-topbar-right{ display:flex; gap: 10px; }

.hp-container{ padding: 18px; max-width: 1200px; margin: 0 auto; }
.hp-section{ margin-top: 10px; }
.hp-section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin-bottom: 12px;
}
.hp-h2{ margin: 0; font-size: 22px; letter-spacing: -0.02em; }

/* Cards / Grid */
.hp-card{
  background: rgba(17,19,22,0.68);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.hp-card-title{ font-weight: 850; font-size: 16px; margin-bottom: 6px; }
.hp-divider{ height:1px; background: rgba(255,255,255,0.08); margin: 12px 0; }
.hp-card-actions{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.hp-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 1100px){ .hp-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px){ .hp-grid{ grid-template-columns: 1fr; } }

.hp-empty{
  margin-top: 14px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255,255,255,0.14);
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.hp-empty-title{ font-weight: 800; margin-bottom: 4px; }

/* Status pills */
.hp-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  background: rgba(255,255,255,0.04);
}
.hp-pill-dot{
  width:8px; height:8px; border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(78,224,122,0.12);
}
.hp-pill--open .hp-pill-dot{ background: var(--ok); box-shadow: 0 0 0 4px rgba(78,224,122,0.12); }
.hp-pill--inprogress .hp-pill-dot{ background: var(--warn); box-shadow: 0 0 0 4px rgba(255,204,102,0.12); }
.hp-pill--done .hp-pill-dot{ background: rgba(255,255,255,0.45); box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }

/* KPI */
.hp-kpi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px){ .hp-kpi-grid{ grid-template-columns: 1fr; } }
.hp-kpi{
  background: rgba(17,19,22,0.68);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.hp-kpi-label{ color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.hp-kpi-value{ font-size: 28px; font-weight: 900; margin-top: 6px; }
.hp-kpi-sub{ font-size: 12px; margin-top: 2px; }

/* Admin helpers */
.hp-admin-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px){ .hp-admin-grid{ grid-template-columns: 1fr; } }
.hp-inline{ display:flex; gap: 10px; align-items: stretch; }
.hp-inline-btn{ width: 160px; flex: 0 0 auto; }
@media (max-width: 520px){
  .hp-inline{ flex-direction: column; }
  .hp-inline-btn{ width: 100%; }
}
.hp-form-2col{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px){ .hp-form-2col{ grid-template-columns: 1fr; } }

/* Multi select */
.hp-multi{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 10px;
  max-height: 240px;
  overflow: auto;
}
.hp-multi-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 8px 8px;
  border-radius: 10px;
}
.hp-multi-item:hover{ background: rgba(255,255,255,0.04); }
.hp-multi-item input{ transform: scale(1.1); }

/* Filters */
.hp-filter-grid{
  display:grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 12px;
  align-items:end;
}
@media (max-width: 950px){
  .hp-filter-grid{ grid-template-columns: 1fr; }
}
.hp-filter-actions{
  display:flex;
  gap: 10px;
  justify-content:flex-end;
}
@media (max-width: 950px){
  .hp-filter-actions{ justify-content:flex-start; }
}

/* Progress Bar */
.hp-progress{
  margin-top: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.hp-progress-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}
.hp-progress-label{
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 800;
}
.hp-progress-count{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}
.hp-progress-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.hp-progress-fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

/* Task rows */
.hp-task-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  margin-top: 8px;
}
.hp-task-left{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 0;
}
.hp-task-left span{
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-task-right{
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* FAB + Modal */
.hp-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(17,19,22,0.88);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  cursor:pointer;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hp-fab:hover{ border-color: rgba(78,224,122,0.25); box-shadow: 0 18px 55px rgba(0,0,0,0.55); }
.hp-fab-plus{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #07120a;
  font-size: 22px;
  font-weight: 900;
}
.hp-fab-text{ font-weight: 900; letter-spacing: 0.02em; font-size: 13px; }

.hp-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display:flex;
  justify-content:center;
  align-items:center;
  padding: 18px;
  z-index: 50;
}
.hp-modal{
  width: min(760px, 96vw);
  background: rgba(17,19,22,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.hp-modal-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hp-modal-title{ font-weight: 900; font-size: 16px; }
.hp-modal-body{ padding: 16px; }
.hp-form-actions{ display:flex; gap: 10px; justify-content:flex-end; margin-top: 12px; }

/* =========================
   Project detail page
========================= */

.hp-project-grid{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}
@media (max-width: 980px){
  .hp-project-grid{ grid-template-columns: 1fr; }
}

/* Chat area */
.hp-chat{
  height: 520px;
  overflow: auto;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(700px 300px at 20% 10%, rgba(78,224,122,0.06), transparent 60%),
    rgba(255,255,255,0.02);
}

.hp-chat-compose{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 10px;
}
.hp-chat-compose .hp-input{ flex: 1; }

.hp-chat-upload{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space: nowrap;
}

/* WhatsApp-like bubbles */
.hp-bubble{
  max-width: 78%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(17,19,22,0.70);
  box-shadow: 0 10px 24px rgba(0,0,0,0.20);
}

.hp-bubble.me{
  margin-left: auto;
  background: rgba(78,224,122,0.10);
  border-color: rgba(78,224,122,0.18);
}

.hp-chat-item{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin: 10px 0;
}

.hp-chat-meta{
  display:flex;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

.hp-chat-img{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  display:block;
}

/* Tasks in project page */
.hp-task-mini{
  margin-top: 10px;
}
.hp-task-mini .hp-task-row{
  margin-top: 10px;
}
.hp-task-note{
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* =========================
   Image Lightbox
========================= */

.hp-lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 200;
  backdrop-filter: blur(6px);
}

.hp-lightbox-content{
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.hp-lightbox-content img{
  max-width: 100%;
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.12);
}

.hp-lightbox-close{
  position: absolute;
  top: -16px;
  right: -16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(17,19,22,0.9);
  color: white;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-weight: bold;
}

.hp-lightbox-close:hover{
  background: rgba(78,224,122,0.2);
  border-color: rgba(78,224,122,0.4);
}

/* =========================
   Confirm Task Modal
========================= */

.hp-confirm-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 300;
  backdrop-filter: blur(6px);
}

.hp-confirm-box{
  width: min(420px, 90vw);
  background: rgba(17,19,22,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.hp-confirm-title{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}

.hp-confirm-text{
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}

.hp-confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}

.hp-note-log {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.hp-note-chip {
  display: inline-block;
  margin-right: 6px;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.hp-note-chip.ok {
  border-color: rgba(78,224,122,0.18);
  background: rgba(78,224,122,0.08);
}

.hp-note-chip.pending {
  border-color: rgba(255,204,102,0.18);
  background: rgba(255,204,102,0.08);
}

.hp-task-row-done {
  opacity: 0.55;
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.05);
}

.hp-task-row-done .hp-task-left span {
  text-decoration: line-through;
  color: rgba(255,255,255,0.58);
}

.hp-task-row-done input[type="checkbox"] {
  cursor: not-allowed;
}

/* =========================
   Bessere Trennung Aufgaben
========================= */

#projectTasks > .hp-task-row,
#projectTasks > .hp-task-note,
#projectTasks > .hp-note-log {
  margin-left: 0;
  margin-right: 0;
}

#projectTasks > .hp-task-row {
  margin-top: 12px;
}

#projectTasks > .hp-task-note {
  margin-top: 6px;
  margin-bottom: 8px;
}

#projectTasks > .hp-note-log {
  margin-top: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

#projectTasks > .hp-note-log:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Optional: etwas stärkere Card-Optik für Task-Zeilen */
.hp-task-row {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
}

/* =========================
   Notification Chips Farben
========================= */

.hp-note-log {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

.hp-note-chip {
  display: inline-block;
  margin-right: 6px;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

/* Bestätigt = grün */
.hp-note-chip.ok {
  border-color: rgba(78,224,122,0.22);
  background: rgba(78,224,122,0.12);
  color: rgba(210,255,225,0.95);
}

/* Offen = gelb/orange */
.hp-note-chip.pending {
  border-color: rgba(255,204,102,0.24);
  background: rgba(255,204,102,0.12);
  color: rgba(255,234,190,0.95);
}

/* Keine Mail-Bestätigungen = neutral grau/blau */
.hp-note-chip.none {
  border-color: rgba(160,180,210,0.20);
  background: rgba(160,180,210,0.08);
  color: rgba(220,230,245,0.88);
}

/* =========================
   Echte Trennung je Aufgabe
========================= */

.hp-task-block{
  margin-top: 14px;
  padding: 12px 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.hp-task-block:first-child{
  margin-top: 0;
}

.hp-task-block-done{
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.hp-task-block .hp-task-row{
  margin-top: 0;
}

.hp-task-block .hp-task-note{
  margin-top: 10px;
  margin-bottom: 8px;
}

.hp-task-block .hp-note-log{
  margin-top: 6px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Aufgabe selbst etwas klarer */
.hp-task-row{
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
}

/* Erledigte Aufgaben blockartig grau */
.hp-task-row-done{
  opacity: 0.62;
  background: rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.05);
}

.hp-task-row-done .hp-task-left span{
  text-decoration: line-through;
  color: rgba(255,255,255,0.52);
}

.hp-task-row-done input[type="checkbox"]{
  cursor: not-allowed;
}

/* Mailstatus Chips farblich klarer */
.hp-note-chip.ok{
  border-color: rgba(78,224,122,0.22);
  background: rgba(78,224,122,0.14);
  color: rgba(220,255,230,0.96);
}

.hp-note-chip.pending{
  border-color: rgba(255,204,102,0.24);
  background: rgba(255,204,102,0.14);
  color: rgba(255,236,200,0.96);
}

.hp-note-chip.none{
  border-color: rgba(160,180,210,0.22);
  background: rgba(160,180,210,0.10);
  color: rgba(225,232,245,0.92);
}

/* =========================
   Global Loading Overlay
========================= */

.hp-loading{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 500;
  backdrop-filter: blur(6px);
}

.hp-loading-box{
  min-width: 280px;
  max-width: 90vw;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(17,19,22,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  text-align: center;
}

.hp-loading-spinner{
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.10);
  border-top-color: var(--accent);
  animation: hp-spin 0.9s linear infinite;
}

.hp-loading-title{
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 6px;
}

.hp-loading-text{
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

@keyframes hp-spin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* =========================
   Toast Notifications
========================= */

.hp-toast-wrap{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
}

.hp-toast{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(17,19,22,0.96);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  backdrop-filter: blur(10px);
  animation: hpToastIn .18s ease-out;
}

.hp-toast-icon{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  flex: 0 0 auto;
}

.hp-toast-body{
  min-width: 0;
  flex: 1;
}

.hp-toast-title{
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 2px;
}

.hp-toast-text{
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
  word-break: break-word;
}

.hp-toast-close{
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  margin-top: -2px;
}

.hp-toast-close:hover{
  color: rgba(255,255,255,0.95);
}

.hp-toast-success{
  border-color: rgba(78,224,122,0.20);
  background: rgba(17,19,22,0.96);
}
.hp-toast-success .hp-toast-icon{
  background: rgba(78,224,122,0.14);
  color: rgba(210,255,225,0.98);
  border: 1px solid rgba(78,224,122,0.22);
}

.hp-toast-error{
  border-color: rgba(255,107,107,0.22);
  background: rgba(17,19,22,0.96);
}
.hp-toast-error .hp-toast-icon{
  background: rgba(255,107,107,0.12);
  color: rgba(255,220,220,0.98);
  border: 1px solid rgba(255,107,107,0.22);
}

.hp-toast-warning{
  border-color: rgba(255,204,102,0.22);
  background: rgba(17,19,22,0.96);
}
.hp-toast-warning .hp-toast-icon{
  background: rgba(255,204,102,0.12);
  color: rgba(255,236,200,0.98);
  border: 1px solid rgba(255,204,102,0.22);
}

@keyframes hpToastIn{
  from{
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hp-hidden {
  display: none !important;
}
