
:root { --bg: #05070b; --accent: #e50914; --text: #ffffff; --input-bg: rgba(10,10,12,0.75); }
body { font-family: 'Montserrat', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; margin: 0; }

.cinematic-bg-container { position: fixed; inset: 0; z-index: -2; background: #000; }
.movie-bg { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; background-image: url('https://images.unsplash.com/photo-1536440136628-849c177e76a1?q=80&w=1925&auto=format&fit=crop'); background-size: cover; background-position: center; filter: blur(7px) brightness(0.5); animation: slowPan 60s linear infinite alternate; }
.bg-overlay-gradient { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at center, rgba(5,7,11,0.5) 0%, var(--bg) 85%); }

@keyframes slowPan { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(4%, 4%, 0); } }

.login-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; z-index: 2; }
.login-card { width: 100%; max-width: 400px; background: rgba(14, 14, 18, 0.92); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; padding: 42px 32px; box-shadow: 0 40px 100px rgba(0,0,0,0.8); }

.login-header { text-align: center; margin-bottom: 25px; }

.logo { display: inline-block; }
.logo-img { max-width: 200px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 4px 15px rgba(0,0,0,0.6)); }

.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 0.8rem; color: #ddd; margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.input-wrapper { position: relative; }
.form-input { width: 100%; background: var(--input-bg); border: 2px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 14px 16px 14px 48px; color: #ffffff; font-size: 0.95rem; outline: none; transition: 0.2s; box-sizing: border-box; }
.form-input:focus { border-color: var(--accent); background: rgba(25,25,30,0.95); }
.input-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #777; width: 20px; height: 20px; }
.form-input:focus + .input-icon { color: var(--accent); }

.btn-login { width: 100%; padding: 15px; border-radius: 8px; border: none; background: var(--accent); color: #fff; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; cursor: pointer; margin-top: 12px; transition: 0.2s; }
.btn-login:hover { background: #f40612; transform: translateY(-2px); box-shadow: 0 15px 40px rgba(229, 9, 20, 0.7); }

.signup-area { margin-top: 32px; font-size: 0.95rem; color: #ccc; text-align: center; }
.signup-link { color: #fff; font-weight: 700; margin-left: 5px; text-decoration: none; }
.signup-link:hover { color: var(--accent); text-decoration: underline; }

.login-footer { text-align: center; font-size: 0.75rem; color: #666; padding: 20px; position: relative; z-index: 2; }

/* =========================================
    SISTEMA DE NOTIFICAÇÕES (TOAST)
========================================= */
.toast-container {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-left: 4px solid;
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 250px;
    max-width: 350px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon { width: 20px; height: 20px; flex-shrink: 0; }

.toast-success { border-color: #4caf50; }
.toast-success .toast-icon { color: #4caf50; }

.toast-error { border-color: #e50914; }
.toast-error .toast-icon { color: #e50914; }

.toast-warning { border-color: #ff9800; }
.toast-warning .toast-icon { color: #ff9800; }

.toast-info { border-color: #2196f3; }
.toast-info .toast-icon { color: #2196f3; }

@media (max-width: 480px) {
  .login-card { padding: 36px 24px; }
  .logo-img { max-width: 180px; }
  .toast-container { top: 20px; right: 20px; left: 20px; align-items: center; }
  .toast { width: 100%; transform: translateY(-120%); }
  .toast.show { transform: translateY(0); }
}