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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    font-size: 1.5rem; /* Increased base font size */
}

.terminal {
    width: 100%;
    max-width: 1200px; /* Increased from 800px */
    height: 900px; /* Increased from 600px */
    background-color: #000;
    border: 1.5px solid #fff; /* Increased border width */
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.terminal-header {
    padding: 15px; /* Increased from 10px */
    border-bottom: 1.5px solid #fff;
    display: flex;
    align-items: center;
    gap: 15px; /* Increased from 10px */
}

.logo {
    height: 45px; /* Increased from 30px */
    width: auto;
}

.title {
    font-size: 21px; /* Increased from 14px */
}

#terminal-output {
    flex-grow: 1;
    padding: 22px; /* Increased from 15px */
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.2;
}

.terminal-input {
    padding: 22px; /* Increased from 15px */
    display: flex;
    gap: 12px; /* Increased from 8px */
    border-top: 1.5px solid #fff;
}

.prompt {
    color: #fff;
}

input {
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: inherit;
    flex-grow: 1;
    outline: none;
}

.output-line {
    margin-bottom: 6px; /* Increased from 4px */
}

@media (max-width: 600px) {
    .terminal {
        height: 100vh;
        border: none;
    }
    
    body {
        padding: 0;
    }
}

* {
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;     /* Firefox */
}

::-webkit-scrollbar {         /* Chrome, Safari e Opera */
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    display: none;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available; /* para iOS */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    font-size: 16px;
}

/* Correção para iOS */
html {
    height: -webkit-fill-available;
}

.terminal {
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    background-color: #000;
    border: 1.5px solid #fff;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.terminal-header {
    padding: 10px;
    border-bottom: 1.5px solid #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
}

.logo {
    height: 30px;
    width: auto;
}

.title {
    font-size: 16px;
}

#terminal-output {
    flex: 1 1 auto;
    padding: 15px;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.2;
    -webkit-overflow-scrolling: touch;
}

.terminal-input {
    padding: 10px;
    display: flex;
    gap: 8px;
    border-top: 1.5px solid #fff;
    min-height: 45px;
    position: relative;
    background-color: #000;
}

.prompt {
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}

input {
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    outline: none;
    padding: 0;
}

.output-line {
    margin-bottom: 4px;
}

/* Media Queries */
@media (min-width: 768px) {
    body {
        padding: 20px;
        font-size: 1.2rem;
    }

    .terminal {
        max-width: 1200px;
        height: 80vh;
        position: relative;
        border-radius: 5px;
    }

    .terminal-header {
        padding: 15px;
    }

    .logo {
        height: 40px;
    }

    .title {
        font-size: 18px;
    }

    .prompt, input {
        font-size: 16px;
    }
}

/* Ajustes para teclado virtual */
@media (max-height: 600px) {
    .terminal-header {
        padding: 5px;
        min-height: 40px;
    }

    .logo {
        height: 25px;
    }

    #terminal-output {
        padding: 10px;
    }

    .terminal-input {
        min-height: 35px;
        padding: 5px 10px;
    }
}

/* Prevenir zoom em inputs no iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) { 
    select,
    textarea,
    input {
        font-size: 16px;
    }
}
