/* =====================
   Base Reset
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =====================
   Global Styles
===================== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: url(https://vermontwoodlands.org/images/otis-redding.png), #016940;
  color: #333;
  padding: 40px 20px;
  font-size: 16px;
  line-height: 1.6;
}

h1{
  color: #fff;
}

a {
  color: #004828;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

p {
  margin: 15px 0;
}

h2{
  margin: 0 0 1em;
  text-align: center;
}

iframe {
  max-width: 100%;
  border-radius: 6px;
}

.logo {
    width: 200px;
    margin: 0 auto;

    img{
      width: 100%;
    }
}
/* =====================
   Container
===================== */
.container {
  max-width: 960px;
  margin: auto;
  background: #fff;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);

  h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
  }

  .subtitle {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
  }
}

/* =====================
   Forms
===================== */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;

  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
  }
}

form {
  input[type="text"],
  input[type="email"],
  input[type="password"] {
    width: 100%;
    margin-bottom: .5rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    font-size: 16px;
  }

  textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 6px;
    resize: vertical;
    line-height: 1.5;
  }

  button,
  input[type="submit"] {
    background-color: #004828;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #016940;
    }
  }
}

/* =====================
   Login Form
===================== */
.login-form, .register-form {
  max-width: 400px;
  margin: 0 auto;

  input {
    width: 100%;
    border: 1px solid #ccc;
  }

  .form-group {
    margin-bottom: 1.5rem;
    position: relative;
  }

  button {
    width: 100%;
    padding: 12px;
    background-color: #004828;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: #035631;
    }
  }

  .form-links {
    margin-top: 15px;
    text-align: center;

    a {
      color: #004828;
      font-size: 14px;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

/* =====================
   Alerts
===================== */
.error {
  color: #c00;
  font-weight: bold;
  margin-bottom: 15px;
}

.success {
  color: green;
  margin-bottom: 15px;
}

/* =====================
   Buttons
===================== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #004828;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 20px;

  &:hover {
    background: #016940;
  }
}

/* =====================
   Video Wrapper (responsive 16:9 embed)
   Standalone so it works under any container
   (.course-view, .webinar-view, etc.)
===================== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;

  iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/* =====================
   Course View
===================== */
.course-view {
  margin: 0 auto;

  h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  p {
    color: #444;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .course-timer {
    font-size: 18px;
    color: #2a2a2a;
    margin-bottom: 20px;

    #timer {
      font-weight: bold;
      color: #e53935;
    }
  }

  #continueBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
}

/* =====================
   Messages
===================== */
.message {
  background-color: #fff5f5;
  border: 1px solid #ffb3b3;
  padding: 20px;
  margin-top: 40px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.05);

  &.warning {
    h2 {
      color: #cc0000;
      margin-bottom: 10px;
    }

    a.btn {
      background: #cc0000;
      color: #fff;
      padding: 8px 16px;
      text-decoration: none;
      border-radius: 4px;
      margin-top: 10px;
      display: inline-block;
    }
  }
}