/* Общие настройки */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: white;
  color: #0d1b2a; /* тёмно-синий */
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Контейнер формы */
.container {
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  background: white;
  border: 1px solid #0d1b2a;
  border-radius: 8px;
  text-align: center;
}

h1 {
  margin-bottom: 1.5rem;
  color: #0d1b2a;
}

/* Переключатели */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tab {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #0d1b2a;
  color: #0d1b2a;
  cursor: pointer;
  border-radius: 4px;
}

.tab.active {
  background: #0d1b2a;
  color: white;
}

/* Поля формы */
.form input {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid #0d1b2a;
  border-radius: 4px;
  background: white;
  color: #0d1b2a;
}

.form button {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: #0d1b2a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Главное меню */
.main-container {
  display: flex;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  border: 1px solid #0d1b2a;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.user-info {
  position: absolute;
  top: 15px;
  right: 20px;

  display: flex;
  align-items: center;
  gap: 15px;

  font-size: 16px;
  font-weight: 600;
  color: #0d1b2a;
}

.user-info button {
  padding: 8px 18px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.user-info button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.user-info button:active {
  transform: translateY(0);
}

.user-info h3 {
  font-size: 17px;
  font-weight: 600;
  color: #0d1b2a;
}



.half {

  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.left {
  background-color: #f0f4ff; /* очень светло-синий */
  border-right: 1px solid #0d1b2a;
}

.right {
  background-color: #fff0f5; /* очень светло-розовый (или можно белый) */
}

.half h2 {
  margin-bottom: 1.5rem;
  color: #0d1b2a;
}

.half button {
  padding: 0.75rem 2rem;
  background: #0d1b2a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.subject-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.subject-btn {
  display: block;
  padding: 12px;
  background: #3b82f6;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: background 0.2s;
}

.subject-btn:hover {
  background: #2563eb;
}

.file-list {
  list-style: none;
  padding: 0;
}

.file-list li {
  padding: 8px 0;
  border-bottom: 1px solid #334155;
}

.file-list a {
  color: #60a5fa;
  text-decoration: none;
}

.file-list a:hover {
  text-decoration: underline;
}
