.labdir-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 18px;
  max-width: 1400px;
  margin: 16px auto;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.labdir-card--login {
  max-width: 500px;
  text-align: center;
}


.labdir-card--login .labdir-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}


.labdir-section {
  border-top: 2px solid rgba(0,0,0,.12);
  border-bottom: 2px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
  padding: 14px 12px;
  margin: 16px 0;
}


.labdir-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.2;
}

.labdir-form {
  margin-top: 10px;
}

.labdir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.labdir-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.labdir-field--full {
  grid-column: 1 / -1;
}

.labdir-label {
  font-size: 13px;
  opacity: .9;
}

.labdir-input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
}

.labdir-input:focus {
  border-color: rgba(0,0,0,.35);
}

.labdir-btn {
  border: 1px solid rgba(0,0,0,.16);
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.labdir-btn--secondary {
  background: #fff;
  color: #111;
}

.labdir-btn--small {
  padding: 7px 10px;
  font-size: 18px;
  border-radius: 9px;
  margin-right: 8px;
}

.labdir-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.labdir-btn--loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,.55);
  border-top-color: rgba(255,255,255,1);
  border-radius: 999px;
  display: inline-block;
  animation: labdirspin .75s linear infinite;
}

.labdir-btn--secondary.labdir-btn--loading::after {
  border: 2px solid rgba(0,0,0,.25);
  border-top-color: rgba(0,0,0,.85);
}

@keyframes labdirspin {
  to { transform: rotate(360deg); }
}

.labdir-alert {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
  margin: 10px 0 14px 0;
  font-size: 14px;
}

.labdir-alert--hidden {
  display: none;
}

.labdir-alert--success {
  border-color: rgba(20, 120, 60, .35);
  background: rgba(20, 120, 60, .08);
}

.labdir-alert--error {
  border-color: rgba(160, 30, 30, .35);
  background: rgba(160, 30, 30, .08);
}

.labdir-muted {
  opacity: .75;
  font-size: 14px;
}

.labdir-tablewrap {
  overflow-x: auto;
}

.labdir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.labdir-table th,
.labdir-table td {
  text-align: left;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  vertical-align: top;
}

.labdir-table th {
  font-size: 18px;
  opacity: .85;
}

.labdir-table tr.labdir-row--rsvp-accepted td {
  background: rgba(20, 120, 60, .08);
}

.labdir-table tr.labdir-row--rsvp-declined td {
  background: rgba(160, 30, 30, .08);
}

.labdir-table tr td.labdir-td--email-sent {
  background: rgba(20, 120, 60, .16);
}


@media (max-width: 720px) {
  .labdir-grid {
    grid-template-columns: 1fr;
  }
  .labdir-field--full {
    grid-column: auto;
  }
}

