/*
 * urZONE Hosting client area: WHMCS "Twenty-One" style.
 * Scoped to .uzw so it never touches the rest of the theme.
 */
.uzw {
	--uzw-primary: #336699;
	--uzw-primary-d: #285580;
	--uzw-nav: #1f3a56;
	--uzw-nav-d: #172d44;
	--uzw-bg: #f6f7f9;
	--uzw-card: #fff;
	--uzw-line: #e3e6ea;
	--uzw-text: #333c47;
	--uzw-muted: #7b8591;
	--uzw-head: #fafbfc;
	--uzw-field: #fff;
	--uzw-top: #fff;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	color: var(--uzw-text);
	background: var(--uzw-bg);
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	border: 1px solid var(--uzw-line);
	border-radius: 4px;
	overflow: hidden;
}
.uzw *, .uzw *::before, .uzw *::after { box-sizing: border-box; }
.uzw a { color: var(--uzw-primary); text-decoration: none; }
.uzw a:hover { text-decoration: underline; }
.uzw img { max-width: 100%; }
.uzw .uz-icon { display: inline-flex; width: 16px; height: 16px; flex: 0 0 auto; }
.uzw .uz-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.uzw-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Dark mode */
.uzw.uz-dark-mode {
	--uzw-bg: #16191d;
	--uzw-card: #1f2328;
	--uzw-line: #333a42;
	--uzw-text: #e1e5ea;
	--uzw-muted: #9aa4af;
	--uzw-head: #262b31;
	--uzw-field: #15181c;
	--uzw-top: #1b1f24;
	--uzw-primary: #5b9bd5;
	--uzw-nav: #12263a;
	--uzw-nav-d: #0d1c2b;
}

/* Full: the portal fills the browser window */
.uzw.uz-fullscreen { position: fixed; inset: 0; z-index: 999999; border: 0; border-radius: 0; overflow: auto; }
html.uz-fs-lock, html.uz-fs-lock body { overflow: hidden !important; }

/* ---- Top bar ---- */
.uzw-topbar { background: var(--uzw-head); border-bottom: 1px solid var(--uzw-line); font-size: 12.5px; color: var(--uzw-muted); }
.uzw-topbar .uzw-container { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 36px; }
.uzw-topbar-r { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.uzw-tool { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; margin: 0; border: 0; border-radius: 3px; background: transparent; color: var(--uzw-muted) !important; font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: none !important; line-height: 1; box-shadow: none; }
.uzw-tool:hover { background: rgba(0,0,0,.05); color: var(--uzw-text) !important; }
.uz-dark-mode .uzw-tool:hover { background: rgba(255,255,255,.07); }

/* ---- Header ---- */
.uzw-header { background: var(--uzw-top); border-bottom: 1px solid var(--uzw-line); }
.uzw-header .uzw-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.uzw-logo { display: flex; align-items: center; gap: 12px; color: var(--uzw-text) !important; font-size: 21px; text-decoration: none !important; }
.uzw-logo img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.uzw-logo b { font-weight: 700; }
.uzw-header-r { display: flex; align-items: center; gap: 8px; }
.uzw-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.uzw-avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--uzw-primary); color: #fff; font-weight: 700; }
.uzw-burger { display: none; align-items: center; justify-content: center; width: 38px; height: 36px; padding: 0; border: 1px solid var(--uzw-line); border-radius: 4px; background: var(--uzw-card); color: var(--uzw-text); cursor: pointer; }
.uzw-burger .uz-icon { width: 20px; height: 20px; }

