/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Appgain CRM shell (header/footer) */
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#content.site-main {
	flex: 1 0 auto;
}

body.appgain-crm-page {
	background: #f8fafc;
}

.ag-site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #ffffff;
	border-bottom: 1px solid #e2e8f0;
}

.ag-site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 18px;
	justify-content: space-between;
}

.ag-site-header__brand {
	color: #0f172a;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	display: inline-flex;
	align-items: center;
}

.ag-site-header__brand .custom-logo {
	max-height: 36px;
	width: auto;
}

.ag-site-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.ag-site-header__nav a,
.ag-site-footer__links a {
	color: #334155;
	text-decoration: none;
	font-size: 0.94rem;
}

.ag-site-header__nav a:hover,
.ag-site-footer__links a:hover {
	color: #0f172a;
	text-decoration: underline;
}

.ag-site-header__btn {
	display: inline-block;
	background: #0f172a;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 0.85rem;
}

.ag-site-header__btn:hover {
	background: #1e293b;
}

.ag-site-footer {
	margin-top: auto;
	border-top: 1px solid #e2e8f0;
	background: #ffffff;
}

.ag-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.ag-site-footer__copy {
	margin: 0;
	color: #64748b;
	font-size: 0.88rem;
}

.ag-site-footer__links {
	display: inline-flex;
	gap: 12px;
}

@media (max-width: 768px) {
	.ag-site-header__inner,
	.ag-site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Professional login page layout */
body.appgain-login-page .page-content {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.appgain-signup-page .page-content {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.appgain-reset-page .page-content {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.appgain-login-page #content.site-main {
	width: 100vw;
	max-width: 100vw;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

body.appgain-signup-page #content.site-main {
	width: 100vw;
	max-width: 100vw;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

body.appgain-reset-page #content.site-main {
	width: 100vw;
	max-width: 100vw;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

.appgain-login-shell {
	display: grid;
	grid-template-columns: 2fr 1fr;
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	min-height: 100vh;
	border-radius: 0;
	overflow: hidden;
	border: 0;
	background: #fff;
	box-shadow: none;
}

.appgain-login-panel {
	min-height: 520px;
}

.appgain-login-panel--visual {
	position: relative;
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.72)),
		url("/wp-content/uploads/2026/04/Login-page-scaled.jpeg") center/cover no-repeat;
}

body.appgain-signup-page .appgain-login-panel--visual {
	background:
		linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.62)),
		url("/wp-content/uploads/2026/04/Singup-Lady.webp") center/cover no-repeat;
}

.appgain-login-overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 32px 30px;
	color: #fff;
}

.appgain-login-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	opacity: 0.92;
}

.appgain-login-overlay h3 {
	margin: 0;
	font-size: clamp(1.25rem, 2vw, 1.8rem);
	line-height: 1.2;
}

.appgain-login-overlay p {
	margin: 10px 0 0;
	max-width: 38ch;
	color: rgba(255, 255, 255, 0.92);
}

.appgain-login-panel--form {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 32px;
	background:
		radial-gradient(900px 380px at 90% -10%, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0)),
		linear-gradient(180deg, #f8fbff 0%, #f4f7fc 100%);
}

.appgain-login-formbox {
	width: 100%;
	max-width: 440px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
	padding: 24px 22px 20px;
}

.appgain-login-panel--form h2 {
	margin: 0;
	font-size: 1.9rem;
	line-height: 1.15;
	color: #0f172a;
}

.appgain-login-sub {
	margin: 8px 0 22px;
	color: #64748b;
}

#appgain-loginform label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #334155;
}

#appgain-loginform input[type="text"],
#appgain-loginform input[type="password"],
#appgain-signupform input[type="text"],
#appgain-signupform input[type="email"],
#appgain-signupform input[type="password"],
#appgain-signupform input[type="number"],
#appgain-signupform textarea,
#appgain-reset-request input[type="text"],
#appgain-reset-form input[type="password"] {
	width: 100%;
	height: 44px;
	border-radius: 10px;
	border: 1px solid #cbd5e1;
	padding: 0 12px;
	box-sizing: border-box;
}

#appgain-signupform textarea {
	height: auto;
	min-height: 86px;
	padding: 10px 12px;
	resize: vertical;
}

#appgain-loginform input[type="text"]:focus,
#appgain-loginform input[type="password"]:focus,
#appgain-signupform input[type="text"]:focus,
#appgain-signupform input[type="email"]:focus,
#appgain-signupform input[type="password"]:focus,
#appgain-signupform input[type="number"]:focus,
#appgain-signupform textarea:focus,
#appgain-reset-request input[type="text"]:focus,
#appgain-reset-form input[type="password"]:focus {
	border-color: #0f172a;
	outline: 2px solid #cbd5e1;
	outline-offset: 0;
}

#appgain-loginform .login-remember {
	margin: 10px 0 16px;
}

#appgain-loginform .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 0.95rem;
	color: #334155;
	cursor: pointer;
}

