/* CSS Modular do Login */

/* From forgot.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body.bg-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/login_hero.png') center/cover no-repeat fixed;
            position: relative;
        }

        body.bg-hero::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 0;
        }

        .login-card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            padding: 2.5rem;
            border-radius: 1.5rem;
            background: rgba(30, 41, 59, 0.55);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
            animation: cardReveal 0.6s ease-out;
            margin: 1.5rem;
        }

        @keyframes cardReveal {
            from { opacity: 0; transform: translateY(24px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-header .logo-img {
            height: 60px;
            width: auto;
            margin-bottom: 1.25rem;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
        }

        .login-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.35rem;
        }

        .login-header p {
            color: #94a3b8;
            font-size: 0.9rem;
            line-height: 1.5;
        }

        .message-box {
            padding: 0.75rem;
            border-radius: 0.75rem;
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
            display: none;
            text-align: center;
        }

        .error {
            background: rgba(239, 68, 68, 0.12);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .success {
            background: rgba(34, 197, 94, 0.12);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

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

        .form-group label {
            display: block;
            color: #cbd5e1;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            pointer-events: none;
        }

        .input-wrapper .input-icon svg {
            width: 18px;
            height: 18px;
        }

        .form-group input {
            width: 100%;
            padding: 0.8rem 0.9rem 0.8rem 2.75rem;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.4);
            border-radius: 0.75rem;
            color: #f1f5f9;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            outline: none;
        }

        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            background: rgba(15, 23, 42, 0.7);
        }

        /* Loading Spinner Animation */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .animate-spin {
            animation: spin 1s linear infinite;
        }

        .btn-action {
            width: 100%;
            padding: 0.875rem;
            border: none;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
            color: white;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
        }

        .btn-action:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
            transform: translateY(-1px);
        }

        .btn-action:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .back-link {
            display: block;
            text-align: center;
            margin-top: 1.5rem;
            color: #94a3b8;
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.2s;
        }

        .back-link:hover {
            color: #f1f5f9;
        }

        .login-footer {
            text-align: center;
            margin-top: 2rem;
            color: rgba(148, 163, 184, 0.6);
            font-size: 0.78rem;
        }
    
