/* Use one page background throughout the website in each theme. */
html:not([data-theme="dark"]) {
  --ui-page: #ffffff !important;
  --paper: #ffffff !important;
}

html[data-theme],
html[data-theme] body,
html[data-theme] body > header,
html[data-theme] body > main,
html[data-theme] body > footer,
html[data-theme] .top,
html[data-theme] .hero,
html[data-theme] .section,
html[data-theme] .demo,
html[data-theme] .security-wrap,
html[data-theme] .security,
html[data-theme] .app,
html[data-theme] .content,
html[data-theme] .sidebar,
html[data-theme] .visual,
html[data-theme] .auth-side,
html[data-theme] .login-side,
html[data-theme] .auth-dialog,
html[data-theme] .auth-modal-visual,
html[data-theme] .auth-modal-main,
html[data-theme] .download-page {
  background: var(--ui-page) !important;
}

html[data-page="admin"][data-theme] .top,
html[data-page="admin"][data-theme] .app,
html[data-page="admin"][data-theme] .content,
html[data-page="admin"][data-theme] .sidebar {
  background: var(--ui-page) !important;
}

html[data-theme] .hero::before,
html[data-theme] .hero::after,
html[data-theme] .workflow::before,
html[data-theme] .demo::before,
html[data-theme] .visual::before,
html[data-theme] .auth-modal-visual::before {
  display: none !important;
}

html[data-theme] .security,
html[data-theme] .security h2,
html[data-theme] .security-points strong,
html[data-theme] .visual,
html[data-theme] .visual h1,
html[data-theme] .auth-modal-visual,
html[data-theme] .auth-modal-copy h2 {
  color: var(--ui-text) !important;
}

html[data-theme] body > footer,
html[data-theme] .security-copy p,
html[data-theme] .security-points small,
html[data-theme] .visual-copy > p,
html[data-theme] .visual .points span,
html[data-theme] .visual-foot,
html[data-theme] .visual .foot,
html[data-theme] .auth-modal-copy p,
html[data-theme] .auth-benefits span,
html[data-theme] .auth-modal-foot {
  color: var(--ui-muted) !important;
}

html[data-theme] .visual h1 span,
html[data-theme] .auth-modal-copy small,
html[data-theme] .security-badge,
html[data-theme] .security-points i {
  color: var(--ui-accent) !important;
}

html[data-theme] .security-points span {
  border-color: var(--ui-border);
  background: var(--ui-surface);
}
