:root {
    /* Colors - Updated Primary Orange */
    --c-primary: #ff5022;
    --c-primary-hover: #e84419;
    --c-primary-light: rgba(255, 80, 34, 0.1);
    --c-primary-glow: rgba(255, 80, 34, 0.4);
    --c-secondary: #0a2540;
    --c-text-main: #3a3a3a;
    --c-text-light: #425466;
    --c-bg-page: #f6f9fc;
    --c-bg-white: #ffffff;
    --c-border: #e6ebf1;
    --c-success: #32d583;
    --c-danger: #ef4444;
    --c-accent: #ff7a50;

    /* Spacing */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 48px;
    --sp-xxl: 80px;

    /* Shadows */
    --shadow-sm: 0 2px 5px -1px rgba(50, 50, 93, 0.25), 0 1px 3px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 6px 12px -2px rgba(50, 50, 93, 0.25), 0 3px 7px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 13px 27px -5px rgba(50, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 80, 34, 0.3);

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--c-text-main);
    background-color: var(--c-bg-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--c-secondary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

/* Header */
.site-header {
    background: var(--c-bg-white);
    padding: var(--sp-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--c-border);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-md);
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--c-secondary);
    margin-right: auto;
    /* Push nav to center or right if needed */
}

.logo .highlight {
    color: var(--c-primary);
}

.site-header nav {
    display: flex;
    align-items: center;
}

.site-header nav a {
    margin-left: var(--sp-lg);
    font-weight: 500;
    color: var(--c-text-light);
    font-size: 0.95rem;
}

.site-header nav a:hover {
    color: var(--c-primary);
}

/* User Profile in Header - FIXED LAYOUT */
.user-profile {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-left: var(--sp-lg);
    padding-left: var(--sp-lg);
    border-left: 1px solid var(--c-border);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--c-border);
    transition: border-color 0.2s;
}

.user-avatar:hover {
    border-color: var(--c-primary);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text-main);
}

.logout-link {
    font-size: 0.75rem;
    color: var(--c-text-light);
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.logout-link:hover {
    color: var(--c-danger);
}

/* Hero */
.hero {
    padding: var(--sp-xxl) 0;
    background: radial-gradient(circle at top right, #f4f7fb 0%, #ffffff 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--sp-md);
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--c-text-light);
    max-width: 600px;
    margin: 0 auto var(--sp-xl);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--sp-lg);
    height: 48px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--c-primary);
    color: white;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    background-color: var(--c-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.btn-secondary {
    background-color: var(--c-primary-light);
    color: var(--c-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 80, 34, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text-light);
    height: 32px;
    padding: 0 var(--sp-md);
    font-size: 0.85rem;
}

.btn-outline:hover {
    border-color: var(--c-text-light);
    color: var(--c-text-main);
}

.btn-text {
    background: transparent;
    color: var(--c-text-light);
}

.btn-text:hover {
    color: var(--c-text-main);
}

.full-width {
    width: 100%;
}

/* Sections */
section {
    padding: var(--sp-xxl) 0;
}

.section-gray {
    background-color: var(--c-bg-page);
}

.section-white {
    background-color: var(--c-bg-white);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--sp-sm);
}

.section-header p {
    color: var(--c-text-light);
}

/* Mind Map */
.mindmap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
}

.flow-step {
    background: var(--c-bg-white);
    padding: var(--sp-md) var(--sp-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--c-border);
    min-width: 200px;
}

.flow-step h3 {
    font-size: 1rem;
    margin-bottom: var(--sp-xs);
    color: var(--c-primary);
}

.flow-step p {
    font-size: 0.9rem;
    color: var(--c-text-light);
}

.flow-step .detail {
    font-size: 0.8rem;
    color: var(--c-text-light);
    opacity: 0.8;
}

.flow-connector {
    width: 2px;
    height: 30px;
    background-color: var(--c-border);
}

.flow-branches {
    display: flex;
    gap: var(--sp-xl);
    justify-content: center;
}

.branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-connector-vertical {
    width: 2px;
    height: 20px;
    background-color: var(--c-border);
}

.step-content.condition {
    background: #eef2f6;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius-sm);
    text-align: center;
    margin-bottom: 0;
}

.step-content.action {
    background: var(--c-bg-white);
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    text-align: center;
    max-width: 250px;
}

/* Simulation Grid */
.simulation-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-lg);
    align-items: start;
}

