body {
  font-family: Inter, Arial, sans-serif;
  margin: 0;
  background: #f9fafb;
  color: #111827;
}

.header {
  display: flex;
  align-items: center;
  padding: 18px 40px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  height: 36px;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: white;
  padding: 32px;
  border-radius: 20px;
  width: 460px;
  max-width: 90%;
  box-sizing: border-box;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-desc {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 20px;
}

.modal-content input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  font-size: 14px;
  transition: all 0.2s ease;
}

.modal-content input.input-error {
  border: 1px solid #dc2626;
  background-color: #fef2f2;
}

.modal-content input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-content input::placeholder {
  color: #9ca3af;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 12px;
  margin-bottom: 8px;
  width: 100%;
}

.checkbox input {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkbox span {
  display: block;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  max-width: 100%;
}

.nda-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.nda-container label {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.4;
  flex: 1;
  margin: 0;
  word-break: break-word;
}

.nda-container input {
  margin: 0;
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.secondary {
  background: #f3f4f6;
  color: #374151;
}

.secondary:hover {
  background: #e5e7eb;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 18px;
  color: #9ca3af;
  cursor: pointer;
  background: #f9fafb;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

h1 {
  font-size: 30px;
  margin-bottom: 10px;
}

h2 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 20px;
}

p {
  color: #6b7280;
  line-height: 1.5;
}

.intro {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.doc {
  background: white;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.doc:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.doc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.doc-content {
  flex: 1;
  max-width: 720px;
}

.doc-left {
  max-width: 70%;
}

.doc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.doc-footer {
  margin-top: 24px;
}

.dropdown {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 14px;
  min-width: 140px;
}

.doc-btn {
  height: 40px;
  width: 180px;
  padding: 0 20px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  border: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.doc-btn:hover {
  background: #1d4ed8;
}

.doc-title {
  font-size: 18px;
  font-weight: 600;
}

.badge {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.public {
  background: #eef2ff;
  color: #4338ca;
}

.restricted {
  background: #fef3c7;
  color: #92400e;
}

.doc-desc {
  margin: 10px 0 15px;
  color: #6b7280;
  font-size: 14px;
}

.doc-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.error {
  color: #d8392e;
  font-size: 13px;
  margin-top: 4px;
  margin-bottom: 10px;
}

.success {
  margin-top: 15px;
  padding: 12px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 8px;
  font-size: 14px;
}

.hidden {
  display: none;
}

select {
  padding: 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  min-width: 140px;
}

button {
  padding: 12px 20px;
  font-size: 14px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

button:disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.primary-btn {
  background: #2563eb;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.section {
  margin-top: 32px;
}

.section-header {
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0;
  font-size: 18px;
}

.section-header p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.custom-dropdown {
  position: relative;
  font-size: 14px;
  width: 400px;
}

.dropdown-selected {
  display: flex;
  height: 40px;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-selected:hover {
  border-color: #c7d2fe;
}

.arrow {
  font-size: 14px;
  color: #6b7280;
}

.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 220px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-item {
  padding: 14px 14px 14px 36px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f3f4f6;
}

.dropdown-item.active {
  font-weight: normal;
  position: relative;
}

.dropdown-item.active::before {
  content: "\2713";
  position: absolute;
  left: 12px;
  color: #111827;
  font-size: 14px;
}

.placeholder {
  color: #9ca3af;
}

.small-modal {
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
}

.modal-actions.center {
  justify-content: center;
  margin-top: 16px;
}
