body {
    -webkit-text-size-adjust: none;
    font-family:Helvetica;
    background:#1F1F1F;
    overflow:hidden;
    font-weight: normal;
    margin:0px;
    left:0px;
    padding:0px;
}

body#information {
    overflow:auto;
}

div {
    visibility: hidden;
    background: #4F2F2F;
    position:absolute;
    margin:0px;
    left:0px;
    padding:0px;
    width:100%;
}

table {
    left:0px;
    width:100%;
}

label {
    -webkit-appearance: none;
    width:100%;
    font-size: 16px;
    color: #AAAAAA;
    margin:0px;
    left:0px;
    padding:0px;

}

label#status {
    -webkit-appearance: none;
    font-size: 12px;
    color: #666666;
}


textarea {
    -webkit-appearance: none;
    background-color: #AFAFAF;
    color: #000000;
    border: 0px solid;
    -moz-border-radius:8px;
    border-radius:8px;
    font-size: 18px;
    position: fixed;
    visibility: hidden;
    margin:0px;
    left:0px;
    right:0px;
    padding: 8px;
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
    /* iOS smooth momentum scrolling */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
    touch-action: manipulation;
}

select,input {
    -webkit-appearance: none;
    background-color: #6F6F6F;
    color: #FFFFFF;
    border: 0px solid;
    -moz-border-radius:8px;
    border-radius:8px;
    font-size: 16px;
    padding: 3px;
    width:100%;
}

/* Modern iOS optimizations */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific fixes */
    body {
        /* Prevent pull-to-refresh bounce on body */
        overscroll-behavior-y: none;
        /* Prevent body scroll */
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    textarea {
        /* Prevent iOS from shrinking font size */
        font-size: max(16px, 18px);

        /* Prevent iOS zoom on focus */
        -webkit-text-size-adjust: 100%;

        /* Force GPU acceleration for smoother scrolling */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);

        /* Explicit scroll container */
        min-height: 100px;
    }

    /* Safe area support for iPhone X+ */
    @supports (padding: max(0px)) {
        #displayText {
            padding-left: max(8px, env(safe-area-inset-left));
            padding-right: max(8px, env(safe-area-inset-right));
            padding-bottom: max(8px, env(safe-area-inset-bottom));
        }
    }
}