#appgain-loginform .login-remember input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border: 1.5px solid #94a3b8;
	border-radius: 5px;
	background: #fff;
	display: inline-grid;
	place-content: center;
	margin: 0;
	cursor: pointer;
	transition: all 0.18s ease;
}

#appgain-loginform .login-remember input[type="checkbox"]::before {
	content: "";
	width: 10px;
	height: 10px;
	transform: scale(0);
	transition: 0.14s transform ease-in-out;
	background: #0f172a;
	clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 21%, 84% 7%, 39% 62%);
}

#appgain-loginform .login-remember input[type="checkbox"]:checked {
	border-color: #0f172a;
}

#appgain-loginform .login-remember input[type="checkbox"]:checked::before {
	transform: scale(1);
}

#appgain-loginform .login-remember input[type="checkbox"]:focus-visible {
	outline: 2px solid #bfdbfe;
	outline-offset: 2px;
}

#appgain-loginform .login-submit {
	margin: 0;
}

#appgain-signupform p {
	margin: 0 0 12px;
}

#appgain-signupform label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #334155;
}

#appgain-signupform .login-submit {
	margin: 8px 0 0;
}

#appgain-reset-request p,
#appgain-reset-form p {
	margin: 0 0 12px;
}

#appgain-reset-request label,
#appgain-reset-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	color: #334155;
}

#appgain-loginform .button,
.appgain-login-submit,
#appgain-signupform .button,
#appgain-reset-request .button,
#appgain-reset-form .button,
.appgain-login-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: #0f172a;
	color: #fff;
	border-radius: 10px;
	padding: 11px 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

#appgain-loginform .button:hover,
#appgain-signupform .button:hover,
#appgain-reset-request .button:hover,
#appgain-reset-form .button:hover,
.appgain-login-submit:hover {
	background: #1e293b;
}

.appgain-login-help {
	margin-top: 16px;
}

.appgain-login-help a {
	color: #be3455;
	text-decoration: none;
}

.appgain-login-help a:hover {
	text-decoration: underline;
}

.appgain-login-help--modern {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.appgain-login-help__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #0f172a;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.appgain-login-help__text p {
	margin: 0;
	color: #475569;
	font-size: 0.88rem;
}

.appgain-login-help__text a {
	font-size: 0.92rem;
	font-weight: 600;
}

.appgain-login-signup {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 12px;
	border-top: 1px dashed #cbd5e1;
}

.appgain-login-signup p {
	margin: 0;
	color: #475569;
	font-size: 0.9rem;
}

.appgain-auth-error {
	margin-bottom: 14px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #fecaca;
	background: #fff1f2;
}

.appgain-auth-error p {
	margin: 0;
	color: #9f1239;
	font-size: 0.89rem;
}

.appgain-auth-success {
	margin-bottom: 14px;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #86efac;
	background: #f0fdf4;
}

.appgain-auth-success p {
	margin: 0 0 6px;
	color: #14532d;
	font-size: 0.89rem;
}

.appgain-auth-success p:last-child {
	margin-bottom: 0;
}

.appgain-login-signup__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 9px;
	text-decoration: none;
	border: 1px solid #0f172a;
	color: #0f172a;
	font-weight: 600;
	font-size: 0.86rem;
}

.appgain-login-signup__btn:hover {
	background: #0f172a;
	color: #fff;
}

/* CRM typography: Inter is enqueued in Asset_Manager with the Appgain CSS bundle */
body.appgain-crm-page {
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.appgain-crm-page .ag-site-header,
body.appgain-crm-page .ag-site-footer {
	font-family: inherit;
}

/*
 * CRM dashboard lives inside Elementor/theme wrappers that sometimes set monospace on
 * form containers. Inherit alone pulls that into inputs — force the same stack as the header.
 */
body.appgain-crm-page #appgain-dashboard.appgain-crm,
body.appgain-crm-page #appgain-dashboard.appgain-crm * {
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important;
}

body.appgain-crm-page #appgain-dashboard.appgain-crm code,
body.appgain-crm-page #appgain-dashboard.appgain-crm pre,
body.appgain-crm-page #appgain-dashboard.appgain-crm kbd,
body.appgain-crm-page #appgain-dashboard.appgain-crm samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

body.appgain-crm-page #appgain-dashboard[data-appgain-view="profile"] h1,
body.appgain-crm-page #appgain-dashboard[data-appgain-view="profile"] h2,
body.appgain-crm-page #appgain-dashboard[data-appgain-view="profile_edit"] h1,
body.appgain-crm-page #appgain-dashboard[data-appgain-view="profile_edit"] h2 {
	letter-spacing: -0.01em;
}

@media (max-width: 940px) {
	.appgain-login-shell {
		grid-template-columns: 1fr;
		min-height: 100vh;
	}

	.appgain-login-panel--visual {
		min-height: 220px;
	}

	.appgain-login-panel {
		min-height: auto;
	}

	.appgain-login-panel--form {
		padding: 24px 18px 28px;
	}

	.appgain-login-formbox {
		padding: 20px 16px 16px;
	}
}