/* ---- Navigation ---- */
.uzw-nav { background: var(--uzw-nav); position: relative; z-index: 20; }
.uzw-nav .uzw-container { display: flex; align-items: stretch; justify-content: space-between; }
.uzw-nav-links { display: flex; align-items: stretch; flex-wrap: wrap; }
.uzw-nl { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; margin: 0; border: 0; border-radius: 0; background: transparent; color: #dce6f0 !important; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none !important; box-shadow: none; line-height: 1; }
.uzw-nl:hover, .uzw-dd:hover > .uzw-nl, .uzw-nl[aria-expanded="true"] { background: rgba(255,255,255,.1); color: #fff !important; }
.uzw-nl.is-active { background: var(--uzw-nav-d); color: #fff !important; box-shadow: inset 0 -3px 0 #5bc0de; }
.uzw-nl-right { margin-left: auto; }
.uzw-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .75; }
.uzw-dd { position: relative; }
.uzw-dd-menu { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 6px 0; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-top: 0; border-radius: 0 0 4px 4px; box-shadow: 0 10px 24px rgba(0,0,0,.14); z-index: 30; }
.uzw-dd-menu[hidden] { display: none; }
.uzw-dd-menu a { display: block; padding: 9px 18px; color: var(--uzw-text) !important; white-space: nowrap; text-decoration: none !important; }
.uzw-dd-menu a:hover { background: var(--uzw-head); color: var(--uzw-primary) !important; }
.uzw-dd-menu a.is-active { color: var(--uzw-primary) !important; font-weight: 700; }

/* ---- Breadcrumb ---- */
.uzw-crumbs { background: var(--uzw-card); border-bottom: 1px solid var(--uzw-line); font-size: 13px; color: var(--uzw-muted); }
.uzw-crumbs .uzw-container { padding-top: 10px; padding-bottom: 10px; }
.uzw-sep { margin: 0 7px; color: #b6bdc5; }

/* ---- Layout ---- */
.uzw-main { padding: 26px 0 34px; }
.uzw-cols { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 24px; align-items: start; }
.uzw-body { min-width: 0; }
.uzw-h1 { margin: 0 0 18px !important; padding: 0 !important; font-size: 26px !important; font-weight: 400 !important; line-height: 1.25 !important; color: var(--uzw-text) !important; border: 0 !important; }
.uzw-h2 { margin: 30px 0 16px !important; font-size: 21px !important; font-weight: 400 !important; color: var(--uzw-text) !important; text-align: center; }
.uzw-lead { margin: 0 0 14px; color: var(--uzw-muted); }
.uzw-sub { color: var(--uzw-muted); font-size: 12.5px; font-weight: 400; }
.uzw-r { text-align: right; white-space: nowrap; }

/* ---- Cards ---- */
.uzw-card { margin: 0 0 20px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,.03); overflow: hidden; }
.uzw-card-h { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--uzw-line); background: var(--uzw-head); font-weight: 700; font-size: 14px; color: var(--uzw-text); }
.uzw-card-h .uz-icon { color: var(--uzw-primary); }
.uzw-card-a { margin-left: auto; font-weight: 600; font-size: 12.5px; }
.uzw-card-b { padding: 16px; }
.uzw-pad { padding: 18px; }
.uzw-count { margin-left: auto; font-weight: 400; font-size: 12.5px; color: var(--uzw-muted); }
.uzw-empty { padding: 26px 16px; text-align: center; color: var(--uzw-muted); }
.uzw-empty .uzw-btn { margin-left: 6px; }
.uzw-list-group { display: flex; flex-direction: column; }
.uzw-lgi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--uzw-line); color: var(--uzw-text) !important; text-decoration: none !important; }
.uzw-list-group > .uzw-lgi:first-child { border-top: 0; }
a.uzw-lgi:hover { background: var(--uzw-head); color: var(--uzw-primary) !important; }
.uzw-lgi.is-active { background: var(--uzw-primary); color: #fff !important; }
.uzw-lgi > .uz-icon { color: var(--uzw-muted); }
.uzw-lgi.is-active > .uz-icon { color: #fff; }
.uzw-side-card .uzw-lgi { justify-content: flex-start; }
.uzw-side-card .uzw-lgi .uzw-badge { margin-left: auto; }
.uzw-badge { display: inline-block; min-width: 22px; padding: 1px 7px; border-radius: 10px; background: #e8ecf0; color: #4a5562; font-size: 11.5px; font-weight: 700; text-align: center; }
.uzw-lgi.is-active .uzw-badge { background: rgba(255,255,255,.25); color: #fff; }
.uzw-info { margin: 0 0 12px; line-height: 1.6; word-break: break-word; }

/* ---- Tiles ---- */
.uzw-tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin: 0 0 22px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; overflow: hidden; }
.uzw-tiles-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.uzw-tile { position: relative; display: block; padding: 20px 20px 22px; border-right: 1px solid var(--uzw-line); color: var(--uzw-text) !important; text-decoration: none !important; }
.uzw-tile:last-child { border-right: 0; }
.uzw-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--uzw-tc, #336699); }
.uzw-tile .uz-icon { position: absolute; right: 18px; top: 18px; width: 38px; height: 38px; color: var(--uzw-tc, #336699); opacity: .28; }
.uzw-tile-n { display: block; font-size: 34px; font-weight: 300; line-height: 1.1; }
.uzw-tile-l { display: block; margin-top: 4px; color: var(--uzw-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.uzw-tile:hover { background: var(--uzw-head); }
.uzw-t-teal { --uzw-tc: #1e8e9f; }
.uzw-t-green { --uzw-tc: #3fa652; }
.uzw-t-red { --uzw-tc: #d9534f; }
.uzw-t-orange { --uzw-tc: #f0962c; }
.uzw-home-grid { display: grid; grid-template-columns: 270px minmax(0,1fr); gap: 24px; align-items: start; }
.uzw-home-main { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; align-items: start; }

/* ---- Buttons, labels, alerts ---- */
.uzw-btn, .uzw .uz-login-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; margin: 0; border: 1px solid transparent; border-radius: 4px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none !important; white-space: nowrap; box-shadow: none; }
.uzw .uz-login-button { background: var(--uzw-primary); color: #fff !important; }
.uzw-btn-sm, .uzw .uz-login-button.uzw-btn-sm { height: 30px; padding: 0 11px; font-size: 13px; }
.uzw-btn-lg { height: 44px; padding: 0 24px; font-size: 15px; }
.uzw-btn-block { display: flex; width: 100%; }
.uzw-btn-primary { background: var(--uzw-primary); border-color: var(--uzw-primary-d); color: #fff !important; }
.uzw-btn-primary:hover { background: var(--uzw-primary-d); }
.uzw-btn-success { background: #5cb85c; border-color: #4cae4c; color: #fff !important; }
.uzw-btn-success:hover { background: #449d44; }
.uzw-btn-danger { background: #d9534f; border-color: #d43f3a; color: #fff !important; }
.uzw-btn-default { background: var(--uzw-card); border-color: #cdd3da; color: var(--uzw-text) !important; }
.uzw-btn-default:hover { background: var(--uzw-head); }
.uzw-label { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em; color: #fff; background: #a0a8b2; white-space: nowrap; }
.uzw-label-success { background: #5cb85c; }
.uzw-label-info { background: #5bc0de; }
.uzw-label-warning { background: #f0ad4e; }
.uzw-label-danger { background: #d9534f; }
.uzw-alert { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; padding: 13px 16px; border: 1px solid; border-radius: 4px; }
.uzw-alert-warning { background: #fcf8e3; border-color: #faebcc; color: #8a6d3b; }
.uzw-alert-danger { background: #f2dede; border-color: #ebccd1; color: #a94442; }
.uz-dark-mode .uzw-alert-warning { background: #3a3220; border-color: #5a4a26; color: #f1d58f; }
.uz-dark-mode .uzw-alert-danger { background: #3c2324; border-color: #5c3134; color: #f0aaa8; }

/* ---- Tables ---- */
.uzw .uz-table-wrap { width: 100%; overflow-x: auto; }
.uzw .uz-table { width: 100%; margin: 0; border-collapse: collapse; border: 0; background: transparent; font-size: 14px; }
.uzw .uz-table th { padding: 10px 16px; text-align: left; background: var(--uzw-head); color: var(--uzw-muted); font-size: 12.5px; font-weight: 700; border: 0; border-bottom: 1px solid var(--uzw-line); white-space: nowrap; }
.uzw .uz-table td { padding: 11px 16px; border: 0; border-bottom: 1px solid var(--uzw-line); vertical-align: middle; background: transparent; color: var(--uzw-text); }
.uzw .uz-table tbody tr:last-child td { border-bottom: 0; }
.uzw .uz-table tbody tr:hover td { background: var(--uzw-head); }
.uzw .uz-status { display: inline-block; padding: 3px 9px; border-radius: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #fff; background: #a0a8b2; }
.uzw .uz-status-active, .uzw .uz-status-paid { background: #5cb85c; }
.uzw .uz-status-pending { background: #f0ad4e; }
.uzw .uz-status-unpaid, .uzw .uz-status-overdue, .uzw .uz-status-expired { background: #d9534f; }

/* Module panels inside the client area */
.uzw .uz-panel { margin: 0 0 20px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; padding: 18px; }
.uzw .uz-panel.uz-domain-search-panel { padding: 0; border: 0; background: transparent; }
.uzw input[type=text], .uzw input[type=email], .uzw input[type=search], .uzw input[type=password], .uzw input[type=number], .uzw select, .uzw textarea { max-width: 100%; background: var(--uzw-field); color: var(--uzw-text); border: 1px solid #cdd3da; border-radius: 4px; }
.uz-dark-mode.uzw input, .uz-dark-mode.uzw select, .uz-dark-mode.uzw textarea { border-color: var(--uzw-line); }
.uzw .uz-page-logo { max-height: 60px; margin-bottom: 12px; }

/* ---- Domain search box ---- */
.uzw-domain-form { display: flex; gap: 0; width: 100%; margin: 0; }
.uzw-domain-form input[type=text] { flex: 1 1 auto; min-width: 0; height: 40px; margin: 0; padding: 0 14px; border-radius: 4px 0 0 4px; font-size: 15px; }
.uzw-domain-form .uzw-btn { height: 40px; border-radius: 0 4px 4px 0; }
.uzw-domain-form-lg { max-width: 720px; margin: 0 auto; }
.uzw-domain-form-lg input[type=text] { height: 54px; font-size: 18px; border: 0; }
.uzw-domain-form-lg .uzw-btn { height: 54px; padding: 0 30px; font-size: 16px; }

/* ---- Storefront (logged out) ---- */
.uzw-hero { padding: 56px 0 50px; background: linear-gradient(135deg, #1f3a56 0%, #336699 100%); color: #fff; text-align: center; }
.uzw-hero h1 { margin: 0 0 8px !important; padding: 0 !important; color: #fff !important; font-size: 34px !important; font-weight: 300 !important; line-height: 1.2 !important; border: 0 !important; }
.uzw-hero p { margin: 0 0 24px; color: rgba(255,255,255,.85); font-size: 16px; }
.uzw-hero-links { margin-top: 14px; font-size: 13px; }
.uzw-hero-links a { color: #fff !important; text-decoration: underline; }
.uzw-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.uzw-plan { display: flex; flex-direction: column; padding: 24px 20px 20px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; text-align: center; }
.uzw-plan-ico { width: 40px !important; height: 40px !important; margin: 0 auto 10px; color: var(--uzw-primary); }
.uzw-plan h3 { margin: 0 0 8px !important; font-size: 18px !important; font-weight: 600 !important; color: var(--uzw-text) !important; }
.uzw-plan-price { margin: 0 0 10px; font-size: 26px; font-weight: 300; color: var(--uzw-primary); }
.uzw-plan-price small { font-size: 13px; color: var(--uzw-muted); }
.uzw-plan p { flex: 1 1 auto; margin: 0 0 16px; color: var(--uzw-muted); font-size: 13.5px; }
.uzw-help { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.uzw-help-i { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; text-align: center; color: var(--uzw-text) !important; text-decoration: none !important; }
.uzw-help-i:hover { border-color: var(--uzw-primary); box-shadow: 0 4px 14px rgba(51,102,153,.12); }
.uzw-help-i .uz-icon { width: 34px; height: 34px; color: var(--uzw-primary); margin-bottom: 4px; }
.uzw-help-i strong { font-size: 15px; }
.uzw-help-i span:last-child { color: var(--uzw-muted); font-size: 13px; }
.uzw-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; padding: 22px 24px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-left: 4px solid var(--uzw-primary); border-radius: 4px; }
.uzw-cta h3 { margin: 0 0 4px !important; font-size: 18px !important; color: var(--uzw-text) !important; }
.uzw-cta p { margin: 0; color: var(--uzw-muted); }
.uzw-cta-b { display: flex; gap: 10px; flex-wrap: wrap; }

/* Login required */
.uzw-login-card { max-width: 520px; margin: 10px auto; padding: 34px 28px; background: var(--uzw-card); border: 1px solid var(--uzw-line); border-radius: 4px; text-align: center; }
.uzw-login-ico { display: inline-flex; width: 48px; height: 48px; color: var(--uzw-primary); }
.uzw-login-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.uzw-login-card h2 { margin: 10px 0 8px !important; font-size: 22px !important; font-weight: 400 !important; color: var(--uzw-text) !important; }
.uzw-login-card p { color: var(--uzw-muted); }
.uzw-login-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px !important; }

/* ---- Footer ---- */
.uzw-footer { padding: 26px 0; background: #222a33; color: #9aa4af; font-size: 13px; }
.uzw-footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.uzw-footer a { color: #c9d1da !important; }
.uzw-copy { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
	.uzw-home-main { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.uzw-cols, .uzw-home-grid { grid-template-columns: 1fr; }
	.uzw-cols .uzw-sidebar { order: 2; }
	.uzw-home-grid .uzw-sidebar { order: 2; }
	.uzw-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.uzw-tile:nth-child(2) { border-right: 0; }
	.uzw-tile:nth-child(-n+2) { border-bottom: 1px solid var(--uzw-line); }
	.uzw-tiles-2 .uzw-tile { border-bottom: 0; }
	.uzw-burger { display: inline-flex; }
	.uzw-nav { display: none; }
	.uzw.uzw-nav-open .uzw-nav { display: block; }
	.uzw-nav .uzw-container { flex-direction: column; padding: 0; }
	.uzw-nav-links { flex-direction: column; }
	.uzw-nl { width: 100%; height: 46px; border-bottom: 1px solid rgba(255,255,255,.07); }
	.uzw-nl-right { margin-left: 0; }
	.uzw-dd-menu { position: static; box-shadow: none; border: 0; border-radius: 0; background: var(--uzw-nav-d); }
	.uzw-dd-menu a { color: #dce6f0 !important; padding-left: 40px; }
	.uzw-dd-menu a:hover { background: rgba(255,255,255,.06); color: #fff !important; }
}
@media (max-width: 600px) {
	.uzw-container { padding: 0 14px; }
	.uzw-topbar-l { display: none; }
	.uzw-topbar .uzw-container { justify-content: flex-end; }
	.uzw-header .uzw-container { min-height: 62px; }
	.uzw-logo { font-size: 17px; }
	.uzw-logo img { width: 38px; height: 38px; }
	.uzw-header-r .uzw-btn { display: none; }
	.uzw-hero { padding: 36px 0 32px; }
	.uzw-hero h1 { font-size: 25px !important; }
	.uzw-domain-form-lg input[type=text], .uzw-domain-form-lg .uzw-btn { height: 46px; font-size: 15px; }
	.uzw-domain-form-lg .uzw-btn { padding: 0 16px; }
	.uzw-tile-n { font-size: 26px; }
	.uzw-tile { padding: 16px 14px 18px; }
	.uzw-tile .uz-icon { width: 28px; height: 28px; right: 12px; top: 14px; }
	.uzw-h1 { font-size: 22px !important; }
	.uzw .uz-table th, .uzw .uz-table td { padding: 9px 10px; }
}

/* Support tickets inside the client area */
.uzw .uzx-tk { max-width: none; }
.uzw .uzx-tk .uzx-btn { border-radius: 4px; background: var(--uzw-primary); }
.uzw .uzx-tk .uzx-btn.alt { background: transparent; }
.uzw .uzx-tk .uzx-staff { background: rgba(51,102,153,.08); }
.uzw .uzx-tk input[type=text], .uzw .uzx-tk textarea, .uzw .uzx-tk select { border-radius: 4px; }
