/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografia global */
body, html {
  font-family: 'Roboto', sans-serif;
  height: 100%;
  overflow: auto;  /* permite rolagem e evita corte de conteúdo */
}

/* Layout principal */
.page {
  display: flex;
  height: 100%;
}
.sidebar {
  background-color: #1d1f25;
  width: 10%;
  position: relative;
}
.sidebar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  width: 15px;
  height: 100%;
  background: linear-gradient(to top, rgb(255,107,0), rgb(255,245,0));
}
.sidebar.right::after {
  left: auto;
  right: 15px;
}
.content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

/* Logo */
.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo img {
  max-width: 200px;
  height: auto;
}

/* Vídeo */
.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80vh;
  margin-bottom: 20px;
}
#ad-video {
  width: 90vw;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Conteúdo */
.content {
  text-align: center;
  width: 100%;
  max-width: 600px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.content.terms {
  max-height: 80vh;
  overflow-y: auto;
  text-align: justify;
  line-height: 1.6;
  font-size: 16px;
  padding-right: 10px;
}
.content.terms p {
  margin-bottom: 1em;
}

/* Links e botões */
.content a.button,
.content a.back-button {
  display: inline-block;
  background-color: #db540b;
  color: #fff;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}
.content a.button:hover,
.content a.back-button:hover {
  background-color: #a83e08;
}
.content a:not(.button):not(.back-button) {
  background: none;
  color: inherit;
  padding: 0;
  margin: 0;
  text-decoration: underline;
}

/* Formulário e botões (login) */
label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}
input, button {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
button {
  background-color: #db540b;
  color: #fff;
  border: none;
  cursor: pointer;
}
button:hover {
  background-color: #a83e08;
}
