body {

  --dk100: #202B3D;
  --dk200: #293345;
  --dk300: #384357;
  --wht: #ffffff;
  --accent: #8BC53F;

  --yellow: #FFD932;
  --green: #8DD88E;
  --red: #F7928A;
  --blue: #80D0FF;
}


body.light {

  --dk100: #ffffff;
  --dk200: #f9f9f9;
  --dk300: #e9e9e9;
  --wht: #202B3D;
  --accent: #8BC53F;
}


*,
*:before,
*:after {
  margin: 0;
  box-sizing: border-box;
  font-family: 'plus jakarta sans', sans-serif;
}

body {
  margin: 0 !important;
  background: var(--dk100);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--wht);
  font-size: 17px;
}


.contain {
  width: 1500px;
  max-width: 90%;
  margin: 0 auto;
}

.nav {padding: 20px 0px;}
.nav-contain {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 94%;
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.nav-menu a {
  text-decoration: none;
  color: var(--wht);
}

.site-footer {
  padding: 50px 20px 20px 20px;
}

.nav-logo {
  width: 150px;
}


h1, h2, h3, h4, h5 {
 line-height: 1.2;
 font-family: 'Plus Jakarta Sans', sans-serif;

}
h1 {font-size: 42px;}
h2 {font-size: 36px;}
h3 {font-size: 28px;}
h4 {font-size: 22px;}
h5 {font-size: 20px;}
.eyebrow {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

p {
  line-height: 1.8;
}

::placeholder {
  color: #ffffff50;
}

.btn, .nav-menu a:last-child, .tab-btn {
  border: 1px solid var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  background: transparent !important;
  z-index: 2;
  text-decoration: none !important;
  overflow: hidden !important;
  font-size: 14px !important;
  text-align: center;
  line-height: 1.2;
}

.btn.big {
  padding: 20px 30px;

}

.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn:before, .nav-menu a:last-child:before, .tab-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  opacity: .5;
  z-index: -1;
  border-radius: 5px !important;
}

body.light .btn:before, body.light .nav-menu a:last-child:before, body.light .tab-btn:before {
  opacity: .95;
 
}

.prev-btn, .tab-btn:not(.active) {
  background: var(--dk200) !important;
  border: 1px solid var(--dk300) !important;
  color: var(--wht) !important;

}
.tab-btn:not(.active):before {
  background: var(--dk200) !important;
  opacity: .5;  
}

.prev-btn:before {
  background: transparent;
}

.action-buttons button {
  background: none;
  border: none;
  outline: none;
  color: var(--wht);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: var(--dk100);
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 8px;
  background: var(--dk200);
  border: 1px solid var(--dk300);
  border-radius: 4px;
  color: var(--wht);
}

.form-actions {
  margin-top: 20px;
  text-align: right;
}

.dashboard-header {
  margin-bottom: 40px;
  padding-top: 50px;
}


.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.stat {
  background-color: var(--dk200);
  border: 1px solid var(--dk300);
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  align-items: start;
  flex-grow: 1;
  width: 100%;
}

.stat-label {
  font-size: 14px;
  opacity: .6;
  font-weight: 500;
}

.stat-content {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.flex-vert {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card, tr {
  background: var(--dk200);
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  border: 1px solid var(--dk300);
}


.quick-overview-card {
  background: var(--dk200);
  padding: 40px;
  border-radius: 5px;
  width: 100%;
  border: 1px solid var(--dk300);
  display: flex;
  flex-direction: column;
  align-items: start; justify-content: start;
  gap: 20px;
  line-height: 1.4;
  text-align: left !important;
}


.multi-button-wrap, .action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.group-invite {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.table-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

table {
  text-align: left;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 20px; /* First value is horizontal spacing, second is vertical */
}

.responses-table {
  border-spacing: 0 10px; /* First value is horizontal spacing, second is vertical */

}

td, th {
  min-width: 100px;
  padding: 20px !important;
}

thead th {
  line-height: 1.2;
  font-size: 14px;
  white-space: nowrap;
}




.form-error{
  display: flex; gap: 5px;
  flex-wrap: wrap;
}

.input-error {
  border-color: var(--red) !important;
  background: rgba(255, 68, 68, 0.1) !important;
}

.error-message, .form-error p, .auth-alert.error {
  color: var(--red);
  padding: 10px;
  border-radius: 5px;
  border: 1px solid var(--red) !important;
  background: rgba(255, 68, 68, 0.1) !important;
  font-size: 14px;
  margin-bottom: 25px;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
}

.form-error p {
  margin: 0px;
}

.debug-info a {
  color: var(--accent);
}

.form-group input:focus {
  border-color: var(--accent);
  outline: none;
}






.manager-list, .admin-list {
  margin-bottom: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manager-item, .admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--dk200)
}

.manager-info, .admin-info {
  display: flex;
  flex-direction: column;
}

.manager-info strong, .admin-info strong {
  font-size: 16px;
  color: var(--dk900);
}

.manager-info span, .admin-info span {
  font-size: 14px;
  color: var(--dk600);
}

.remove-manager-btn, .remove-admin-btn {
  padding: 5px 10px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.remove-manager-btn:hover, .remove-admin-btn:hover {
  background: #cc0000;
}



.admin-column, .manager-column {
  max-width: 250px;
}

.admin-entry, .manager-entry {
  padding: 5px 0;
  border-bottom: 1px solid var(--dk300);
}

.admin-entry:last-child, .manager-entry:last-child {
  border-bottom: none;
}

.admin-entry small, .manager-entry small {
  color: var(--wht);
  font-size: 0.85em;
  opacity: .5;
}








/* Theme Toggle Styles */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  background-color: #dddddd30;
  border-radius: 20px;
  transition: .4s;
  margin-right: 10px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.toggle-label {
  color: var(--wht);
  font-size: 14px;
}



.toosmall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999999999999999;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  background: var(--dk100);
  color: var(--wht);
  text-align: center;
  display: none;
  padding: 20px;
}

@media screen and (max-width: 900px) {
  .toosmall {
    display: flex;
  }

  body, .site, .contain {
    height: auto !important;}

.choice-container {
  flex-direction: column;
}

.auth-wrap {
padding: 20px !important;
}

.theme-toggle {
  display: none;
}

.logo svg {
  width: 120px;
}

.pin-digit {
  width: 60px !important;
  height: 70px !important;
  font-size: 40px;
  border-radius: 6px !important;
}

.cf-row {
  flex-direction: column;
}

}








.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}



.expected-responses-input {
    background: var(--dk200);
    border: 1px solid var(--dk300);
    border-radius: 4px;
    color: var(--wht);
    font-size: 14px;
    text-align: center;
}

.expected-responses-input:focus {
    outline: none;
    border-color: var(--accent);
}

.close {
  z-index: 999;
}