@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800;900&display=swap');

.yalf-organizer-panel{
  --yalf-bg:#0F1115;
  --yalf-card:#1A1D24;
  --yalf-muted:#A0A6B3;
  --yalf-text:#FFFFFF;
  --yalf-line:#2A2F3A;
  --yalf-shadow:0 4px 12px rgba(0,0,0,.25);
  --yalf-shadow-cta:0 6px 18px rgba(122,77,255,.35);
  --yalf-grad:linear-gradient(135deg, #3A8DFF 0%, #7A4DFF 55%, #FF4DA6 100%);
  --yalf-radius: 18px;
  --yalf-radius-sm: 14px;
  --yalf-btn: rgba(255,255,255,.08);
  --yalf-btn-hover: rgba(255,255,255,.12);
  --yalf-focus: rgba(255,255,255,.25);
  color: var(--yalf-text);
}

.yalf-organizer-panel .yalf-app{
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 18px 16px 28px;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--yalf-text);
  background: radial-gradient(1100px 540px at 50% -170px, rgba(122,77,255,.28), transparent 56%),
              radial-gradient(820px 420px at 92% -160px, rgba(255,77,166,.18), transparent 54%),
              var(--yalf-bg);
}

.yalf-organizer-panel .yalf-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 6px 2px 14px;
  position: sticky;
  top: 0;
  background: linear-gradient(to bottom, rgba(15,17,21,.94), rgba(15,17,21,.74), transparent);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.yalf-organizer-panel .yalf-topbar--actions{
  justify-content: flex-end;
  position: static;
  padding: 0 0 8px;
  background: transparent;
  backdrop-filter: none;
}

.yalf-organizer-panel .yalf-topbar--settings{
  position: static;
  justify-content: flex-start;
  padding: 0 0 10px;
  background: transparent;
  backdrop-filter: none;
}

.yalf-organizer-panel .yalf-topbar__spacer{
  width: 44px;
  height: 44px;
}

.yalf-organizer-panel .yalf-topbar__title{
  font-weight: 750;
  letter-spacing:.2px;
  font-size: 22px;
}

.yalf-organizer-panel .yalf-iconbtn{
  width: 44px;
  height: 44px;
  display:grid;
  place-items:center;
  border:1px solid var(--yalf-line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  cursor:pointer;
  color: var(--yalf-text);
  text-decoration:none;
}

.yalf-organizer-panel .yalf-iconbtn .yalf-icon{
  --yalf-icon-size:18px;
  margin-right: 0;
}

.yalf-organizer-panel .yalf-iconbtn:focus,
.yalf-organizer-panel .yalf-btn:focus,
.yalf-organizer-panel .yalf-edit:focus,
.yalf-organizer-panel .yalf-quickBtn:focus,
.yalf-organizer-panel .yalf-cta:focus{
  outline: 2px solid var(--yalf-focus);
  outline-offset: 2px;
}

.yalf-organizer-panel .yalf-profile{
  display:flex;
  gap: 14px;
  align-items:center;
  padding: 8px 2px 16px;
}

.yalf-organizer-panel .yalf-avatarWrap{
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}

.yalf-organizer-panel .yalf-avatar{
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 999px;
  border: 2px solid rgba(122,77,255,.55);
  display:grid;
  place-items:center;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  box-shadow: var(--yalf-shadow);
  text-decoration: none;
}

.yalf-organizer-panel .yalf-avatarEdit{
  position: absolute;
  right: -2px;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--yalf-line);
  background: #12161e;
  display:grid;
  place-items:center;
  cursor: pointer;
  text-decoration: none;
}

.yalf-organizer-panel .yalf-avatarEdit .yalf-icon,
.yalf-organizer-panel .yalf-edit .yalf-icon{
  margin-right: 0;
  color: #fff;
}

.yalf-organizer-panel .yalf-profile__meta{ flex:1; min-width: 0; }

.yalf-organizer-panel .yalf-handle{
  color: var(--yalf-muted);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-bottom: 6px;
}

.yalf-organizer-panel .yalf-nameRow{
  display:flex;
  align-items:center;
  gap: 10px;
}

