:root{
  --green:#66C18E;
  --dark-green:#45825F;
  --accent:#11afaf;
  --export-accent: linear-gradient(135deg, #11afaf, #0eaeae);
  --dark:#1A231C;
  --background:#f0f4f8;
  --panel-bg:#ffffff;
  --panel-text:#1f2937;
  --panel-muted:#555555;
  --panel-border:#e5e7eb;
  --card-bg:linear-gradient(135deg, #E8F5E9, #ffffff);
  --card-border:#66C18E;
  --shadow:0 8px 25px rgba(0,0,0,0.12);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  height:100vh;
  overflow:hidden;
  background:var(--background);
  color:var(--panel-text);
  transition:background 0.25s ease, color 0.25s ease;
}

body.dark-mode{
  --panel-bg:#111827;
  --panel-text:#f3f4f6;
  --panel-muted:#cbd5e1;
  --panel-border:#374151;
  --card-bg:linear-gradient(135deg, #24313b, #111827);
  --card-border:#6ee7b7;
  --shadow:0 10px 25px rgba(0,0,0,0.35);
  background:#0f172a;
  color:#f3f4f6;
}

/* ======================================================
   HEADER & TITLE STYLES
   ====================================================== */
.header{
  height:78px;
  background:var(--dark-green);
  display:flex;
  align-items:center;
  padding:0 28px;
  box-shadow: 0 5px 20px rgba(0,0,0,.14);
  position:relative;
}

.header-actions{
  position:absolute;
  right:26px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:10px;
}

.header-actions select{
  min-width: 120px;
  max-width: 130px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0 12px;
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.header-actions select:hover,
.header-actions select:focus{
  background: rgba(255,255,255,0.22);
}

.header h1{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  color:#ffffff;
  font-size:28px;
  font-weight:700;
  margin:0;
  text-align:center;
}

.logo{
  display:flex;
  align-items:center;
  gap:15px;
}

.edutec-logo{
  height:72px;
  width:auto;
}

.third-logo{
  height:62px;
  width:auto;
  max-width:136px;
  object-fit:contain;
  opacity:0.96;
  filter: saturate(1.02) contrast(1.01);
  margin-left: -38px;
  transform: translateX(3px);
}

.partner-logo{
  height:108px;
  width:auto;
  max-width:180px;
  object-fit:contain;
}

/* ======================================================
   DASHBOARD LAYOUT
   ====================================================== */
.dashboard{
  height:calc(100vh - 130px);
  display:grid;
  grid-template-columns: minmax(220px, 260px) 1fr 220px;
  gap:20px;
  padding:20px;
  overflow:hidden;
}

/* Base style for all three panels */
.dashboard section{
  background:var(--panel-bg);
  color:var(--panel-text);
  border-radius:20px;
  padding:18px; /* Original padding restored */
  box-shadow:var(--shadow);
  height:100%;
  min-height:0;
  overflow:hidden;
  border:1px solid var(--panel-border);
}

/* ======================================================
   SIDE PANELS ONLY (Left & Right Pads - Compact Adjustments)
   ====================================================== */
.info-panel, .control-panel {
  padding: 8px !important; /* Slightly tighter padding to reduce stretch */
  overflow: hidden !important; /* Prevent an inner scrollbar in the side panels */
  min-height:0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}

.info-panel h2, .control-panel h2 {
  font-size: 16px; /* Slightly smaller headers for the side panels */
  font-weight: 700;
  color: #45825F;
  text-align: center;
  margin-bottom: 12px;
}

body.dark-mode .info-panel h2,
body.dark-mode .control-panel h2,
body.dark-mode .heart-panel h2 {
  color: #8be4b7;
}

/* ======================================================
   COMPACT PATIENT CARDS (Side-by-Side Row Layout)
   ====================================================== */
.info-panel .card{
  background: rgba(236,250,237,0.85);
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  border-left: 4px solid rgba(70, 134, 97, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.info-panel .card:last-child{
  margin-bottom: 0;
}

body.dark-mode .info-panel .card {
  background: rgba(20,34,42,0.85);
  border-left-color: rgba(110,231,183,0.48);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.info-panel .card h3{
  font-size: 13px;
  color: #3c6d55;
  margin: 0;
  font-weight: 700;
}

.info-panel .card p{
  font-size: 16px;
  font-weight: 700;
  color: #142f21;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

body.dark-mode .info-panel .card h3 {
  color: #a8d8c0;
}

body.dark-mode .info-panel .card p {
  color: #e8f8ee;
}

/* ======================================================
   CENTER HEART PANEL (Untouched & Restored)
   ====================================================== */
.heart-panel h2 {
  font-size: 20px; /* Restored original size */
  font-weight: 700;
  color: #45825F;
  text-align: center;
  margin-bottom: 15px;
}

#heart-container{
  width:100%;
  height: 650px;
  min-height:500px;
  overflow:hidden;
  border-radius:20px;
  background: linear-gradient(145deg, #ffffff, #f1f8f4);
  position: relative; /* CRITICAL: Anchors our 2D labels relative to this canvas */
}

body.dark-mode #heart-container {
  background: linear-gradient(145deg, #111827, #1f2937);
}

/* ======================================================
   3D ANATOMICAL LABELS OVERLAY SYSTEM
   ====================================================== */
#labels-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Allows click-and-drag orbit controls underneath */
  overflow: hidden;
}

.heart-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.15);
  transition: opacity 0.2s ease;
  pointer-events: auto; /* Optional: lets users click/hover them */
}

body.dark-mode .heart-label {
  background: rgba(17, 24, 39, 0.92);
  color: #e5e7eb;
  border-color: #4b5563;
}

/* ======================================================
   CONTROLS & BUTTONS
   ====================================================== */
button{
  height:36px;
  width:100%;
  margin:6px 0;
  border:none;
  border-radius:12px;
  background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
  color:white;
  font-weight:700;
  cursor:pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  font-size: 14px;
  padding: 0 14px;
  box-shadow: 0 6px 14px rgba(21,79,48,0.16), inset 0 1px 0 rgba(255,255,255,0.06);
  text-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

#darkModeToggle{
  width: 60px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #28a745 0%, #1f7f3c 100%);
  border: 1px solid rgba(32,97,45,0.7);
  color: #ffffff;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(20,80,40,0.22);
}

#darkModeToggle::before{
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.18);
  transition: transform 0.18s ease, background 0.18s ease;
}

#darkModeToggle[aria-pressed="true"]{
  background: linear-gradient(180deg, #56d587 0%, #2d9c59 100%);
  border-color: rgba(110,231,183,0.9);
}

#darkModeToggle[aria-pressed="true"]::before{
  transform: translateX(26px);
  background: #ffffff;
}

#resetBtn {
  min-width: 90px;
  background: linear-gradient(180deg, #d32f2f 0%, #a11d22 100%);
  box-shadow: 0 6px 14px rgba(162, 22, 22, 0.2);
}

button:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21,79,48,0.18);
  filter: brightness(1.03);
}

