:root {
    --app-list-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --app-list-font-size: 13px;
    --app-list-line-height: 1.25;
    --app-list-letter-spacing: 0.005em;
    --app-list-color: #111827;
}

body {
    margin: 0;
    font-family: var(--app-list-font-family);
	background: #f4f6fb;
    color: #1f2937;
}

body.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}

h2 {
	margin:2px;
	
}
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    color: #fff;
    padding: 5px 15px;
}

.menu-icon {
    margin-right: 15px;
    cursor: pointer;
	padding: 6px;
    border-radius: 8px;
    color: #cbd5f0;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}


.menu-icon-button {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: 1;
}

.entity-management-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.help-docs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.menu-icon.disabled {
    opacity: 0.4;
    cursor: default;
}

.menu-icon:not(.disabled):hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.menu-icon.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.35);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.6);
}

.menu-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.entity-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.entity-switcher-label {
    color: #d1d5db;
    font-weight: 600;
}

#entity-switcher,
#locale-switcher {
    background: #111827;
    color: #f9fafb;
    border: 1px solid #4b5563;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
}

#entity-switcher:focus,
#locale-switcher:focus {
    outline: 2px solid rgba(96, 165, 250, 0.6);
    outline-offset: 2px;
}

#app-content {
    padding: 10px 40px 40px;
}


#login-form {
    display: grid;
    gap: 12px;
}

.auth-card {
    width: min(420px, calc(100vw - 32px));
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}


#login-form .login-form-branding {
    width: 100%;
    margin: 0;
    padding: 0;	
}

#login-form .login-form-icon {
    display: block;
    width: min(320px, 100%);
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto;	
}

#login-form h2 {
    margin: 0;
    text-align: center;
    color: #0f172a;
}


#login-form label {
    display: block;
    font-weight: 600;
    color: #111827;
}

#login-form input {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 16px;
    box-sizing: border-box;
}

#login-form input:focus {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    border-color: #2563eb;
}

#login-form button {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#login-form button:hover {
    background: #1d4ed8;
}

#login-form + #login-error {
    margin: 10px 0 0;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 600px) {
.auth-card {
        margin: 32px 16px 0;
        padding: 18px;
    }

    #login-form .login-form-icon {
        width: min(260px, 100%);
        height: auto;
    }

    #login-form + #login-error {
        margin-top: 12px;
    }
}

.print-layout-root {
    position: fixed;
    top: 0;
    left: -9999px;
    width: 8.5in;
    min-height: 11in;
    background: #fff;
    color: #111827;
    z-index: -1;
}

.print-layout {
    width: 100%;
}

@media print {
    .print-layout-root {
        position: static;
        left: 0;
        width: auto;
        min-height: auto;
        z-index: auto;
    }
}
.sales-transaction-type-icon {
  align-items: center;
  background: #eef2ff;
  border-radius: 999px;
  color: #3730a3;
  display: inline-flex;
  height: 1.75rem;
  justify-content: center;
  margin-right: 0.5rem;
  width: 1.75rem;
}