.yalf-organizer-panel .yalf-name{
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.yalf-organizer-panel .yalf-edit{
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid var(--yalf-line);
  background: rgba(255,255,255,.04);
  display:grid; place-items:center;
  cursor:pointer;
  flex:0 0 auto;
  text-decoration:none;
}

.yalf-organizer-panel .yalf-divider{
  height: 1px;
  background: rgba(255,255,255,.18);
  margin: 8px 0 18px;
}

.yalf-organizer-panel .yalf-actionsTop{
  display:grid;
  gap: 12px;
  margin: 0 0 12px;
}

.yalf-organizer-panel .yalf-btn{
  width:100%;
  padding: 14px 16px;
  border-radius: var(--yalf-radius-sm);
  border: 1px solid var(--yalf-line);
  background: rgba(255,255,255,.04);
  color: var(--yalf-text);
  font-weight: 750;
  font-size: 18px;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
  display:block;
}

.yalf-organizer-panel .yalf-btn:hover{ background: var(--yalf-btn-hover); }

.yalf-organizer-panel .yalf-btn .yalf-icon,
.yalf-organizer-panel .yalf-cta .yalf-icon{
  margin-right: 8px;
}

.yalf-organizer-panel .yalf-btn--primary{
  background: var(--yalf-grad);
  color:#fff;
  border-color: transparent;
  box-shadow: var(--yalf-shadow-cta);
}

.yalf-organizer-panel .yalf-btn--primary:hover{ filter: brightness(1.06); }

.yalf-organizer-panel .yalf-sectionTitle{
  font-size: 34px;
  font-weight: 900;
  letter-spacing:.2px;
  margin: 18px 2px 14px;
}

.yalf-organizer-panel .yalf-eventCard{
  background: var(--yalf-card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--yalf-shadow);
  margin-bottom: 18px;
}

.yalf-organizer-panel .yalf-eventHero{
  position: relative;
  height: 210px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a1a1c;
}

.yalf-organizer-panel .yalf-eventHero[data-cover="0"]{
  background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08), transparent 55%),
                    linear-gradient(130deg, rgba(255,255,255,.06), rgba(0,0,0,.2));
}

.yalf-organizer-panel .yalf-eventHero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.20) 100%);
}

.yalf-organizer-panel .yalf-eventInfo{
  position:absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
}

.yalf-organizer-panel .yalf-eventMeta{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin-top: 6px;
}

.yalf-organizer-panel .yalf-eventName{
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 6px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.yalf-organizer-panel .yalf-eventDate{
  margin:0;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  letter-spacing:.2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}

.yalf-organizer-panel .yalf-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.25);
  font-weight: 750;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  width: fit-content;
}

.yalf-organizer-panel .yalf-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.18);
}

.yalf-organizer-panel .yalf-eventBody{
  padding: 14px 14px 16px;
  display:grid;
  gap: 12px;
}

.yalf-organizer-panel .yalf-quickRow{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.yalf-organizer-panel .yalf-quickBtn{
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--yalf-text);
  font-weight: 800;
  font-size: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  cursor:pointer;
  text-decoration:none;
}

.yalf-organizer-panel .yalf-quickBtn:hover{ background: rgba(255,255,255,.09); }

.yalf-organizer-panel .yalf-quickBtn .yalf-icon{
  --yalf-icon-size:19px;
  color: #fff;
  margin-right: 0;
}

.yalf-organizer-panel .yalf-quickBtn small{
  display:block;
  font-size: 12px;
  font-weight: 750;
  color: rgba(255,255,255,.78);
  letter-spacing:.2px;
  margin-top: 2px;
}

.yalf-organizer-panel .yalf-quickBtn__stack{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.05;
}

.yalf-organizer-panel .yalf-cta{
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--yalf-grad);
  color:#fff;
  font-weight: 900;
  font-size: 20px;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
  box-shadow: var(--yalf-shadow-cta);
}

.yalf-organizer-panel .yalf-cta:hover{ filter:brightness(1.06); }

.yalf-organizer-panel .yalf-empty{
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
}