@media (max-width: 768px) {
    .simulation-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--c-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--sp-lg);
    border: 1px solid var(--c-border);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--sp-lg);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid var(--c-border);
}

/* Forms & Tables */
.form-group {
    margin-bottom: var(--sp-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--sp-xs);
    color: var(--c-text-light);
}

input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.2s;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px var(--c-primary-light);
}

.table-container {
    margin-bottom: var(--sp-lg);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th {
    text-align: left;
    padding: var(--sp-sm);
    color: var(--c-text-light);
    font-weight: 600;
    border-bottom: 1px solid var(--c-border);
}

td {
    padding: var(--sp-sm);
    border-bottom: 1px solid var(--c-border);
}

.input-cell {
    width: 80px;
}

.action-cell {
    text-align: center;
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-text-light);
    font-size: 1.2rem;
}

.btn-icon:hover {
    color: var(--c-danger);
}

/* Chart */
.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: var(--sp-md);
    margin-top: var(--sp-md);
    font-size: 0.85rem;
    color: var(--c-text-light);
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}

.dot-blue {
    background-color: var(--c-primary);
}

.dot-green {
    background-color: var(--c-success);
}

.dot-gray {
    background-color: #ccc;
}

/* Results */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
    margin-bottom: var(--sp-lg);
}

.summary-card {
    background: var(--c-bg-white);
    padding: var(--sp-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.summary-card .label {
    display: block;
    font-size: 0.85rem;
    color: var(--c-text-light);
    margin-bottom: var(--sp-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-card strong {
    font-size: 1.5rem;
    color: var(--c-secondary);
}

.empty-state {
    text-align: center;
    color: var(--c-text-light);
    padding: var(--sp-lg);
    font-style: italic;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--sp-xl) 0;
    color: var(--c-text-light);
    font-size: 0.9rem;
}

code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}

/* ============================================ */
/* Authentication Styles - Modern Login */
/* ============================================ */

/* Login Overlay with Background Image */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

/* Background Layer with Image */
.login-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imagebackground.png');
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(2px) brightness(0.7);
    transform: scale(1.1);
    z-index: -2;
}

/* Grain Effect Overlay */
.login-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: -1;
}

.login-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    display: none;
}

/* Login Card - Glassmorphism Style */
.login-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--sp-xl);
    border-radius: var(--radius-xl);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        var(--shadow-glow);
    text-align: center;
    max-width: 420px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: cardSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

