input, textarea, select {
/*    width: 100%;*/
    width:-webkit-fill-available;
    width:-moz-available;

    padding: 14px 20px;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: #e6e6e6;
    text-align: left;
    transition: all 0.25s ease;
    font-family: 'Poppins', sans-serif;
  }

  input::placeholder,
  textarea::placeholder {
    color: #333;
    opacity: 0.9;
  }

input:not([readonly]):not([disabled]):focus,
textarea:not([readonly]):not([disabled]):focus,
select:not([readonly]):not([disabled]):focus {
  background: #e9f2ff;
  box-shadow: 0 0 0 2px #0d6efd, 0 0 20px 4px rgba(13, 110, 253, 0.3);
  font-weight: 500;
}
  /* Wrapper should behave like your normal input */
.input-group.color-input-wrapper {
  width: 75%;
  background: #e6e6e6;
  border-radius: 12px;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden; /* ensures round edges stay clean */
  transition: all 0.25s ease;
}

/* Circle before input */
.input-group .color-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: 12px;
  margin-right: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

/* Input inside group */
.input-group .form-control {
  width: auto;
  border: none !important;
  background: transparent !important; /* uses wrapper bg */
  padding: 14px 20px;
  font-size: 16px;
  box-shadow: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}
.input-group .form-control:focus{
   background: none !important;
  box-shadow: unset !important;
}

/* Focus effect (applied to wrapper) */
.input-group.color-input-wrapper:focus-within {
  background: #e9f2ff;
  box-shadow: 0 0 0 2px #0d6efd, 0 0 20px 4px rgba(13, 110, 253, 0.3);
  font-weight: 500;
}

  select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    cursor: pointer;
  }

  /* Success & Error */
  .success {
    background: #e9fbe9;
    box-shadow: 0 0 0 2px #198754;
  }

  .error {
    background: #ffecec;
    box-shadow: 0 0 0 2px #dc3545;
  }

  /* Disabled */
  input:disabled {
    background: #f1f1f1;
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Toggle Switch */
  .toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }

  .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .toggle .slider {
    position: relative;
    width: 50px;
    height: 28px;
    background-color: #e6e6e6;
    border-radius: 34px;
    transition: background-color 0.3s;
  }

  .toggle .slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 4px;
    top: 4px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
  }

  .toggle input:checked + .toggle .slider {
    background-color: #0d6efd;
  }

  .toggle input:checked + .toggle .slider::before {
    transform: translateX(22px);
  }

  .toggle-label {
    font-size: 14px;
    color: #000;
  }

  /* Section Titles & Descriptions */
  .section-title {
    text-align: center;
    font-weight: 600;
    font-size: 22px;
    margin-top: 80px;
    margin-bottom: 10px;
  }

  .description {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
  }

  code {
    background: #f6f6f6;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 13px;
  }
 /* --- Search Bar (aligned & same width as inputs) --- */
.search-field {
  position: relative;
  width: 300px; /* same as input width */
  margin: 20px auto 10px; /* reduced top & bottom gap */
  display: flex;
  justify-content: center;
}

.search-bar {
  width: 100%;
  padding: 14px 48px 14px 44px;
  font-size: 16px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: #e6e6e6;
  transition: all 0.25s ease;
  font-family: 'Poppins', sans-serif;
  color: #000;
  text-align: left;
}

.search-bar::placeholder {
  color: #333;
  opacity: 0.8;
}

.search-bar:focus {
  background: #e9f2ff;
  box-shadow: 0 0 0 2px #0d6efd, 0 0 20px 4px rgba(13, 110, 253, 0.3);
}

/* Icon positioning inside the field */
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.7;
  pointer-events: none;
  stroke: #333;
  transition: stroke 0.25s ease, opacity 0.25s ease;
}

.search-field:focus-within .search-icon {
  stroke: #0d6efd;
  opacity: 1;
}

/* Container */
.ios-list{
  max-width: 560px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  gap: 14px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Poppins, sans-serif;
}

/* Glass row base */
.ios-row{
  text-decoration: none;
  --row-h: 86px;                     /* equal height for all rows */
  --glass-bg: linear-gradient(180deg, rgba(255,255,255,.68) 0%, rgba(255,255,255,.54) 100%);
  --glass-bd: rgba(0,0,0,.08);
  --glass-shadow:
     0 .5px 0 rgba(255,255,255,.9) inset,
     0 1px 0 rgba(0,0,0,.06),
     0 12px 22px rgba(0,0,0,.08);

  width: 100%;
  min-height: var(--row-h);
  border: 1px solid var(--glass-bd);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%); /* Safari */
  box-shadow: var(--glass-shadow);

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;               /* centers content vertically */
  gap: 12px;
  padding: 14px 16px 14px 18px;
  text-align: left;
  color:#111;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

.ios-row:hover{ transform: translateY(-1px); box-shadow: 0 .5px 0 rgba(255,255,255,.9) inset, 0 10px 24px rgba(0,0,0,.12); }
.ios-row:active{ transform: translateY(0); filter: brightness(.98); }

