:root {
            --sesapi-primary: #0066cc;
            --sesapi-secondary: #00a86b;
            --sesapi-dark: #1e3a5f;
            --sesapi-light: #f8f9fa;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f6f8;
        }
        
        .top-bar {
            background: linear-gradient(135deg, var(--sesapi-primary) 0%, var(--sesapi-dark) 100%);
            color: white;
            padding: 8px 0;
            font-size: 0.85rem;
        }
        
        .top-bar a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        
        .top-bar a:hover {
            opacity: 0.8;
        }
        
        .navbar-sesapi {
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 0;
        }
        
        .navbar-brand {
            padding: 15px 0;
        }
        
        .navbar-brand img {
            height: 60px;
        }
        
        .nav-link {
            color: var(--sesapi-dark) !important;
            font-weight: 500;
            padding: 25px 18px !important;
            transition: all 0.3s;
            border-bottom: 3px solid transparent;
        }
        
        .nav-link:hover, .nav-link.active {
            color: var(--sesapi-primary) !important;
            border-bottom-color: var(--sesapi-secondary);
        }
        
        .hero-section {
            background: linear-gradient(135deg, var(--sesapi-primary) 0%, var(--sesapi-dark) 100%);
            color: white;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="80" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
            background-size: cover;
        }
        
        .hero-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
            opacity: 0.9;
            margin-bottom: 30px;
        }
        
        .action-card {
            background: white;
            border-radius: 12px;
            padding: 30px;
            text-align: center;
            transition: all 0.3s ease;
            border: none;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            height: 100%;
            cursor: pointer;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        
        .action-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            text-decoration: none;
            color: inherit;
        }
        
        .action-icon {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            font-size: 28px;
        }
        
        .action-icon.primary {
            background: linear-gradient(135deg, var(--sesapi-primary), #0052a3);
            color: white;
        }
        
        .action-icon.success {
            background: linear-gradient(135deg, var(--sesapi-secondary), #008855);
            color: white;
        }
        
        .action-icon.info {
            background: linear-gradient(135deg, #17a2b8, #138496);
            color: white;
        }
        
        .action-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--sesapi-dark);
            margin-bottom: 10px;
        }
        
        .action-desc {
            color: #6c757d;
            font-size: 0.95rem;
        }
        
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--sesapi-dark);
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--sesapi-primary), var(--sesapi-secondary));
            border-radius: 2px;
        }
        
        .section-subtitle {
            color: #6c757d;
            margin-bottom: 40px;
        }
        
        .download-card {
            background: white;
            border-radius: 10px;
            padding: 25px;
            border-left: 4px solid var(--sesapi-secondary);
            box-shadow: 0 3px 15px rgba(0,0,0,0.08);
            transition: all 0.3s;
            height: 100%;
        }
        
        .download-card:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 25px rgba(0,0,0,0.12);
        }
        
        .download-icon {
            width: 50px;
            height: 50px;
            background: rgba(0,168,107,0.1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--sesapi-secondary);
            font-size: 24px;
            margin-bottom: 15px;
        }
        
        .download-title {
            font-weight: 600;
            color: var(--sesapi-dark);
            margin-bottom: 8px;
        }
        
        .download-desc {
            color: #6c757d;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }
        
        .btn-download {
            background: var(--sesapi-secondary);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .btn-download:hover {
            background: #008855;
            color: white;
            transform: scale(1.05);
        }
        
        .footer-sesapi {
            background: var(--sesapi-dark);
            color: white;
            padding: 50px 0 20px;
            margin-top: 80px;
        }
        
        .footer-title {
            font-weight: 600;
            margin-bottom: 20px;
            color: white;
        }
        
        .footer-link {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            display: block;
            padding: 5px 0;
            transition: color 0.3s;
        }
        
        .footer-link:hover {
            color: white;
            text-decoration: none;
        }
        
        .footer-contact {
            color: rgba(255,255,255,0.8);
            font-size: 0.9rem;
        }
        
        .footer-contact i {
            color: var(--sesapi-secondary);
            margin-right: 10px;
            width: 20px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 30px;
            padding-top: 20px;
            text-align: center;
            color: rgba(255,255,255,0.6);
            font-size: 0.85rem;
        }
        
        .badge-sesapi {
            background: var(--sesapi-secondary);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 1.8rem;
            }
            .action-card {
                margin-bottom: 20px;
            }
        }

        .login-section {
            flex: 1;
            display: flex;
            align-items: center;
            padding: 60px 0;
            background: linear-gradient(135deg, var(--sesapi-primary) 0%, var(--sesapi-dark) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .login-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 50%;
            height: 100%;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="80" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
            background-size: cover;
        }
        
        .login-card {
            background: white;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
            max-width: 900px;
            margin: 0 auto;
        }
        
        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }
        
        .form-col {
            flex: 1;
            min-width: 250px;
        }
        
        .form-col-2 {
            flex: 2;
            min-width: 250px;
        }
        
        .form-col-auto {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding-bottom: 44px;
        }
        
        .email-hint {
            font-size: 0.8rem;
            color: #6c757d;
            margin-top: 5px;
        }
        
        .btn-gerar-codigo {
            background: linear-gradient(135deg, #ffc107, #ff9800);
            color: white;
            border: none;
            padding: 10px 16px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.85rem;
            white-space: nowrap;
            transition: all 0.3s;
            height: 50px;
            min-width: 140px;
            max-width: 140px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .btn-gerar-codigo:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
            color: white;
        }
        
        .codigo-container {
            opacity: 0.5;
            transition: all 0.3s;
        }
        
        .codigo-container.active {
            opacity: 1;
        }
        
        .codigo-container.active #codigo {
            border-color: var(--sesapi-primary);
            background-color: #fff;
        }
        
        #codigo {
            background-color: #f8f9fa;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .login-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .login-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--sesapi-primary), var(--sesapi-secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 36px;
        }
        
        .login-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--sesapi-dark);
            margin-bottom: 8px;
        }
        
        .login-subtitle {
            color: #6c757d;
            font-size: 0.95rem;
        }
        
        .form-label {
            font-weight: 500;
            color: var(--sesapi-dark);
            margin-bottom: 8px;
        }
        
        .form-control, .form-select {
            border: 2px solid #e9ecef;
            border-radius: 10px;
            padding: 12px 15px;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--sesapi-primary);
            box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.15);
        }
        
        .form-control::placeholder {
            color: #adb5bd;
        }
        
        .input-group-text {
            background: var(--sesapi-light);
            border: 2px solid #e9ecef;
            border-right: none;
            border-radius: 10px 0 0 10px;
            color: var(--sesapi-primary);
            padding: 12px 15px;
        }
        
        .input-group .form-control {
            border-left: none;
            border-radius: 0 10px 10px 0;
        }
        
        .btn-login {
            background: linear-gradient(135deg, var(--sesapi-primary), var(--sesapi-secondary));
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1.1rem;
            width: 100%;
            transition: all 0.3s;
        }
        
        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0,102,204,0.3);
            color: white;
        }
        
        .login-footer {
            text-align: center;
            margin-top: 25px;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }
        
        .login-footer a {
            color: var(--sesapi-primary);
            text-decoration: none;
            font-weight: 500;
        }
        
        .login-footer a:hover {
            text-decoration: underline;
        }