/* ==== RESET + BODY ==== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5;
  color: #333;
  min-height: 100vh;
}

/* ==== NO SCROLL ON MOBILE ==== */
@media (max-width: 600px) {
  body.no-scroll {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }
}

/* ==== LOGIN PAGE ==== */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.login-box {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-box h1 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #333;
  font-weight: bold;
}

.login-box input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.login-box button {
  padding: 12px 14px;
  font-size: 16px;
  font-weight: bold;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.login-box button:hover {
  background-color: #0056b3;
}

.error-message {
  margin-top: 10px;
  color: red;
  font-size: 14px;
}

/* ==== VIDEO PAGE ==== */
.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

.video-card {
  background: white;
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-title {
  font-size: 16px;
  font-weight: bold;
  padding: 12px 16px;
  border-top: 1px solid #eee;
  background: #fafafa;
  text-align: center;
}
