@import url('brand.css');

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

@media (max-width: 1024px) {
    body.auth-page {
        align-items: center;
        justify-content: center;
        padding: max(12px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));
        min-height: 100dvh;
        overflow-y: auto;
    }

    .auth-wrap {
        margin: auto 0;
    }

    .auth-card {
        padding: 24px 20px;
    }

    .auth-form input,
    .auth-form select {
        font-size: 16px;
        min-height: 48px;
    }

    .btn-entrar,
    .btn-link {
        min-height: 48px;
    }

    .btn-eye {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Banner instalar app */
.systech-install-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--systech-surface);
    border-top: 1px solid #333;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.systech-install-bar.visivel {
    display: flex;
}

.systech-install-bar p {
    flex: 1;
    font-size: 12px;
    color: #aaa;
    line-height: 1.4;
}

.systech-install-bar strong {
    color: var(--systech-primary);
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.systech-install-bar button {
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.systech-install-bar .btn-instalar {
    background: var(--systech-primary);
    color: #fff;
}

.systech-install-bar .btn-fechar {
    background: #333;
    color: #ccc;
}

@media (min-width: 1025px) {
    .systech-install-bar { display: none !important; }
}