button:active{
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(21,79,48,0.12);
  filter: brightness(0.98);
}

.control-row {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}

.control-row button {
  flex: 1;
  min-width: 0;
  margin: 0;
  width: auto;
}

.toggle-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.toggle-row button {
  flex: 1;
  min-width: 0;
  width: auto;
}

.small-action-btn {
  padding: 0 14px;
  min-width: 48px;
  height: 36px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

#drawToggleBtn {
  background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(29,73,110,0.18);
}

#darkModeToggle {
  min-width: 60px;
  width: 60px;
  height: 36px;
  padding: 0 8px 0 0;
  background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
  border: 1px solid rgba(32,97,45,0.7);
  box-shadow: 0 6px 14px rgba(20,80,40,0.2);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

#darkModeToggle::before{
  left: 6px;
  top: 6px;
}

#darkModeToggle[aria-pressed="true"]::before{
  transform: translateX(18px);
}

body.dark-mode #drawToggleBtn {
  background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
}

body.dark-mode #darkModeToggle {
  background: linear-gradient(180deg, var(--green) 0%, var(--dark-green) 100%);
}

body.dark-mode button {
  background: linear-gradient(180deg, #475569 0%, #1f2a36 100%);
  box-shadow: 0 6px 14px rgba(6,11,18,0.28), inset 0 1px 0 rgba(255,255,255,0.02);
}

body.dark-mode button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #5b6b7a 0%, #15202a 100%);
  box-shadow: 0 12px 28px rgba(6,11,18,0.32);
}

