.s3-invite-entry {
  width: calc(100% - 32px);
  min-height: 58px;
  margin: 16px 16px 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font: inherit;
  cursor: pointer;
}

.s3-invite-entry-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.s3-invite-entry-left .material-icons {
  color: #002b5c;
  font-size: 22px;
}

.s3-invite-entry-arrow {
  color: #666;
  font-size: 24px;
}

.s3-invite-entry:active {
  background: #f7f8fa;
}

.s3-invite-page {
  position: fixed;
  inset: 0;
  z-index: 5000;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow-y: auto;
  background: #f6f7f9;
  color: #252525;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.s3-invite-header {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 60px;
  padding: env(safe-area-inset-top) 12px 0;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.s3-invite-header h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
}

.s3-invite-back {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #333;
  cursor: pointer;
}

.s3-invite-back:active {
  background: #f1f2f4;
}

.s3-invite-content {
  padding: 16px;
}

.s3-invite-card {
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

.s3-invite-field {
  padding: 18px 16px;
}

.s3-invite-field + .s3-invite-field {
  border-top: 1px solid #eee;
}

.s3-invite-label {
  margin-bottom: 10px;
  color: #707070;
  font-size: 13px;
}

.s3-invite-value-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s3-invite-value {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  color: #202020;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

#s3-invite-link {
  color: #44505e;
  font-size: 13px;
  font-weight: 400;
}

.s3-invite-loading {
  color: #999;
  font-weight: 400;
}

.s3-invite-copy {
  min-width: 82px;
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #002b5c;
  border-radius: 6px;
  background: #fff;
  color: #002b5c;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.s3-invite-copy .material-icons {
  font-size: 17px;
}

.s3-invite-copy:active {
  background: #eef4fa;
}

.s3-invite-status {
  min-height: 22px;
  margin-top: 14px;
  color: #137333;
  font-size: 13px;
  text-align: center;
}

.s3-invite-status.is-error {
  color: #c62828;
}

@media (max-width: 360px) {
  .s3-invite-value-row {
    align-items: stretch;
    flex-direction: column;
  }

  .s3-invite-copy {
    width: 100%;
  }
}