/* From hub.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body.bg-hub {
            min-height: 100vh;
            background: #0a0f1c;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            background-image: radial-gradient(circle at top center, rgba(30, 41, 59, 0.4) 0%, #0a0f1c 60%);
        }

        /* Top bar */
        .hub-topbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(10, 15, 28, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.03);
            z-index: 10;
        }

        .logo-container {
            display: flex;
            align-items: center;
            position: relative;
        }

        .logo-glow {
            position: absolute;
            top: 50%;
            left: 20px;
            width: 65px;
            height: 65px;
            background: rgba(255, 255, 255, 0.2);
            filter: blur(18px);
            transform: translateY(-50%);
            z-index: 0;
            border-radius: 50%;
        }

        .hub-topbar .logo-img {
            height: 62px;
            position: relative;
            z-index: 1;
        }

        .logo-divider {
            width: 1px;
            height: 32px;
            background: rgba(255, 255, 255, 0.15);
            margin: 0 1rem;
            position: relative;
            z-index: 1;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            z-index: 1;
            line-height: 1.3;
        }

        .logo-text-top, .logo-text-bottom {
            color: #cbd5e1;
            font-size: 0.65rem;
            letter-spacing: 0.15em;
        }

        .logo-text-top {
            font-weight: 300;
        }

        .logo-text-bottom {
            font-weight: 400;
        }

        .hub-topbar .user-info {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .hub-topbar .user-info .username {
            color: #e2e8f0;
            font-weight: 500;
        }

        .btn-logout {
            background: transparent;
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #f87171;
            padding: 0.5rem 1rem;
            border-radius: 2rem;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.4rem;
            transition: all 0.2s;
        }

        .btn-logout:hover {
            background: rgba(239, 68, 68, 0.1);
            border-color: rgba(239, 68, 68, 0.5);
        }

        .btn-logout svg {
            width: 16px;
            height: 16px;
        }

        /* Main content */
        .hub-content {
            text-align: center;
            animation: fadeUp 0.5s ease-out;
            margin-top: 4rem;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }


        .hub-content h1 {
            color: #ffffff;
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            letter-spacing: -0.03em;
        }

        .highlight-name {
            background: linear-gradient(to right, #06b6d4, #10b981);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hub-content p {
            color: #94a3b8;
            font-size: 1.05rem;
            margin-bottom: 3.5rem;
            line-height: 1.6;
        }

        /* Module Cards Grid */
        .modules-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .module-card {
            width: 350px;
            min-height: 320px;
            background: #0f172a;
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 1.5rem;
            padding: 2rem;
            text-align: center;
            cursor: pointer;
            transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.25rem;
            position: relative;
            overflow: hidden;
            will-change: transform;
            transform: translateZ(0);
        }

        @keyframes neonPulseDiario {
            0% { box-shadow: 0 0 10px rgba(14, 165, 233, 0.2), inset 0 0 5px rgba(14, 165, 233, 0.1); }
            50% { box-shadow: 0 0 25px rgba(14, 165, 233, 0.6), inset 0 0 10px rgba(14, 165, 233, 0.2); border-color: #0ea5e9; }
            100% { box-shadow: 0 0 10px rgba(14, 165, 233, 0.2), inset 0 0 5px rgba(14, 165, 233, 0.1); }
        }

        @keyframes neonPulseCursos {
            0% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.2), inset 0 0 5px rgba(168, 85, 247, 0.1); }
            50% { box-shadow: 0 0 25px rgba(168, 85, 247, 0.6), inset 0 0 10px rgba(168, 85, 247, 0.2); border-color: #a855f7; }
            100% { box-shadow: 0 0 10px rgba(168, 85, 247, 0.2), inset 0 0 5px rgba(168, 85, 247, 0.1); }
        }

        @keyframes neonPulseGestao {
            0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.2), inset 0 0 5px rgba(16, 185, 129, 0.1); }
            50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.6), inset 0 0 10px rgba(16, 185, 129, 0.2); border-color: #10b981; }
            100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.2), inset 0 0 5px rgba(16, 185, 129, 0.1); }
        }

        @keyframes neonPulseAdmin {
            0% { box-shadow: 0 0 10px rgba(244, 63, 94, 0.2), inset 0 0 5px rgba(244, 63, 94, 0.1); }
            50% { box-shadow: 0 0 25px rgba(244, 63, 94, 0.6), inset 0 0 10px rgba(244, 63, 94, 0.2); border-color: #f43f5e; }
            100% { box-shadow: 0 0 10px rgba(244, 63, 94, 0.2), inset 0 0 5px rgba(244, 63, 94, 0.1); }
        }

        .module-card:hover {
            transform: translateY(-6px);
        }

        .module-card.diario:hover {
            animation: neonPulseDiario 2s infinite;
            border-color: rgba(14, 165, 233, 0.8);
        }

        .module-card.cursos:hover {
            animation: neonPulseCursos 2s infinite;
            border-color: rgba(168, 85, 247, 0.8);
        }

        .module-card.gestao:hover {
            animation: neonPulseGestao 2s infinite;
            border-color: rgba(16, 185, 129, 0.8);
        }

        .module-card.admin:hover {
            animation: neonPulseAdmin 2s infinite;
            border-color: rgba(244, 63, 94, 0.8);
        }

        .module-card .module-icon {
            width: 120px;
            height: 120px;
            border-radius: 1.5rem;
            object-fit: cover;
            background: #ffffff;
            box-shadow: 0 0 35px rgba(255, 255, 255, 0.15);
            position: relative;
            z-index: 1;
            margin-bottom: 0.5rem;
        }

        .module-card.diario .module-icon {
            box-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
        }

        .module-card .module-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #ffffff;
            position: relative;
            z-index: 1;
        }

        .module-card .module-desc {
            font-size: 0.9rem;
            color: #94a3b8;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }


        .module-card .module-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            padding: 0.4rem 1rem;
            border-radius: 2rem;
            font-size: 0.75rem;
            font-weight: 600;
            position: relative;
            z-index: 1;
            border: 1px solid transparent;
        }

        .module-card.diario .module-badge {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.3);
        }

        .module-card.cursos .module-badge {
            background: rgba(139, 92, 246, 0.15);
            color: #a78bfa;
            border-color: rgba(139, 92, 246, 0.3);
        }

        .module-card.gestao .module-badge {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.3);
        }

        .module-card.admin .module-badge {
            background: rgba(244, 63, 94, 0.15);
            color: #fb7185;
            border-color: rgba(244, 63, 94, 0.3);
        }

        .module-badge svg {
            width: 14px;
            height: 14px;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .modules-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .hub-content h1 {
                font-size: 1.5rem;
            }
        }
        /* Toast notification */
        .hub-toast {
            position: fixed;
            top: 5rem;
            right: 2rem;
            background: rgba(30, 41, 59, 0.9);
            backdrop-filter: blur(12px);
            color: #f1f5f9;
            padding: 1rem 1.5rem;
            border-radius: 0.75rem;
            border: 1px solid rgba(139, 92, 246, 0.3);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            transform: translateX(120%);
            transition: transform 0.35s ease;
            z-index: 100;
        }
        .hub-toast.show {
            transform: translateX(0);
        }
        .hub-toast svg {
            width: 20px;
            height: 20px;
            color: #a78bfa;
        }
        .d-none {
            display: none !important;
        }
    
