/* ===== СТИЛЬ ФОРМЫ ЛОГИНА ===== */
.login-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.login-form input[type="password"] {
  padding: 10px 14px;
  font-size: 1em;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  width: 240px;
  height: 42px;
  box-sizing: border-box;
}

.login-form button {
  padding: 10px 18px;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  height: 42px;
  transition: background-color 0.2s;
}

.login-form button:hover {
  background-color: #1d4ed8;
}
/* ===== ОБЩИЕ СТИЛИ ===== */
body {
  font-family: sans-serif;
  background-color: #f9fafb;
  color: #111827;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  background: white;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.video-wrapper {
    display: flex;
    justify-content: center;
}

.video-wrapper video {
    max-width: 360px;
    width: 100%;
}

input, button {
  padding: 10px;
  margin-top: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button {
  background-color: #2563eb;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #1e40af;
}

.error {
  color: red;
  font-size: 14px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: #2563eb;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.button:hover {
  background: #1e40af;
}

.button-secondary {
  background: #6b7280;
}

.button-secondary:hover {
  background: #4b5563;
}

.lesson-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.lesson-item {
  margin-bottom: 12px;
}

.lesson-item a {
  color: #2563eb;
  text-decoration: none;
  font-size: 18px;
}

.lesson-item a:hover {
  text-decoration: underline;
}