/* Text */
.ios-text{ display:flex; flex-direction:column; justify-content:center; }
.ios-text .title{ font-weight: 700; font-size: 16px; line-height: 1.2; letter-spacing:.1px; }
.ios-text .subtitle{ font-size: 13px; color:#2b2b2b; opacity:.75; margin-top:6px; }
.note{ margin-top:6px; font-size:12px; }
.note.warn{ color:#e53935; font-weight:600; }

/* Chevron */
.chev{ width: 22px; height: 22px; color:#111; opacity:.4; }
.ios-row:hover .chev{ opacity:.7; }

/* ——— TINTED / ACTIVE glass variants ——— */
/* Apple Blue */
.ios-row--tint-blue{
  --glass-bg: linear-gradient(180deg, rgba(61,160,255,.28) 0%, rgba(30,127,245,.22) 100%);
  --glass-bd: rgba(0,113,227,.35);
  color:#0b3a7a;
}
.ios-row--tint-blue .title{ color:#0b3a7a; }
.ios-row--tint-blue .subtitle{ color:#0b3a7a; opacity:.85; }
.ios-row--tint-blue .chev{ color:#0071e3; opacity:1; }

/* Lavender / Purple */
.ios-row--tint-purple{
  --glass-bg: linear-gradient(180deg, rgba(155,136,255,.26) 0%, rgba(129,108,244,.20) 100%);
  --glass-bd: rgba(125,97,255,.32);
  color:#3f2e84;
}
.ios-row--tint-purple .title{ color:#3f2e84; }
.ios-row--tint-purple .subtitle{ color:#3f2e84; opacity:.85; }
.ios-row--tint-purple .chev{ color:#6d58f6; opacity:1; }

/* Compact on small screens */
@media (max-width:420px){
  .ios-row{ --row-h: 78px; padding: 12px 14px; }
  .ios-text .title{ font-size:15px; }
  .ios-text .subtitle{ font-size:12px; }
}
.ios-row,
.ios-row * {
  user-select: none;
  -webkit-user-select: none; /* Safari/iOS */
  -ms-user-select: none; /* older Edge */
}

/* Wrap to center the member card exactly like your iOS list */
.member-wrap{
  max-width: 560px;          /* same container as .ios-list */
/*  padding: 0 16px;*/
  margin: 14px auto 40px;    /* centers it */
}

/* Member card aligned with tabs and shorter height */
.member-card{
  width: 100%;               /* fills the centered container */
  height: 92px;              /* compact like your tabs */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.6);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  user-select: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.member-card:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }

/* Flat white circle (no image) */
.avatar-blank{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:#fff;           /* flat white circle */
  flex-shrink: 0;
}

/* Text */
.info{ flex:1; }
.info p{ margin: 2px 0; font-size:14px; }

/* Chevron */
.chev{ width:22px; height:22px; color:rgba(0,0,0,.45); flex-shrink:0; }


.base-green{
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(170,250,200,.62) 100%);
}
.base-purple{
  background: linear-gradient(180deg, rgba(255,255,255,.86) 0%, rgba(210,190,255,.62) 100%);
}
/* add other color variants similarly if needed */
   /* ===== Members ===== */
  .members-heading{ margin:28px 0 8px; font-size:24px; font-weight:700; text-align:center; }
  .member-wrap{ display:grid; gap:14px; }
  .member-card{
    color: #000;
    text-decoration: none;
    width:100%; height:92px; box-sizing:border-box;
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding:14px 18px; border-radius:20px; border:1px solid rgba(255,255,255,.6);
    backdrop-filter:blur(14px) saturate(150%); -webkit-backdrop-filter:blur(14px) saturate(150%);
    box-shadow:0 4px 14px rgba(0,0,0,.08); user-select:none; transition:transform .2s ease, box-shadow .2s ease;
  }
  .member-card:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(0,0,0,.1); }
  .avatar-blank{ width:56px; height:56px; border-radius:50%; background:#fff; flex-shrink:0; }
  .info{ flex:1; }
  .info p{ margin:2px 0; font-size:14px; }
  .member-card .chev{ width:22px; height:22px; color:rgba(0,0,0,.45); flex-shrink:0; }

  /* Mobile extra breathing for member text */
  @media (max-width:480px){
    .info{ padding:6px 0; }
    .member-card{ height:auto; min-height:82px; }
  }

  
.info p { margin: 2px 0; font-size: 14px; }
.info .label { font-weight:500; opacity: .85; margin-right: 6px; }
.info .value { font-weight:600; }




@media (min-width: 420px) {
  .switcher{
    gap: 33px !important;
    width: 412px !important;
    height: 80px !important;
  }
  .switcher::after {
    width: 118px !important;
  }
  .switcher__icon {
    width: 100% !important;
  }
  .switcher:has(input[c-option="2"]:checked)::after {translate: 95px 0 !important;  }
  .switcher:has(input[c-option="3"]:checked)::after {translate: 190px 0 !important;  }
  .switcher:has(input[c-option="4"]:checked)::after {translate: 282px 0 !important;  }
}

@media (max-width: 420px) {
  .switcher__option{
    margin:0px !important;
  }
 
}
@media (max-width: 330px) {
  .switcher {
    gap: 3px !important;
    width: 100% !important;
    height: 45px !important;
  }
  .switcher__option{
    margin:0px !important;
    padding: 0 12px !important;
  }
  .switcher::after {
    width: 75px !important;
  }
  .switcher__icon {
    width: 60% !important;
  }
  .switcher:has(input[c-option="2"]:checked)::after {translate: 75px 0 !important;  }
  .switcher:has(input[c-option="3"]:checked)::after {translate: 145px 0 !important;  }
  .switcher:has(input[c-option="4"]:checked)::after {translate: 215px 0 !important;  }
}