/* --- ESTILO GLOBAL E VARIÁVEIS --- */
:root {
    --bg-color: #0b0b0c;
    --surface-color: #18181a;
    --primary-color: #e50914; /* Vermelho Netflix */
    --text-light: #f5f5f1;
    --text-muted: #808080;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- CLASSES GENÉRICAS (Botões e Inputs) --- */
.input-group { margin-bottom: 16px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 16px 20px; background: #333; border: 0; border-radius: 4px;
    color: #fff; font-size: 16px; outline: none; transition: background 0.3s;
}
.input-group input:focus, .input-group textarea:focus { background: #444; }

.btn-submit {
    width: 100%; padding: 16px; background: var(--primary-color); border: none; border-radius: 4px;
    color: white; font-size: 16px; font-weight: bold; cursor: pointer; transition: background 0.3s;
}
.btn-submit:hover { background: #f40612; }

.error-msg { background: #e87c03; color: white; padding: 10px 15px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }
.success-msg { background: #28a745; color: white; padding: 10px 15px; border-radius: 4px; margin-bottom: 15px; font-size: 14px; }

/* --- LOGIN & CADASTRO --- */
.login-container {
    display: flex; justify-content: center; align-items: center; min-height: 100vh;
    background: radial-gradient(circle at center, #1e1e1e 0%, #000 100%); padding: 20px;
}
.login-box {
    background-color: rgba(0, 0, 0, 0.75); padding: 50px; border-radius: 8px;
    width: 100%; max-width: 450px; box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.login-box h1 { margin-bottom: 25px; font-size: 32px; font-weight: 500; text-align: center; }
.toggle-link { margin-top: 20px; color: var(--text-muted); font-size: 15px; text-align: center; }
.toggle-link a { color: #fff; font-weight: bold; }
.toggle-link a:hover { text-decoration: underline; }

/* --- EMULADOR MOBILE (Para o App do Aluno) --- */
.mobile-app {
    max-width: 414px; /* Largura padrão iPhone */
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-color);
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}

/* --- ADMIN (Desktop) --- */
.admin-container { padding: 40px 5%; max-width: 1200px; margin: 0 auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-card { background: var(--surface-color); padding: 20px; border-radius: 8px; overflow-x: auto; }
.admin-table { width: 100%; text-align: left; border-collapse: collapse; min-width: 600px; }
.admin-table th { padding: 15px 10px; border-bottom: 2px solid #333; color: var(--text-muted); }
.admin-table td { padding: 15px 10px; border-bottom: 1px solid #222; }