* {
  box-sizing: border-box;
}

:root {
  --yunige-navy: #27206f;
  --yunige-navy-dark: #1d1757;
  --yunige-blue: #2d7ed3;
  --yunige-blue-soft: #eaf3ff;
  --yunige-pink: #e97ab0;
  --yunige-orange: #d66522;
  --page-bg: #f3f4f6;
  --card-bg: #ffffff;
  --border: #d9e0ea;
  --text: #22304a;
  --muted: #6f7b8f;
  --shadow: 0 8px 24px rgba(39, 32, 111, 0.08);
  --radius: 14px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: var(--page-bg);
  color: var(--text);
}

body {
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.top-header {
  background: #efefef;
  border-bottom: 1px solid #e4e4e4;
}

.top-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px 18px;
  text-align: center;
}

.logo-text {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--yunige-navy);
  line-height: 1;
}

.logo-text span {
  color: var(--yunige-pink);
}

.logo-subtitle {
  margin-top: 8px;
  font-size: 13px;
  color: #6d6d6d;
  font-weight: 700;
}

.blue-line {
  height: 6px;
  background: var(--yunige-blue);
}

.notice-bar {
  background: var(--yunige-orange);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
}

.app {
  display: flex;
  min-height: calc(100vh - 96px);
}

.sidebar {
  width: 260px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  box-shadow: var(--shadow);
}

.brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--yunige-navy);
  margin-bottom: 24px;
}

.menu-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 24px 0 8px;
  font-weight: 700;
}

.menu a {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.menu a:hover {
  background: #f4f8ff;
  color: var(--yunige-blue);
}

.menu a.active {
  background: var(--yunige-navy);
  color: #fff;
}

.content {
  flex: 1;
  min-width: 0;
  padding: 24px;
}

.page-header {
  margin-bottom: 20px;
}

.page-header h1 {
  margin: 0;
  font-size: 32px;
  color: var(--yunige-navy);
}

.page-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.section {
  margin-bottom: 28px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  color: var(--yunige-navy);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  margin-bottom: 4px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
}

input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #d6dbe7;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--yunige-blue);
  box-shadow: 0 0 0 3px rgba(45, 126, 211, 0.12);
}

.form-actions {
  margin-top: 8px;
}

.primary-button {
  border: none;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  background: var(--yunige-navy);
  color: white;
}

.primary-button:hover {
  background: var(--yunige-navy-dark);
}

.result-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: #ecfdf3;
  border: 1px solid #b7ebc6;
  color: #166534;
  line-height: 1.7;
}

.hidden {
  display: none !important;
}

@media (max-width: 1000px) {
  .app {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .content {
    padding: 20px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 42px;
  }
}