.yalf-organizer-panel .yalf-empty__cta{ margin-top: 12px; }

.yalf-organizer-panel .yalf-archivedHint{
  margin: -4px 2px 12px;
  font-size: 13px;
  line-height: 1.4;
}

.yalf-organizer-panel .yalf-archivedHint a,
.yalf-organizer-panel .yalf-success a{
  color: #9ec7ff;
  font-weight: 700;
  text-decoration: none;
}

.yalf-organizer-panel .yalf-join{
  margin-bottom: 12px;
}

.yalf-organizer-panel .yalf-joinForm{
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,.03);
}

.yalf-organizer-panel .yalf-joinRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.yalf-organizer-panel .yalf-joinField label{
  display:block;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}

.yalf-organizer-panel .yalf-joinField input{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
}

@media (max-width: 520px){
  .yalf-organizer-panel .yalf-joinRow{ grid-template-columns: 1fr; }
}


.yalf-organizer-panel .yalf-avatar img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
}

.yalf-organizer-panel .yalf-eventDeleteForm{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  margin: 0;
}

.yalf-organizer-panel .yalf-eventDeleteBtn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--yalf-line);
  background: rgba(9,12,18,.78);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.32);
}

.yalf-organizer-panel .yalf-eventDeleteBtn .yalf-icon{
  --yalf-icon-size: 20px;
  margin-right: 0;
}

.yalf-organizer-panel .yalf-settingsTitle{
  font-size: 28px;
  font-weight: 900;
  margin: 4px 0 12px;
}

.yalf-organizer-panel .yalf-settingsForm{
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.yalf-organizer-panel .yalf-settingsCard{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  padding: 14px;
  box-shadow: var(--yalf-shadow);
}

.yalf-organizer-panel .yalf-settingsCard h3{
  margin: 0 0 8px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.yalf-organizer-panel .yalf-settingsCard input[type="text"],
.yalf-organizer-panel .yalf-settingsCard input[type="file"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
}

.yalf-organizer-panel .yalf-archivedEventsList{
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.yalf-organizer-panel .yalf-archivedEventsItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  padding: 10px 12px;
}

.yalf-organizer-panel .yalf-archivedEventsItem__meta{
  min-width: 0;
  flex: 1 1 auto;
}

.yalf-organizer-panel .yalf-archivedEventsItem__meta strong{
  display:block;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yalf-organizer-panel .yalf-archivedEventsItem__meta small{
  display:block;
  margin-top: 2px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

.yalf-organizer-panel .yalf-archivedBadge{
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  font-weight: 750;
}

.yalf-organizer-panel .yalf-archivedEventsItem__actions{
  display:flex;
  align-items:center;
  gap: 8px;
  flex: 0 0 auto;
}

.yalf-organizer-panel .yalf-restoreEventForm{
  margin: 0;
}

.yalf-organizer-panel .yalf-restoreEventBtn{
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 10px;
}

.yalf-organizer-panel .yalf-btn--ghost{
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  padding: 10px 14px;
}

.yalf-organizer-panel .yalf-btn-danger{
  border-color: rgba(255,77,166,.4);
  color: #ffd0e8;
  background: rgba(255,77,166,.1);
}

.yalf-organizer-panel .yalf-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999;
}

.yalf-organizer-panel .yalf-modal.is-open{
  display: flex;
}

.yalf-organizer-panel .yalf-modal__card{
  width: 100%;
  max-width: 420px;
  background: #0f0f10;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  position: relative;
}

.yalf-organizer-panel .yalf-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.yalf-organizer-panel #yalfQrImage{
  width: 100%;
  max-width: 280px;
  display: block;
  margin: 14px auto;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}

.yalf-organizer-panel #yalfQrReader{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin: 12px 0;
}

.yalf-organizer-panel .yalf-modal__actions{
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.yalf-organizer-panel .yalf-profileForm{
  display: grid;
  gap: 10px;
}

.yalf-organizer-panel .yalf-profileForm input[type="text"],
.yalf-organizer-panel .yalf-profileForm input[type="file"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
}