/* Card Glow Effect */
.login-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent), var(--c-primary));
    border-radius: calc(var(--radius-xl) + 2px);
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.02);
    }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-card .logo {
    font-size: 1.75rem;
    margin-bottom: var(--sp-md);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.login-card .logo .highlight {
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-card h2 {
    margin: var(--sp-md) 0 var(--sp-sm);
    color: var(--c-secondary);
    font-size: 1.75rem;
    font-weight: 700;
}

.login-card p {
    color: var(--c-text-light);
    margin-bottom: var(--sp-lg);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Google Sign-In Button - Premium Style */
.btn-google {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #3c4043;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-family: 'Inter', 'Roboto', sans-serif;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 52px;
    border-radius: 12px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.btn-google::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 80, 34, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-google:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f2 100%);
    box-shadow:
        0 4px 12px rgba(255, 80, 34, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: var(--c-primary);
    transform: translateY(-2px);
}

.btn-google:hover::before {
    left: 100%;
}

.btn-google:active {
    transform: translateY(0);
    background: #f1f3f4;
}

.btn-google svg {
    flex-shrink: 0;
}

/* Error Message */
.error-message {
    color: var(--c-danger) !important;
    font-size: 0.9rem;
    margin-top: var(--sp-md);
    min-height: 20px;
    font-weight: 500;
    padding: var(--sp-sm) var(--sp-md);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-sm);
    display: none;
}

.error-message:not(:empty) {
    display: block;
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Unauthorized Screen */
.unauthorized-card {
    max-width: 480px;
}

.unauthorized-icon {
    font-size: 4rem;
    margin-bottom: var(--sp-md);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.unauthorized-email {
    font-weight: 600;
    color: var(--c-text-main) !important;
    background: var(--c-bg-page);
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--sp-md) !important;
    word-break: break-all;
}

/* Loading State */
.btn-google.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-google.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 80, 34, 0.2);
    border-top: 2px solid var(--c-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Security: Content Visibility */
main.secure-hidden {
    display: none !important;
}

/* ============================================ */
/* Android & Mobile Optimizations */
/* ============================================ */

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 12px 24px;
    }

    .btn-google {
        min-height: 52px;
    }

    input[type="number"] {
        min-height: 48px;
        font-size: 16px;
        /* Prevents zoom on iOS/Android */
    }

    .btn-icon {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Mobile-first responsive adjustments */
@media (max-width: 768px) {
    :root {
        --sp-lg: 20px;
        --sp-xl: 32px;
        --sp-xxl: 48px;
    }

    body {
        font-size: 15px;
    }

    .login-overlay::before {
        filter: blur(12px) brightness(0.65);
    }

    .login-card {
        padding: var(--sp-lg);
        margin: var(--sp-md);
        width: calc(100% - var(--sp-lg) * 2);
        max-width: 380px;
        border-radius: var(--radius-lg);
    }

    .login-card::before {
        filter: blur(10px);
    }

    .login-card h2 {
        font-size: 1.5rem;
    }

    .login-card .logo {
        font-size: 1.5rem;
    }

    .site-header .container {
        flex-wrap: wrap;
        padding: 0 var(--sp-md);
    }

    .user-profile {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        width: 100%;
        justify-content: flex-end;
        margin-top: var(--sp-md);
    }

    .hero {
        padding: var(--sp-xl) 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--sp-sm);
        width: 100%;
        padding: 0 var(--sp-md);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .summary-cards {
        grid-template-columns: 1fr;
        gap: var(--sp-sm);
    }

    .flow-branches {
        flex-direction: column;
        gap: var(--sp-md);
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 500px;
    }
}

/* Small phones */
@media (max-width: 375px) {
    .login-card {
        padding: var(--sp-md);
    }

    .login-card h2 {
        font-size: 1.35rem;
    }

    .btn-google {
        font-size: 0.9rem;
        gap: 8px;
    }
}

/* Landscape mode on phones */
@media (max-height: 500px) and (orientation: landscape) {
    .login-card {
        padding: var(--sp-md);
        margin: var(--sp-sm);
    }

    .login-card h2 {
        margin: var(--sp-sm) 0;
        font-size: 1.25rem;
    }

    .login-card p {
        margin-bottom: var(--sp-md);
        font-size: 0.85rem;
    }

    .btn-google {
        height: 44px;
    }
}

/* Safe area insets for notched devices */
@supports (padding: max(0px)) {
    .login-overlay {
        padding: max(var(--sp-md), env(safe-area-inset-top)) max(var(--sp-md), env(safe-area-inset-right)) max(var(--sp-md), env(safe-area-inset-bottom)) max(var(--sp-md), env(safe-area-inset-left));
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .login-card {
        border: 2px solid var(--c-secondary);
    }

    .btn-google {
        border: 2px solid #3c4043;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .login-card,
    .login-card::before,
    .btn-google,
    .btn-google::before {
        animation: none;
        transition: none;
    }
}

/* ============================================ */
/* Brisanet Logo & Institutional Text */
/* ============================================ */

/* Container para logo da Brisanet - posicionada acima do card */
.brisanet-logo-container {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: logoFadeIn 0.8s ease-out;
    /* Impedir seleção */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

.brisanet-logo {
    width: clamp(180px, 25vw, 320px);
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    /* Impedir arrastar imagem */
    -webkit-user-drag: none;
    pointer-events: none;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Texto institucional no canto inferior esquerdo */
.institutional-text {
    position: absolute;
    bottom: 25px;
    left: 25px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(0.9rem, 1.8vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
    z-index: 10;
    animation: textFadeIn 1s ease-out 0.3s both;
    /* Impedir seleção */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para a logo e texto */
@media (max-width: 768px) {
    .brisanet-logo-container {
        top: 3%;
    }

    .brisanet-logo {
        width: clamp(140px, 40vw, 200px);
    }

    .institutional-text {
        bottom: 18px;
        left: 18px;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 375px) {
    .brisanet-logo-container {
        top: 2%;
    }

    .brisanet-logo {
        width: 130px;
    }

    .institutional-text {
        bottom: 12px;
        left: 12px;
        font-size: 0.65rem;
    }
}

/* Landscape mode adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .brisanet-logo-container {
        top: 2%;
    }

    .brisanet-logo {
        width: clamp(100px, 15vw, 150px);
    }

    .institutional-text {
        bottom: 10px;
        left: 15px;
        font-size: 0.6rem;
    }
}

/* Ajuste para o layout do login overlay com a logo */
.login-overlay {
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}