/*!
 * Nuso Giya - Guest Account Tab v2.0.0
 * Responsive, mobile-first e-commerce UI. Own ngat- prefix, isolated.
 * Breakpoints: base = phones, 600px = large phones/tablets, 900px = desktop.
 */

:root {
	--ngat-green: #1aa63c;
	--ngat-green-dark: #0f8a2f;
	--ngat-green-light: #2fc94f;
	--ngat-green-tint: #e6f7ec;
	--ngat-navy: #0b1f5c;
	--ngat-ink: #0b1f5c;
	--ngat-gray-600: #5b6478;
	--ngat-gray-400: #98a2b3;
	--ngat-gray-200: #e8ecef;
	--ngat-white: #fff;
	--ngat-radius: 999px;
	--ngat-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Page shell ---------- */
#ngat-wrapper {
	position: relative;
	overflow: hidden;
	min-height: 100vh;
	background: linear-gradient(180deg, #fff 0%, #f6fbf8 100%);
	font-family: var(--ngat-font);
	color: var(--ngat-ink);
	-webkit-font-smoothing: antialiased;
}
.ngat-root, .ngat-root * { box-sizing: border-box; }
.ngat-root {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 18px 16px 0;
}
.ngat-root img { max-width: 100%; display: block; }
.ngat-root a { text-decoration: none; color: inherit; }

/* ---------- Decorative leaves ---------- */
.ngat-leaf { position: absolute; z-index: 0; pointer-events: none; display: block; }
.ngat-leaf-tl { top: -50px; left: -60px; width: 190px; height: 150px; background: linear-gradient(135deg, #1aa63c, #7ddb6a); border-radius: 0 100% 0 100%; opacity: .9; }
.ngat-leaf-tr { top: 10px; right: -18px; width: 70px; height: 56px; background: linear-gradient(135deg, #b8f07a, #5fcf4a); border-radius: 100% 0 100% 0; transform: rotate(12deg); }
.ngat-leaf-bl { bottom: 40px; left: -70px; width: 190px; height: 120px; background: linear-gradient(135deg, #3fc24a, #0f8a2f); border-radius: 0 100% 0 0; opacity: .85; }
.ngat-leaf-br { bottom: 30px; right: -60px; width: 190px; height: 130px; background: linear-gradient(225deg, #1aa63c, #0b1f5c); border-radius: 100% 0 0 0; opacity: .85; }

/* ---------- Brand header ---------- */
.ngat-brand-head { display: flex; justify-content: center; padding: 6px 0 14px; }
.ngat-brand-link { display: flex; align-items: center; gap: 10px; }
.ngat-brand-icon { width: 62px; height: auto; flex-shrink: 0; }
.ngat-brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.ngat-brand-name { font-size: 40px; font-weight: 800; letter-spacing: -.5px; }
.ngat-navy { color: var(--ngat-navy); }
.ngat-green { color: var(--ngat-green-dark); }
.ngat-tagline { display: flex; align-items: center; gap: 6px; color: var(--ngat-green-dark); font-weight: 600; font-size: 12.5px; margin-top: 4px; white-space: nowrap; }
.ngat-tagline i { display: block; width: 16px; height: 2px; background: var(--ngat-green); border-radius: 2px; }

/* ---------- Card ---------- */
.ngat-card { width: 100%; padding: 6px 0 12px; text-align: center; }
.ngat-welcome-sub { font-size: 20px; font-weight: 700; line-height: 1.35; color: var(--ngat-navy); margin: 0 auto 22px; max-width: 360px; }

/* ---------- Buttons ---------- */
.ngat-btn {
	display: flex; align-items: center; width: 100%; min-height: 62px;
	padding: 0 14px 0 22px; margin: 0 0 14px; border-radius: var(--ngat-radius);
	font-size: 22px; font-weight: 700; cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.ngat-btn:active { transform: scale(.985); }
.ngat-btn-ico { width: 26px; height: 26px; flex-shrink: 0; }
.ngat-btn-sep { width: 1px; height: 28px; margin: 0 20px 0 18px; background: currentColor; opacity: .35; }
.ngat-btn-label { flex: 1; text-align: left; }
.ngat-btn-arrow { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ngat-btn-arrow svg { width: 20px; height: 20px; }

.ngat-btn-login { background: linear-gradient(180deg, var(--ngat-green-light), var(--ngat-green-dark)); color: #fff !important; box-shadow: 0 8px 18px rgba(26,166,60,.28); }
.ngat-btn-login .ngat-btn-arrow { background: rgba(255,255,255,.22); }
.ngat-btn-login:hover { filter: brightness(1.04); box-shadow: 0 10px 22px rgba(26,166,60,.36); }

.ngat-btn-register { background: #fff; color: var(--ngat-navy) !important; border: 2px solid var(--ngat-green); margin-bottom: 20px; }
.ngat-btn-register .ngat-btn-ico { color: var(--ngat-green-dark); }
.ngat-btn-register .ngat-btn-arrow { background: var(--ngat-green-dark); color: #fff; }
.ngat-btn-register:hover { background: var(--ngat-green-tint); }

/* ---------- Link list ---------- */
.ngat-links { background: #fff; border-radius: 20px; padding: 6px 14px; box-shadow: 0 6px 22px rgba(11,31,92,.06); text-align: left; }
.ngat-link-item { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--ngat-gray-200); color: var(--ngat-navy) !important; min-height: 56px; }
.ngat-link-item:last-child { border-bottom: 0; }
.ngat-link-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--ngat-green-tint); color: var(--ngat-green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ngat-link-icon svg { width: 24px; height: 24px; }
.ngat-link-label { flex: 1; font-size: 17px; font-weight: 700; }
.ngat-link-chevron { width: 18px; height: 18px; color: var(--ngat-gray-400); flex-shrink: 0; }
.ngat-link-item:hover .ngat-link-label { color: var(--ngat-green-dark); }
.ngat-link-item:hover .ngat-link-chevron { color: var(--ngat-green-dark); transform: translateX(2px); }

/* ---------- Register / login form skin ---------- */
.ngat-form-title { font-size: 22px; font-weight: 800; color: var(--ngat-navy); margin: 0 0 14px; }
.ngat-card-form { background: #fff; border-radius: 22px; padding: 22px 18px; box-shadow: 0 6px 22px rgba(11,31,92,.07); text-align: left; }
.ngat-card-form h2 { display: none; }
.ngat-card-form form, .ngat-screen-login .woocommerce-form-login, .ngat-screen-login .woocommerce-form-register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.ngat-card-form label, .ngat-screen-login .woocommerce-form label { display: block; font-weight: 600; font-size: 14px; color: var(--ngat-navy); margin-bottom: 6px; }
.ngat-card-form input.input-text, .ngat-screen-login .woocommerce-form input.input-text {
	width: 100%; min-height: 50px; padding: 0 16px; border: 1.5px solid var(--ngat-gray-200);
	border-radius: 14px; font-size: 16px; background: #fff; color: var(--ngat-navy);
}
.ngat-card-form input.input-text:focus, .ngat-screen-login .woocommerce-form input.input-text:focus { outline: 0; border-color: var(--ngat-green); box-shadow: 0 0 0 3px rgba(26,166,60,.15); }
.ngat-card-form .form-row, .ngat-screen-login .woocommerce-form .form-row { margin: 0 0 14px !important; padding: 0; float: none !important; width: 100% !important; }
.ngat-card-form button.button, .ngat-screen-login .woocommerce-form button.button {
	width: 100%; min-height: 54px; border: 0; border-radius: var(--ngat-radius);
	background: linear-gradient(180deg, var(--ngat-green-light), var(--ngat-green-dark)) !important; color: #fff !important;
	font-size: 18px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(26,166,60,.28);
}
.ngat-form-alt { text-align: center; margin: 16px 0 0; color: var(--ngat-gray-600); font-size: 15px; }
.ngat-form-alt a { color: var(--ngat-green-dark) !important; font-weight: 700; }
.ngat-card-form .woocommerce-error, .ngat-card-form .woocommerce-message, .ngat-card-form .woocommerce-info { border-radius: 12px; margin-bottom: 14px; }

.ngat-screen-login .u-columns { display: block; }
.ngat-screen-login .u-column1, .ngat-screen-login .u-column2 { float: none; width: 100%; max-width: 520px; margin: 0 auto 18px; background: #fff; border-radius: 22px; padding: 22px 18px; box-shadow: 0 6px 22px rgba(11,31,92,.07); }
.ngat-screen-login .u-column1 h2, .ngat-screen-login .u-column2 h2, .ngat-screen-login h2 { color: var(--ngat-navy); font-weight: 800; font-size: 22px; }

/* ---------- Bottom navigation ---------- */
.ngat-bottom-spacer { height: 90px; }
.ngat-bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff;
	border-top: 1px solid var(--ngat-gray-200); display: flex; align-items: center; justify-content: space-around;
	padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(11,31,92,.08);
	font-family: var(--ngat-font);
}
.ngat-bottom-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ngat-gray-400); font-size: 12px; font-weight: 600; min-width: 64px; text-decoration: none; transition: color .2s ease, transform .15s ease; }
.ngat-bottom-nav-item svg { width: 24px; height: 24px; }
.ngat-bottom-nav-item.is-active, .ngat-bottom-nav-item:hover { color: var(--ngat-green-dark); }
.ngat-bottom-nav-item:active { transform: scale(.94); }

/* ---------- Small phones ---------- */
@media (max-width: 380px) {
	.ngat-brand-icon { width: 50px; }
	.ngat-brand-name { font-size: 32px; }
	.ngat-tagline { font-size: 11px; }
	.ngat-welcome-sub { font-size: 17px; }
	.ngat-btn { font-size: 19px; min-height: 56px; }
	.ngat-link-label { font-size: 15px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
	.ngat-root { padding-top: 36px; max-width: 560px; }
	.ngat-brand-icon { width: 76px; }
	.ngat-brand-name { font-size: 48px; }
	.ngat-tagline { font-size: 14px; }
	.ngat-welcome-sub { font-size: 24px; max-width: 440px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
	.ngat-root { max-width: 600px; padding-top: 56px; }
	.ngat-bottom-nav { display: none; }
	.ngat-bottom-spacer { height: 40px; }
	.ngat-btn-login:hover, .ngat-btn-register:hover { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) { .ngat-btn, .ngat-bottom-nav-item, .ngat-link-chevron { transition: none; } }