/* From index.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body.bg-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/login_hero.png') center/cover no-repeat fixed;
            position: relative;
        }

        /* Dark overlay on the background image */
        body.bg-hero::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 0;
        }

        /* Glassmorphism Login Card */
        .login-card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            padding: 2.5rem;
            border-radius: 1.5rem;
            background: rgba(30, 41, 59, 0.55);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
            animation: cardReveal 0.6s ease-out;
            margin: 1.5rem;
        }

        @keyframes cardReveal {
            from { opacity: 0; transform: translateY(24px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        /* Header */
        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-header .logo-img {
            height: 60px;
            width: auto;
            margin-bottom: 1.25rem;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
        }

        .login-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.35rem;
        }

        .login-header p {
            color: #94a3b8;
            font-size: 0.9rem;
        }

        /* Error */
        .error-message {
            background: rgba(239, 68, 68, 0.12);
            color: #f87171;
            padding: 0.75rem;
            border: 1px solid rgba(239, 68, 68, 0.2);
            border-radius: 0.75rem;
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
            display: none;
            text-align: center;
        }

        /* Form */
        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            color: #cbd5e1;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            pointer-events: none;
        }

        .input-wrapper .input-icon svg {
            width: 18px;
            height: 18px;
        }

        .form-group input[type="email"],
        .form-group input[type="password"],
        .form-group input[type="text"] {
            width: 100%;
            padding: 0.8rem 0.9rem 0.8rem 2.75rem;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.4);
            border-radius: 0.75rem;
            color: #f1f5f9;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            outline: none;
        }

        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            background: rgba(15, 23, 42, 0.7);
        }

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

        /* Toggle password */
        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
            transition: color 0.2s;
        }

        .toggle-password:hover {
            color: #94a3b8;
        }

        .toggle-password svg {
            width: 18px;
            height: 18px;
        }

        /* Extras row */
        .form-extras {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.75rem;
        }

        .remember-me {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
        }

        .remember-me input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: #3b82f6;
            cursor: pointer;
        }

        .remember-me span {
            color: #94a3b8;
            font-size: 0.85rem;
        }

        /* Submit */
        .btn-login {
            width: 100%;
            padding: 0.875rem;
            border: none;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
            color: white;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
            transform: translateY(-1px);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .btn-login svg {
            width: 18px;
            height: 18px;
        }

        /* Footer */
        .login-footer {
            text-align: center;
            margin-top: 2rem;
            color: rgba(148, 163, 184, 0.6);
            font-size: 0.78rem;
        }

        /* Responsive */
        @media (max-width: 480px) {
            .login-card {
                padding: 2rem 1.5rem;
                margin: 1rem;
            }
        }
    
/* From meus-dados.html */

        * { margin:0; padding:0; box-sizing:border-box; font-family:'Inter',sans-serif; }
        body.bg-doc { background:#f8fafc; color:#1e293b; min-height:100vh; }
        .topbar { background:#0f172a; padding:1rem 2rem; display:flex; align-items:center; justify-content:space-between; }
        .topbar img { height:36px; }
        .topbar a { color:#94a3b8; font-size:0.85rem; text-decoration:none; display:flex; align-items:center; gap:0.4rem; }
        .topbar a:hover { color:#e2e8f0; }
        .hero { background:linear-gradient(135deg,#4f46e5,#7c3aed); color:white; padding:3rem 2rem; text-align:center; }
        .hero h1 { font-size:1.75rem; font-weight:800; margin-bottom:0.5rem; }
        .hero p { font-size:0.95rem; opacity:0.85; }
        .container { max-width:780px; margin:0 auto; padding:2rem; }
        .card { background:white; border-radius:1rem; padding:1.75rem; margin-bottom:1.5rem; border:1px solid #e2e8f0; box-shadow:0 1px 3px rgba(0,0,0,0.04); }
        .card-header { display:flex; align-items:center; gap:0.75rem; margin-bottom:1.25rem; padding-bottom:1rem; border-bottom:1px solid #f1f5f9; }
        .card-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
        .card-icon i { width:20px; height:20px; }
        .card h2 { font-size:1rem; font-weight:700; color:#0f172a; }
        .card p.sub { font-size:0.8rem; color:#64748b; margin-top:2px; }
        .data-row { display:flex; justify-content:space-between; align-items:center; padding:0.65rem 0; border-bottom:1px solid #f8fafc; font-size:0.875rem; }
        .data-row:last-child { border-bottom:none; }
        .data-label { color:#64748b; font-weight:500; }
        .data-value { color:#1e293b; font-weight:600; }
        .btn { display:inline-flex; align-items:center; gap:0.5rem; padding:0.65rem 1.25rem; border-radius:0.6rem; font-size:0.875rem; font-weight:600; cursor:pointer; border:none; transition:all 0.2s; }
        .btn-primary { background:#4f46e5; color:white; }
        .btn-primary:hover { background:#3730a3; }
        .btn-export { background:#0891b2; color:white; }
        .btn-export:hover { background:#0e7490; }
        .btn-danger { background:white; color:#ef4444; border:1.5px solid #fca5a5; }
        .btn-danger:hover { background:#fef2f2; }
        .btn i { width:16px; height:16px; }
        .actions-row { display:flex; gap:0.75rem; flex-wrap:wrap; margin-top:1rem; }
        .badge-ok { background:#dcfce7; color:#166534; padding:0.25rem 0.75rem; border-radius:99px; font-size:0.72rem; font-weight:700; }
        .badge-warn { background:#fef9c3; color:#854d0e; padding:0.25rem 0.75rem; border-radius:99px; font-size:0.72rem; font-weight:700; }
        .info-box { background:#eff6ff; border:1px solid #bfdbfe; border-radius:0.75rem; padding:1rem 1.25rem; font-size:0.875rem; color:#1d4ed8; display:flex; gap:0.75rem; align-items:flex-start; margin-top:1rem; }
        .info-box i { width:18px; height:18px; flex-shrink:0; margin-top:2px; }
        .warn-box { background:#fff7ed; border:1px solid #fed7aa; border-radius:0.75rem; padding:1rem 1.25rem; font-size:0.875rem; color:#c2410c; display:flex; gap:0.75rem; align-items:flex-start; margin-top:1rem; }
        .warn-box i { width:18px; height:18px; flex-shrink:0; margin-top:2px; }
        #toast { position:fixed; bottom:1.5rem; right:1.5rem; background:#1e293b; color:white; padding:0.75rem 1.25rem; border-radius:0.75rem; font-size:0.875rem; box-shadow:0 4px 16px rgba(0,0,0,0.2); display:none; z-index:999; }
        .spinner { display:inline-block; width:16px; height:16px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin 0.6s linear infinite; }
        @keyframes spin { to { transform:rotate(360deg); } }
        footer { background:#0f172a; color:#64748b; text-align:center; padding:1.5rem; font-size:0.78rem; margin-top:2rem; }
        footer a { color:#94a3b8; text-decoration:none; }
    
/* From primeiro-acesso.html */

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

        body.bg-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/login_hero.png') center/cover no-repeat fixed;
            position: relative;
        }

        body.bg-hero::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.70);
            backdrop-filter: blur(4px);
            z-index: 0;
        }

        .card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 440px;
            padding: 2.5rem;
            border-radius: 1.5rem;
            background: rgba(30, 41, 59, 0.60);
            backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
            animation: cardReveal 0.6s ease-out;
            margin: 1.5rem;
        }

        @keyframes cardReveal {
            from { opacity: 0; transform: translateY(24px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .header { text-align: center; margin-bottom: 2rem; }
        .header img { height: 55px; margin-bottom: 1.25rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3)); }
        .header h1 { font-size: 1.5rem; font-weight: 700; color: #ffffff; margin-bottom: 0.35rem; }
        .header p { color: #94a3b8; font-size: 0.875rem; line-height: 1.5; }

        .alert-first {
            background: rgba(234, 179, 8, 0.12);
            border: 1px solid rgba(234, 179, 8, 0.3);
            border-radius: 0.75rem;
            padding: 0.9rem 1rem;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: flex-start;
            gap: 0.6rem;
        }
        .alert-first svg { width: 18px; height: 18px; color: #eab308; flex-shrink: 0; margin-top: 2px; }
        .alert-first p { color: #fde68a; font-size: 0.825rem; line-height: 1.5; margin: 0; }

        .message-box {
            padding: 0.75rem;
            border-radius: 0.75rem;
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
            display: none;
            text-align: center;
        }
        .error { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
        .success { background: rgba(34, 197, 94, 0.12); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }

        .form-group { margin-bottom: 1.25rem; }
        .form-group label { display: block; color: #cbd5e1; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
        .input-wrapper { position: relative; }
        .input-wrapper .input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748b; pointer-events: none; }
        .input-wrapper .input-icon svg { width: 18px; height: 18px; }

        .form-group input {
            width: 100%;
            padding: 0.8rem 0.9rem 0.8rem 2.75rem;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.4);
            border-radius: 0.75rem;
            color: #f1f5f9;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            outline: none;
        }
        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            background: rgba(15, 23, 42, 0.7);
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
        }

        .password-strength { margin-top: 0.5rem; }
        .strength-bar { height: 4px; border-radius: 99px; background: rgba(100,116,139,0.3); overflow: hidden; margin-bottom: 0.35rem; }
        .strength-fill { height: 100%; border-radius: 99px; width: 0%; transition: width 0.3s, background 0.3s; }
        .strength-label { font-size: 0.78rem; color: #64748b; }

        .btn-action {
            width: 100%;
            padding: 0.875rem;
            border: none;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
            margin-top: 1rem;
        }
        .btn-action:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
            transform: translateY(-1px);
        }
        .btn-action:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

        @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .animate-spin { animation: spin 1s linear infinite; }

        .login-footer { text-align: center; margin-top: 2rem; color: rgba(148, 163, 184, 0.6); font-size: 0.78rem; }
    
/* From privacidade.html */

        * { margin:0; padding:0; box-sizing:border-box; font-family:'Inter',sans-serif; }
        body.bg-doc { background:#f8fafc; color:#1e293b; line-height:1.7; }
        .topbar { background:#0f172a; padding:1rem 2rem; display:flex; align-items:center; justify-content:space-between; }
        .topbar img { height:36px; }
        .topbar a { color:#94a3b8; font-size:0.85rem; text-decoration:none; }
        .topbar a:hover { color:#e2e8f0; }
        .hero { background:linear-gradient(135deg,#1e40af,#3b82f6); color:white; padding:4rem 2rem; text-align:center; }
        .hero h1 { font-size:2.25rem; font-weight:800; margin-bottom:0.75rem; }
        .hero p { font-size:1rem; opacity:0.85; }
        .badge { display:inline-block; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.25); border-radius:99px; padding:0.3rem 1rem; font-size:0.78rem; font-weight:600; margin-top:1rem; }
        .container { max-width:860px; margin:0 auto; padding:3rem 2rem; }
        .toc { background:white; border-radius:1rem; padding:1.5rem 2rem; margin-bottom:2.5rem; border:1px solid #e2e8f0; }
        .toc h3 { font-size:0.85rem; text-transform:uppercase; letter-spacing:0.06em; color:#64748b; margin-bottom:1rem; }
        .toc ol { padding-left:1.25rem; }
        .toc li { margin-bottom:0.4rem; }
        .toc a { color:#2563eb; text-decoration:none; font-size:0.9rem; }
        .toc a:hover { text-decoration:underline; }
        .section { background:white; border-radius:1rem; padding:2rem; margin-bottom:1.5rem; border:1px solid #e2e8f0; }
        .section h2 { font-size:1.15rem; font-weight:700; color:#0f172a; margin-bottom:1.25rem; padding-bottom:0.75rem; border-bottom:2px solid #e2e8f0; display:flex; align-items:center; gap:0.5rem; }
        .section h3 { font-size:1rem; font-weight:600; color:#1e293b; margin:1.25rem 0 0.5rem; }
        .section p { color:#374151; margin-bottom:0.75rem; font-size:0.925rem; }
        .section ul, .section ol { padding-left:1.5rem; margin-bottom:0.75rem; }
        .section li { color:#374151; font-size:0.925rem; margin-bottom:0.4rem; }
        table { width:100%; border-collapse:collapse; margin-top:1rem; font-size:0.875rem; }
        th { background:#f1f5f9; padding:0.75rem 1rem; text-align:left; font-weight:600; color:#475569; border:1px solid #e2e8f0; }
        td { padding:0.75rem 1rem; border:1px solid #e2e8f0; color:#374151; }
        tr:nth-child(even) td { background:#f8fafc; }
        .highlight { background:#eff6ff; border-left:4px solid #2563eb; padding:1rem 1.25rem; border-radius:0 0.5rem 0.5rem 0; margin:1rem 0; }
        .highlight p { margin:0; color:#1d4ed8; font-size:0.875rem; }
        .contact-card { background:#f0fdf4; border:1px solid #bbf7d0; border-radius:0.75rem; padding:1.25rem; margin-top:1rem; }
        .contact-card strong { color:#166534; display:block; margin-bottom:0.25rem; }
        .contact-card p { color:#166534; margin:0; font-size:0.875rem; }
        .update-date { text-align:center; color:#94a3b8; font-size:0.8rem; margin-bottom:2rem; }
        footer { background:#0f172a; color:#64748b; text-align:center; padding:2rem; font-size:0.8rem; margin-top:2rem; }
        footer a { color:#94a3b8; text-decoration:none; }
    
/* From reset.html */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body.bg-hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/assets/login_hero.png') center/cover no-repeat fixed;
            position: relative;
        }

        body.bg-hero::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 0;
        }

        .login-card {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 420px;
            padding: 2.5rem;
            border-radius: 1.5rem;
            background: rgba(30, 41, 59, 0.55);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
            animation: cardReveal 0.6s ease-out;
            margin: 1.5rem;
        }

        @keyframes cardReveal {
            from { opacity: 0; transform: translateY(24px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .login-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .login-header .logo-img {
            height: 60px;
            width: auto;
            margin-bottom: 1.25rem;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
        }

        .login-header h1 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 0.35rem;
        }

        .login-header p {
            color: #94a3b8;
            font-size: 0.9rem;
        }

        .message-box {
            padding: 0.75rem;
            border-radius: 0.75rem;
            font-size: 0.85rem;
            margin-bottom: 1.25rem;
            display: none;
            text-align: center;
        }

        .error {
            background: rgba(239, 68, 68, 0.12);
            color: #f87171;
            border: 1px solid rgba(239, 68, 68, 0.2);
        }

        .success {
            background: rgba(34, 197, 94, 0.12);
            color: #4ade80;
            border: 1px solid rgba(34, 197, 94, 0.2);
        }

        .form-group {
            margin-bottom: 1.25rem;
        }

        .form-group label {
            display: block;
            color: #cbd5e1;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper .input-icon {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #64748b;
            pointer-events: none;
        }

        .input-wrapper .input-icon svg {
            width: 18px;
            height: 18px;
        }

        .form-group input {
            width: 100%;
            padding: 0.8rem 0.9rem 0.8rem 2.75rem;
            background: rgba(15, 23, 42, 0.5);
            border: 1px solid rgba(100, 116, 139, 0.4);
            border-radius: 0.75rem;
            color: #f1f5f9;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            outline: none;
        }

        .form-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            background: rgba(15, 23, 42, 0.7);
        }

        /* Loading Spinner Animation */
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        .animate-spin {
            animation: spin 1s linear infinite;
        }

        /* Typing Dots Animation */
        .dots span {
            animation: dot-pulse 1.5s infinite;
            display: inline-block;
        }
        .dots span:nth-child(2) { animation-delay: 0.2s; }
        .dots span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes dot-pulse {
            0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
            30% { transform: translateY(-3px); opacity: 1; }
        }

        .toggle-password {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 4px;
            display: flex;
            align-items: center;
        }

        .btn-action {
            width: 100%;
            padding: 0.875rem;
            border: none;
            border-radius: 0.75rem;
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            color: white;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
            margin-top: 1rem;
        }

        .btn-action:hover {
            background: linear-gradient(135deg, #27ae60 0%, #219150 100%);
            box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
            transform: translateY(-1px);
        }

        .login-footer {
            text-align: center;
            margin-top: 2rem;
            color: rgba(148, 163, 184, 0.6);
            font-size: 0.78rem;
        }
    
/* From termos.html */

        * { margin:0; padding:0; box-sizing:border-box; font-family:'Inter',sans-serif; }
        body.bg-doc { background:#f8fafc; color:#1e293b; line-height:1.7; }
        .topbar { background:#0f172a; padding:1rem 2rem; display:flex; align-items:center; justify-content:space-between; }
        .topbar img { height:36px; }
        .topbar a { color:#94a3b8; font-size:0.85rem; text-decoration:none; }
        .topbar a:hover { color:#e2e8f0; }
        .hero { background:linear-gradient(135deg,#0f172a,#1e40af); color:white; padding:4rem 2rem; text-align:center; }
        .hero h1 { font-size:2.25rem; font-weight:800; margin-bottom:0.75rem; }
        .hero p { font-size:1rem; opacity:0.85; }
        .badge { display:inline-block; background:rgba(255,255,255,0.15); border:1px solid rgba(255,255,255,0.25); border-radius:99px; padding:0.3rem 1rem; font-size:0.78rem; font-weight:600; margin-top:1rem; }
        .container { max-width:860px; margin:0 auto; padding:3rem 2rem; }
        .section { background:white; border-radius:1rem; padding:2rem; margin-bottom:1.5rem; border:1px solid #e2e8f0; }
        .section h2 { font-size:1.15rem; font-weight:700; color:#0f172a; margin-bottom:1.25rem; padding-bottom:0.75rem; border-bottom:2px solid #e2e8f0; }
        .section p { color:#374151; margin-bottom:0.75rem; font-size:0.925rem; }
        .section ul, .section ol { padding-left:1.5rem; margin-bottom:0.75rem; }
        .section li { color:#374151; font-size:0.925rem; margin-bottom:0.5rem; }
        .update-date { text-align:center; color:#94a3b8; font-size:0.8rem; margin-bottom:2rem; }
        footer { background:#0f172a; color:#64748b; text-align:center; padding:2rem; font-size:0.8rem; margin-top:2rem; }
        footer a { color:#94a3b8; text-decoration:none; }
    