* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

.acesso-container {

    position: fixed !important;

    top: 20px !important;

    right: 20px !important;

    z-index: 10000 !important;

    width: auto;

    margin: 0 !important;

    padding: 0 !important;

}

.btn-sair {

    background: linear-gradient(135deg, rgba(220, 53, 69, 0.25) 0%, rgba(220, 53, 69, 0.15) 100%) !important;

    border: 2px solid rgba(220, 53, 69, 0.4) !important;

    border-radius: 30px !important;

    padding: 12px 28px !important;

    color: #fff !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    cursor: pointer !important;

    backdrop-filter: blur(15px) !important;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(220, 53, 69, 0.1) inset !important;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;

    text-transform: lowercase !important;

    letter-spacing: 0.5px !important;

    min-width: 100px !important;

    text-align: center !important;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;

    margin: 0 !important;

    outline: none !important;

}

.btn-sair:hover {

    background: linear-gradient(135deg, rgba(220, 53, 69, 0.35) 0%, rgba(220, 53, 69, 0.25) 100%) !important;

    border-color: rgba(220, 53, 69, 0.6) !important;

    transform: translateY(-3px) scale(1.05) !important;

    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3), 0 0 0 1px rgba(220, 53, 69, 0.2) inset !important;

}

.btn-sair:active {

    transform: translateY(-1px) scale(1.02) !important;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;

}

body {

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    min-height: 100vh;

    padding: 20px;

    color: #333;

    position: relative;

    /* Margens laterais para não sobrepor os banners fixos */

    padding-left: 200px;

    padding-right: 200px;

    /* Padding inferior removido (banner do rodapé oculto) */

}

/* Wrapper principal que contém os banners e o conteúdo */

.main-wrapper {

    max-width: 1200px;

    margin: 0 auto;

    width: 100%;

}

.container {

    max-width: 100%;

    margin: 0;

    position: relative;

    z-index: 1;

}

/* Divs laterais para anúncios */

.ad-sidebar {

    position: fixed;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 160px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

}

.ad-sidebar.ad-left {

    left: 20px;

}

.ad-sidebar.ad-right {

    right: 20px;

}

.ad-sidebar a {

    display: block;

    text-decoration: none;

}

.ad-sidebar img {

    display: block;

    max-width: 100%;

    height: auto;

}



header {

    text-align: center;

    color: white;

    margin-bottom: 30px;

    position: relative;

}

.vip-welcome {

    margin-bottom: 15px;

    padding: 10px 20px;

    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.2) 100%);

    border: 2px solid rgba(255, 215, 0, 0.4);

    border-radius: 15px;

    display: inline-block;

}

.vip-welcome p {

    color: #ff8c00;

    font-size: 18px;

    font-weight: 700;

    margin: 0;

    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);

    letter-spacing: 0.5px;

}

.header-top {

    display: flex;

    justify-content: center;

    margin-bottom: 15px;

}



.language-selector {

    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    justify-content: center;

    align-items: center;

    background: rgba(255, 255, 255, 0.1);

    padding: 12px 20px;

    border-radius: 30px;

    backdrop-filter: blur(10px);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

}



.flag-btn {

    background: rgba(255, 255, 255, 0.15);

    border: 3px solid transparent;

    border-radius: 50%;

    width: 48px;

    height: 48px;

    font-size: 32px;

    line-height: 1;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    overflow: visible;

    position: relative;

    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'EmojiOne Color', 'Android Emoji', 'Twemoji Mozilla', sans-serif;

    text-rendering: optimizeLegibility;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    font-feature-settings: "liga" 1, "calt" 1;

    color: inherit;

    -webkit-text-size-adjust: 100%;

    /* Forçar emoji - ocultar qualquer texto que não seja emoji */

    text-transform: none !important;

}

/* Ocultar texto ASCII nos botões de bandeira */

.flag-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.flag-btn * {

    pointer-events: none;

}



.flag-btn:hover {

    background: rgba(255, 255, 255, 0.25);

    transform: scale(1.2);

    border-color: rgba(255, 255, 255, 0.7);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

}



.flag-btn.active {

    background: rgba(255, 255, 255, 0.35);

    border-color: white;

    box-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 4px 12px rgba(0, 0, 0, 0.3);

    transform: scale(1.15);

}



.flag-btn:active {

    transform: scale(1.05);

}



header h1 {

    font-size: 2.5em;

    margin-bottom: 10px;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);

}



.subtitle {

    font-size: 1.2em;

    opacity: 0.9;

}



.calculator-section {

    background: white;

    border-radius: 15px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);

    padding: 30px;

    margin-bottom: 20px;

}



.form-group h2 {

    color: #667eea;

    margin-bottom: 20px;

    font-size: 1.5em;

}



.input-row {

    margin-bottom: 20px;

}



.input-row label {

    display: block;

    margin-bottom: 8px;

    font-weight: 600;

    color: #555;

}



.input-row input,

.input-row select {

    width: 100%;

    padding: 12px;

    border: 2px solid #e0e0e0;

    border-radius: 8px;

    font-size: 16px;

    transition: border-color 0.3s;

}



.input-row input:focus,

.input-row select:focus {

    outline: none;

    border-color: #667eea;

}



.power-input-group {

    display: flex;

    gap: 10px;

    align-items: stretch;

}



.power-input-group input {

    flex: 1;

    margin: 0;

}



.power-unit-select {

    width: auto !important;

    min-width: 100px;

    flex-shrink: 0;

}



.hint {

    display: block;

    margin-top: 5px;

    font-size: 0.85em;

    color: #888;

}



.btn-calculate {

    width: 100%;

    padding: 15px;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    border: none;

    border-radius: 8px;

    font-size: 18px;

    font-weight: 600;

    cursor: pointer;

    transition: transform 0.2s, box-shadow 0.2s;

    margin-top: 10px;

}



