/*
Theme Name: Account Hub Theme
Theme URI: https://example.com/account-hub-theme
Author: Account Hub
Author URI: https://example.com
Description: A lightweight, mobile-first companion theme for Account Hub Manager.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: account-hub-theme
License: GPLv2 or later
*/

:root {
	color-scheme: light;
}

html {
	margin: 0 !important;
	background: #f2f4f7;
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	min-height: 100vh;
	margin: 0;
	background: #f2f4f7;
	color: #111318;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.admin-bar {
	min-height: calc(100vh - 32px);
}

.amh-theme-main {
	width: min(100%, 780px);
	min-height: 100vh;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 0 42px rgba(30, 38, 52, .08);
}

.amh-theme-main > .amh-app {
	min-height: inherit;
}

.amh-theme-fallback {
	width: min(100% - 40px, 680px);
	margin: 80px auto;
	padding: 32px;
	border: 1px solid #dfe3e8;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 45px rgba(30, 38, 52, .1);
}

.amh-theme-fallback h1 {
	margin-top: 0;
}

.amh-theme-fallback a {
	display: inline-block;
	margin-top: 12px;
	padding: 11px 17px;
	border-radius: 10px;
	background: #0866ff;
	color: #fff;
	font-weight: 650;
	text-decoration: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 6px 25px rgba(0, 0, 0, .2);
}

@media (max-width: 782px) {
	body.admin-bar {
		min-height: calc(100vh - 46px);
	}
}

@media (max-width: 780px) {
	html,
	body,
	.amh-theme-main {
		background: #fff;
	}

	.amh-theme-main {
		box-shadow: none;
	}
}