/* Export / Report button standardization */
.export-btn{
  background: var(--export-accent);
  color:#ffffff;
  min-height:40px;
  height:40px;
  padding:6px 12px;
  font-size:14px;
  border-radius:12px;
  border:2px solid rgba(0,0,0,0.06);
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
  cursor:pointer;
}

.export-btn:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,0.14);}

/* TELEMETRY: compact row layout and ECG sizing (scoped only to info-panel) */
.info-panel .card-row{display:flex; align-items:center; justify-content:space-between; gap:10px}
#ecgRhythmLabel{margin:0; font-size:13px; color:var(--panel-muted); flex:1 1 auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
#ecgRhythm{margin:0; font-weight:700; flex:0 0 auto; text-align:right}
#ecgCanvas{width:100% !important; height:36px !important; max-height:44px !important; display:block}
.info-panel .card{padding:8px 10px}

/* ======================================================
   FOOTER STYLE
   ====================================================== */
footer{
  min-height:56px;
  background:var(--dark-green);
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 8px 24px;
}

.footer-content{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.footer-actions{
  position:absolute;
  right:16px;
  display:flex;
  align-items:center;
  gap:8px;
}

.assistant-float-wrapper{
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 9999;
  pointer-events: none;
}

#languageSelector{
  min-width: 110px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 12px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: 600;
}

#languageSelector option{
  color: #1f2937;
}

.assistant-launcher{
  width: auto;
  min-width: 72px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  padding: 8px 10px;
  height: auto;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.assistant-launcher:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
}

.assistant-button-text{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  display: block;
  width: auto;
  line-height: 1.1;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assistant-avatar-frame{
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  padding: 2px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.55), transparent 35%),
              radial-gradient(circle at bottom right, rgba(236,72,153,0.35), rgba(236,72,153,0.7) 55%, transparent 70%),
              linear-gradient(180deg, #f9e6f0, #ffe5ec);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.assistant-button-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  padding: 2px;
}

.assistant-button-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.assistant-status-dot{
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3d57;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(255,61,87,0.14);
}

.assistant-button-text{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  display: block;
  width: auto;
  line-height: 1.1;
  max-width: 72px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.assistant-google-link{
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #1c6d36;
  font-weight: 700;
  text-decoration: none;
}

.assistant-google-link:hover{
  text-decoration: underline;
}

.assistant-source-note{
  margin-top: 10px;
  font-size: 12px;
  color: #2f6e3f;
  line-height: 1.5;
}

.assistant-panel{
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: auto;
  max-height: calc(100vh - 32px);
  border-radius: 28px;
  background: #f7fcf7;
  color: var(--panel-text);
  box-shadow: 0 36px 90px rgba(0,0,0,0.22);
  border: 1px solid rgba(70, 134, 97, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

.assistant-panel.hidden{
  display: none;
}

.assistant-panel-header{
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #1e5b3f, #50b07f);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.assistant-avatar{
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 18px;
  display:flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #285f41, #63c091);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.22), 0 10px 24px rgba(0,0,0,0.16);
  position: relative;
  overflow: hidden;
}

.assistant-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.assistant-header-text{
  flex: 1;
  min-width: 0;
}

.assistant-status{
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255,255,255,0.88);
  margin-bottom: 6px;
}

.assistant-panel-header h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  color: #ffffff;
}

.assistant-panel-header p{
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}

.assistant-panel-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.assistant-action-btn,
.assistant-close-btn{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.assistant-action-btn:hover,
.assistant-close-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.28);
}

.assistant-close-btn{
  border: 1px solid rgba(255,255,255,0.24);
}

.assistant-welcome{
  margin: 16px 18px 0;
  padding: 18px 20px;
  background: #ecf9ed;
  border-radius: 20px;
  border-left: 4px solid #45a662;
  color: #1d4232;
  font-size: 14px;
  line-height: 1.7;
  box-shadow: 0 10px 24px rgba(23,83,51,0.06);
}

.assistant-topics{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: #f4faf5;
  border-radius: 12px;
  justify-content: flex-start;
  overflow: hidden;
}

.assistant-topic{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 72px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(69,130,95,0.14);
  background: #ffffff;
  color: #145334;
  cursor: pointer;
  text-align: center;
  transition: background 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
  white-space: nowrap;
}

.assistant-topic:hover{
  background: #ecf7ed;
  box-shadow: 0 6px 14px rgba(24,93,56,0.08);
}