.btn-calculate:hover {

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);

}



.btn-calculate:active {

    transform: translateY(0);

}



.results-section {

    margin-top: 30px;

    padding-top: 30px;

    border-top: 2px solid #e0e0e0;

}



.results-section h2 {

    color: #667eea;

    margin-bottom: 20px;

    font-size: 1.5em;

}



.results-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    gap: 20px;

    margin-bottom: 30px;

}



.result-card {

    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);

    padding: 20px;

    border-radius: 12px;

    text-align: center;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    transition: transform 0.3s;

}



.result-card:hover {

    transform: translateY(-5px);

}



.result-card h3 {

    color: #667eea;

    margin-bottom: 15px;

    font-size: 1.1em;

}



.result-value {

    font-size: 1.8em;

    font-weight: bold;

    color: #333;

    margin-bottom: 10px;

}



.result-usd {

    font-size: 1.1em;

    color: #28a745;

    margin-bottom: 5px;

}



.result-brl,

.result-regional {

    font-size: 1.1em;

    color: #007bff;

}



.regional-currency-select {

    width: 100%;

}



.info-table {

    background: #f8f9fa;

    padding: 20px;

    border-radius: 12px;

    margin-top: 20px;

}



.info-table h3 {

    color: #667eea;

    margin-bottom: 15px;

}



.info-table table {

    width: 100%;

}



.info-table td {

    padding: 10px;

    border-bottom: 1px solid #e0e0e0;

}



.info-table td:first-child {

    font-weight: 600;

    color: #555;

    width: 40%;

}



.info-table td:last-child {

    color: #333;

}



/* Seletor de idiomas visível em todas as versões */

@media (max-width: 768px) {

    header h1 {

        font-size: 2em;

    }



    .calculator-section {

        padding: 20px;

    }



    .results-grid {

        grid-template-columns: 1fr;

    }



    .power-input-group {

        flex-direction: column;

    }



    .power-unit-select {

        width: 100% !important;

        min-width: auto;

    }

    

    /* Ocultar divs laterais em dispositivos móveis por padrão */

    .ad-sidebar {

        display: none;

        position: fixed;

        top: 50%;

        transform: translateY(-50%);

        z-index: 1001;

        max-width: 90vw;

        width: 160px;

    }

    /* Mostrar banners quando ativados no mobile */

    .ad-sidebar.mobile-active {

        display: flex;

    }

    /* Posições ajustadas para mobile (serão sobrescritas abaixo) */

    /* Botão flutuante para abrir banners no mobile */

    .mobile-banner-toggle {

        display: none !important; /* Oculto no desktop - forçado */

    }

    .mobile-banner-overlay {

        display: none;

    }

    

    /* Remover margens laterais em dispositivos móveis */

    body {

        padding-left: 20px;

        padding-right: 20px;

        /* Padding inferior removido (banner do rodapé oculto) */

    }

}

/* Banner Promocional Rodapé Fixo */

.footer-banner-fixed {

    display: none; /* Oculto por padrão */

    position: fixed;

    bottom: 0;

    left: 200px; /* Respeita o espaço do banner lateral esquerdo */

    width: calc(100% - 400px); /* Subtrai 200px de cada lado (400px total) */

    z-index: 1000;

    background: transparent; /* Fundo transparente */

    backdrop-filter: none;

    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);

    padding: 10px 0;

    justify-content: center;

}

.footer-banner-link {

    display: block;

    max-width: 1200px; /* Mesma largura máxima do corpo do site */

    width: 100%;

    padding: 0 20px;

    text-decoration: none;

    transition: transform 0.3s ease, opacity 0.3s ease;

}

.footer-banner-link:hover {

    transform: translateY(-3px);

    opacity: 0.95;

}

.footer-banner-img {

    width: 100%;

    height: auto;

    display: block;

    max-height: 130px;

    object-fit: contain;

    border-radius: 8px;

    transition: box-shadow 0.3s ease;

}

.footer-banner-link:hover .footer-banner-img {

    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);

}

@media (max-width: 768px) {

    .footer-banner-fixed {

        left: 0;

        width: 100%;

        padding: 8px 0;

    }

    .footer-banner-link {

        padding: 0 1rem;

    }

    .footer-banner-img {

        max-height: 100px;

    }

    /* Botão flutuante para banners laterais - Mobile */

    .mobile-banner-toggle {

        display: none !important; /* Oculto no mobile - forçado */

        position: fixed;

        right: 20px;

        bottom: 180px; /* Acima do banner do rodapé */

        width: 56px;

        height: 56px;

        border-radius: 50%;

        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

        border: none;

        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

        cursor: pointer;

        z-index: 1000;

        align-items: center;

        justify-content: center;

        transition: all 0.3s ease;

    }

    .mobile-banner-toggle:hover,

    .mobile-banner-toggle:active {

        transform: scale(1.1);

        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);

    }

    .mobile-banner-toggle .toggle-icon {

        font-size: 24px;

    }

    /* Overlay para fechar banners no mobile */

    .mobile-banner-overlay {

        display: none;

        position: fixed;

        top: 0;

        left: 0;

        right: 0;

        bottom: 0;

        background: rgba(0, 0, 0, 0.5);

        z-index: 1000;

        backdrop-filter: blur(2px);

    }

    .mobile-banner-overlay.active {

        display: block;

    }

    /* Ajustar posição dos banners no mobile quando ativos */

    .ad-sidebar.ad-left.mobile-active {

        left: 10px;

        transform: translateY(-50%);

    }

    .ad-sidebar.ad-right.mobile-active {

        right: 10px;

        transform: translateY(-50%);

    }

}



