/* --- Configurações Globais --- */
body {
    margin: 0;
    font-family: sans-serif;
    overflow: hidden; /* Impede barras de rolagem */
}

#time-travel-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

#time-travel-button:hover {
    background-color: #0056b3;
}

/* --- Camadas do Fundo --- */
#sky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, #87CEEB, #98D8E8); /* Gradiente padrão */
    z-index: -2;
}

#clouds-layer {
    width: 100%;
    height: 100%;
    background-image: url('../assets/clouds.svg');
    background-size: 2000px 100%;
    background-repeat: repeat-x;
    background-position: 0 0;
    opacity: 0.7;
    /* A animação move o background horizontalmente */
    animation: moveClouds 120s linear infinite;
}

#airplane-wall {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f0f2f5; /* Cor da parede interna do avião */
    z-index: -1;
    /* Aplica a máscara para criar transparência nas janelas */
    mask-image: url('../assets/windows-mask.svg');
    -webkit-mask-image: url('../assets/windows-mask.svg');
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    /* Inverte a máscara para que as janelas sejam transparentes */
    mask-composite: subtract;
    -webkit-mask-composite: subtract;
}

/* --- Animação das Nuvens --- */
@keyframes moveClouds {
    from {
        background-position-x: 0;
    }
    to {
        /* Usa um valor grande para garantir o loop em imagens largas */
        background-position-x: 2000px;
    }
}

/* --- Conteúdo Principal (Chat) --- */
.chat-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Estilos do seu chat aqui... */
    background-color: white;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 20px;
    z-index: 1;
}

.chat-container h1 {
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.chat-container p {
    color: #666;
    text-align: center;
    font-size: 16px;
}

@media screen and (min-width: 950px) {
    #bot_header_new_widget {
    background-image: url(https://cdn.in.bot/app-inbot-admin/bot-files/1254/header-max.jpg) !important;
}
}

@media screen and (max-width: 949px) {
    #box_chat {
        width: 460px !important;
    }
}

body {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            margin: 0;
            background-color: #f1c708;
             /* Um fundo suave para melhor visualização */
        }
        /* O script do Inbot irá criar o iframe, então não precisamos estilizar o iframe diretamente aqui,
           mas podemos garantir que o contêiner pai (body) o centralize. */
           .bot_box_chat.bot_widget_maximized {
            width: 950px !important;
            margin: auto !important;
           }

           #bot_close_chevron_down {
            display: none !important;
           }