:root {
  --ring-color: #d6d6ec;
  --purple-primary: #6941c6;
}

* {
  box-sizing: border-box;
}

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

.page {
  min-height: 100vh;
  display: flex;
}

.sidebar-left {
  width: 350px;
  min-width: 350px;
  height: 100vh;
  position: relative;
  background-color: #f9fafb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px;
  border-right: 1px solid #eaecf0;
}

.orbit-container {
  position: absolute;
  top: 50%;
  left: -150px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid var(--ring-color);
  border-radius: 50%;
}

.ring-1 {
  width: 250px;
  height: 250px;
}

.ring-2 {
  width: 450px;
  height: 450px;
}

.ring-3 {
  width: 650px;
  height: 650px;
}

.avatar {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  z-index: 10;
}

.pos-1 {
  top: 18%;
  left: 32%;
}

.pos-2 {
  top: 42%;
  left: 26%;
}

.pos-3 {
  top: 86%;
  left: 30%;
}

.pos-4 {
  top: 56%;
  left: 46%;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 20;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--purple-primary);
  font-weight: 500;
  font-size: 14px;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 0.7;
}

.social-links i {
  width: 16px;
  text-align: center;
}

.content-area {
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
}

.page-logo {
  position: fixed;
  top: 12px;
  mix-blend-mode: darken;
  left: 12px;
  width: 140px;
  height: auto;
  object-fit: contain;
  z-index: 100;
}

.card {
  background: #ffffff;
  margin-left: -800px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
}

h1 {
  margin: 0;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

label,
legend {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="date"] {
  width: 100%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

form {
  display: grid;
  gap: 16px;
}

.field {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #374151;
}

input[type="radio"] {
  accent-color: #2563eb;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  gap: 12px;
  justify-content: start;
}

.hero-card-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  background: #fff;
}

.hero-card-option input[type="radio"] {
  margin-top: 6px;
}

.hero-card-content {
  display: grid;
  gap: 10px;
}

.hero-card-content img {
  width: 100%;
  height: 309px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  object-fit: cover;
  background: #f9fafb;
}

.hero-card-text {
  display: grid;
  gap: 6px;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.hero-card-description {
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.45;
}

.hero-card-option:has(input[type="radio"]:checked) {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #f8fbff;
}

.uploaded-image-wrap {
  display: grid;
  gap: 8px;
}

.uploaded-image-preview {
  width: min(100%, 320px);
  max-height: 220px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  object-fit: contain;
  background: #f9fafb;
}

.uploaded-image-hint {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.ocr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ocr-item {
  display: grid;
  gap: 8px;
}

.ocr-item input[readonly] {
  background: #f9fafb;
}

@media (max-width: 640px) {
  .sidebar-left {
    display: none;
  }

  .content-area {
    padding: 20px 14px;
  }

  .page-logo {
    width: 104px;
    top: 10px;
    left: 10px;
  }

  .card {
    padding: 20px;
  }

  .ocr-grid {
    grid-template-columns: 1fr;
  }
}
