/* styles.css */

/* Estilos gerais */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #141414;
    color: #fff;
    overflow-y: auto; /* Permitir rolagem vertical */
    overflow-x: hidden; /* Evitar rolagem horizontal */
}

.header {
    background-color: #e50914;
    padding: 20px;
    text-align: center;
}

.header h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

.header h1 a:hover {
    text-decoration: underline;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
}

.course-list, .season-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.chapter-list {
    list-style-type: none;
    padding: 0;
    width: 100%;
    max-width: 800px;
}

.chapter-item {
    background-color: #333;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 10px;
    text-align: left;
}

.chapter-item:hover {
    background-color: #444;
}

.course-item, .season-item{
    background-color: #333;
    padding: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
    text-align: center;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.course-item:hover, .season-item:hover{
    transform: scale(1.05);
    background-color: #444;
}

.course-item img, .season-item img, .chapter-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.course-item h3, .season-item h3, .chapter-item h3 {
    color: #fff;
    font-size: 18px;
    margin: 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    background-color: #000;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #e50914;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 20;
}

.back-button:hover {
    background-color: #f6121d;
}

.next-episode-warning {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 20;
    cursor: pointer;
    border: none;
    transition: backgroud-color 0.5s;
}

.next-espisode-warning:hover{
    background-color: rgba(0, 0, 0, 0.9);
}

/* Estilos para o indicador de carregamento */
.loading {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

/* Estilos para a tela de login */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url('imgs/logobackground.png') no-repeat center center/cover;
    padding: 20px;
}

.login-header {
    margin-bottom: 20px;
}

.login-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.login-form {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 60px 68px 40px;
    border-radius: 5px;
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    color: #8c8c8c;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 16px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background: #333;
    color: #fff;
    font-size: 16px;
}

.form-group input::placeholder {
    color: #8c8c8c;
}

.validation-message {
    color: #e87c03;
    font-size: 14px;
    display: none;
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(232, 124, 3, 0.1);
    border-left: 3px solid #e87c03;
    border-radius: 3px;
}

#errorMessage {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    font-weight: 500;
}

.login-button,
.access-code-button {
    width: 100%;
    padding: 16px;
    background-color: #e50914;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.login-button:hover,
.access-code-button:hover {
    background-color: #f6121d;
}

.or-text {
    color: #8c8c8c;
    font-size: 14px;
    margin: 20px 0;
}

.help-link {
    color: #8c8c8c;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.help-link:hover {
    text-decoration: underline;
}

.login-footer {
    margin-top: 20px;
    color: #8c8c8c;
    font-size: 14px;
    text-align: left;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.remember-me input {
    margin-right: 10px;
}

.recaptcha-terms-of-use {
    margin-top: 20px;
}

.recaptcha-terms-of-use--link-button {
    background: none;
    border: none;
    color: #8c8c8c;
    text-decoration: underline;
    cursor: pointer;
}

.recaptcha-terms-of-use--disclosure {
    margin-top: 10px;
    color: #8c8c8c;
    font-size: 12px;
}