.assistant-messages{
  flex: 1;
  overflow-y: auto;
  padding: 14px 18px 8px;
  display:flex;
  flex-direction:column;
  gap:10px;
  background: #f8fcf7;
}

.assistant-message{
  max-width: 90%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 8px 20px rgba(21,79,48,0.08);
}

.assistant-message.assistant{
  align-self: flex-start;
  background: #e8f7e9;
  color: #1d4232;
  border-left: 4px solid #4ab470;
}

.assistant-message.user{
  align-self: flex-end;
  background: #2f7c53;
  color: #ffffff;
  border-radius: 18px 18px 6px 18px;
}

.assistant-input-group{
  display:flex;
  gap:10px;
  padding: 16px 18px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(69,130,95,0.12);
}

.assistant-input-group input{
  flex: 1;
  height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  border: 1px solid rgba(69,130,95,0.18);
  font-size: 14px;
  color: #1f2937;
  background: #ffffff;
}

.assistant-input-group button{
  min-width: 100px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f7f55, #54b883);
  color: #ffffff;
  font-weight: 700;
  padding: 0 20px;
  border: none;
  box-shadow: 0 8px 20px rgba(24,93,56,0.12);
}

.assistant-footer-note{
  padding: 0 18px 18px;
  font-size: 12px;
  color: #5b6f5f;
  text-align: center;
  background: #ffffff;
}

body.dark-mode .assistant-panel{
  background: rgba(15,23,42,0.96);
  color: #f8fafc;
  border-color: rgba(110,231,183,0.14);
}

body.dark-mode .assistant-panel-header{
  background: rgba(15,23,42,0.92);
}

body.dark-mode .assistant-status,
body.dark-mode .assistant-panel-header h3,
body.dark-mode .assistant-panel-header p{
  color: #f8fafc;
}

body.dark-mode .assistant-welcome{
  background: #0f172a;
  border-left-color: rgba(110,231,183,0.48);
  color: #cbd5e1;
  box-shadow: none;
}

body.dark-mode .assistant-topics{
  background: rgba(15,23,42,0.9);
}

body.dark-mode .assistant-topic{
  background: rgba(15,23,42,0.7);
  color: #d0f1d4;
  border-color: rgba(110,231,183,0.18);
}

body.dark-mode .assistant-topic:hover{
  background: rgba(20,38,47,0.85);
}

body.dark-mode .assistant-messages{
  background: #071017;
}

body.dark-mode .assistant-message.assistant{
  background: #111827;
  color: #cbd5e1;
  border-left-color: #63c08d;
}

body.dark-mode .assistant-message.user{
  background: #2f855a;
}

body.dark-mode .assistant-input-group{
  background: rgba(15,23,42,0.9);
  border-top-color: rgba(110,231,183,0.16);
}

body.dark-mode .assistant-input-group input{
  background: #111827;
  color: #f8fafc;
  border-color: rgba(94,169,118,0.2);
}

body.dark-mode .assistant-input-group button{
  background: linear-gradient(135deg, #2f855a, #68d391);
  color: #f8fafc;
}

body.dark-mode .assistant-footer-note{
  background: rgba(15,23,42,0.82);
  color: #9ac2a2;
}

body.dark-mode .assistant-launcher:hover{
  background: linear-gradient(135deg, #297a4f, #62b081);
}

body.dark-mode .assistant-close-btn:hover{
  background: #15303f;
}

body.dark-mode .assistant-input-group input::placeholder{
  color: #94a3b8;
}

.control-panel .control-group {
  margin: 10px 0;
  padding: 10px;
}

body.dark-mode #asdModeIndicator,
body.dark-mode #bloodLegend {
  background: rgba(17, 24, 39, 0.95);
  color: #f3f4f6;
  border-color: rgba(255,255,255,0.12);
}

/* ======================================================
   HEART SVG
   ====================================================== */
#heartSVG{
  width:90%;
  height:90%;
}

.heart-outline{
  fill:#fff5f5;
  stroke:#8e0000;
  stroke-width:5;
}

.chamber{
  stroke:white;
  stroke-width:3;
}

.red{
  fill:#ef5350;
}

.blue{
  fill:#42a5f5;
}

.asd-hole{
  fill:#FFD54F;
  stroke:#ff9800;
  stroke-width:4;
  animation:pulse 1s infinite;
}

@keyframes pulse{
  50%{
    r:20;
  }
}