/* WHM Connect — client area */
.whmc { --whmc-primary:#1697bf; --whmc-primary-2:#0e7fa3; --whmc-ink:#111827; --whmc-mut:#6b7280;
	--whmc-line:#e5e7eb; --whmc-bg:#f9fafb; --whmc-green:#059669; --whmc-red:#dc2626;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Inter",sans-serif; color:var(--whmc-ink);
	max-width:1040px; margin:0 auto; }
.whmc *, .whmc *::before, .whmc *::after { box-sizing:border-box; }
.whmc h2,.whmc h3,.whmc h4 { margin:0 0 6px; line-height:1.3; }
.whmc-muted { color:var(--whmc-mut); }
.whmc-small { font-size:13px; }
.whmc-center { text-align:center; }

/* Hero */
.whmc-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
	background:linear-gradient(120deg,var(--whmc-primary),var(--whmc-primary-2));
	border-radius:18px; padding:30px 34px; color:#fff; margin-bottom:22px;
	box-shadow:0 12px 30px -12px rgba(79,70,229,.55); }
.whmc-hero h2 { font-size:26px; color:#fff; }
.whmc-hero p { margin:4px 0 0; opacity:.85; font-size:15px; }
.whmc-hero-stats { display:flex; gap:14px; }
.whmc-stat { background:rgba(255,255,255,.14); backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,.22);
	border-radius:14px; padding:14px 22px; text-align:center; min-width:110px; }
.whmc-stat-num { display:block; font-size:26px; font-weight:700; }
.whmc-stat-label { font-size:12px; opacity:.85; text-transform:uppercase; letter-spacing:.04em; }

/* Tabs */
.whmc-tabs { display:flex; gap:6px; background:var(--whmc-bg); border:1px solid var(--whmc-line);
	padding:5px; border-radius:12px; width:max-content; max-width:100%; margin-bottom:20px; overflow-x:auto; }
.whmc-tab { border:0; background:transparent; padding:9px 18px; border-radius:9px; font-size:14px; font-weight:600;
	color:var(--whmc-mut); cursor:pointer; white-space:nowrap; transition:all .15s; }
.whmc-tab:hover { color:var(--whmc-ink); }
.whmc-tab.is-active { background:#fff; color:var(--whmc-primary); box-shadow:0 1px 4px rgba(0,0,0,.08); }
.whmc-panel { display:none; }
.whmc-panel.is-active { display:block; animation:whmcFade .25s ease; }
@keyframes whmcFade { from { opacity:0; transform:translateY(4px);} to { opacity:1; transform:none;} }

/* Cards */
.whmc-card { background:#fff; border:1px solid var(--whmc-line); border-radius:16px; padding:22px;
	box-shadow:0 4px 14px -8px rgba(17,24,39,.12); }
.whmc-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:18px; }

/* Service card */
.whmc-service-top { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.whmc-service-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center;
	font-size:22px; background:linear-gradient(135deg,#e8f6fb,#f0fafd); border:1px solid #e0e7ff; flex-shrink:0; }
.whmc-service-id { flex:1; min-width:0; }
.whmc-service-id strong { display:block; font-size:16px; overflow:hidden; text-overflow:ellipsis; }
.whmc-service-user { font-size:12px; color:var(--whmc-mut); }
.whmc-service-meta { display:flex; gap:18px; flex-wrap:wrap; margin-bottom:14px; font-size:13px; }
.whmc-service-meta span { display:block; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--whmc-mut); }
.whmc-usage-head { display:flex; justify-content:space-between; font-size:12px; color:var(--whmc-mut); margin-bottom:5px; }
.whmc-bar { height:8px; border-radius:6px; background:var(--whmc-bg); overflow:hidden; border:1px solid var(--whmc-line); }
.whmc-bar-fill { height:100%; border-radius:6px; background:linear-gradient(90deg,var(--whmc-primary),var(--whmc-primary-2)); transition:width .4s; }
.whmc-bar-fill.is-hot { background:linear-gradient(90deg,#f59e0b,var(--whmc-red)); }
.whmc-pool-head { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.whmc-pool-bars { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.whmc-pool-bar-label { display:flex; justify-content:space-between; font-size:13px; margin-bottom:6px; font-weight:600; }
.whmc-svc-group { display:flex; align-items:center; gap:8px; margin:22px 0 12px; font-size:15px; font-weight:700; color:var(--whmc-ink,#111827); }
.whmc-svc-group:first-child { margin-top:4px; }
.whmc-svc-group i { color:var(--whmc-primary); }
.whmc-cat-cards { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; margin-top:6px; }
.whmc-cat-card, .whmc-cat-card:hover, .whmc-cat-card * { text-decoration:none !important; }
.whmc-cat-card { display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--whmc-line,#e5e7eb); border-radius:14px; background:var(--whmc-card,#fff); color:inherit; transition:border-color .15s, box-shadow .15s, transform .15s; }
.whmc-cat-card:hover { border-color:var(--whmc-primary); box-shadow:0 6px 20px rgba(0,0,0,.06); transform:translateY(-1px); }
.whmc-cat-icon { width:46px; height:46px; flex:0 0 46px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; background:linear-gradient(135deg,var(--whmc-primary),var(--whmc-primary-2,#0e7fa3)); }
.whmc-cat-body { flex:1; }
.whmc-cat-body h4 { margin:0 0 3px; font-size:15px; display:flex; align-items:center; gap:8px; }
.whmc-cat-body p { margin:0; font-size:12.5px; color:var(--whmc-muted,#6b7280); }
.whmc-cat-count { background:var(--whmc-bg,#f3f4f6); color:var(--whmc-muted,#4b5563); font-size:12px; font-weight:700; padding:1px 8px; border-radius:999px; }
.whmc-cat-chips { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }
.whmc-cat-chip { font-size:11px; font-weight:600; color:var(--whmc-primary,#1697bf); background:#d5eef6; border-radius:999px; padding:3px 9px; line-height:1.4; white-space:nowrap; }
.whmc-cat-arrow { color:var(--whmc-primary); font-size:18px; }
.whmc-svc-head { display:flex; align-items:center; gap:12px; margin:2px 0 14px; }
.whmc-svc-head h3 { margin:0; font-size:16px; }
/* Reseller pool management */
.whmc-card-title { display:flex; align-items:center; gap:8px; margin:0 0 14px; font-size:15px; }
.whmc-card-title i { color:var(--whmc-primary); }
.whmc-pool-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:14px; }
.whmc-pool-tile { border:1px solid var(--whmc-line,#e5e7eb); border-radius:12px; padding:16px; background:var(--whmc-bg,#f9fafb); }
.whmc-pool-tile-top { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; gap:8px; }
.whmc-pool-tile-label { font-size:13px; font-weight:600; color:var(--whmc-muted,#4b5563); display:flex; align-items:center; gap:6px; }
.whmc-pool-tile-label i { color:var(--whmc-primary); }
.whmc-pool-tile-num { font-size:20px; font-weight:800; color:var(--whmc-ink,#111827); white-space:nowrap; }
.whmc-pool-tile-num span { font-size:14px; font-weight:600; color:var(--whmc-muted,#9ca3af); }
.whmc-pool-tile .whmc-bar { margin-bottom:8px; }
.whmc-create-row { display:flex; align-items:flex-end; gap:12px; flex-wrap:wrap; }
.whmc-create-field { display:flex; flex-direction:column; gap:5px; }
.whmc-create-field.whmc-grow { flex:1 1 240px; }
.whmc-create-field label { font-size:12.5px; font-weight:600; color:var(--whmc-muted,#4b5563); }
.whmc-create-field input { padding:9px 12px; border:1px solid var(--whmc-line,#d1d5db); border-radius:9px; font-size:14px; }
.whmc-create-field input[type=number] { width:110px; }
.whmc-cp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:14px; }
.whmc-cp-card { border:1px solid var(--whmc-line,#e5e7eb); border-radius:12px; padding:15px; background:var(--whmc-card,#fff); display:flex; flex-direction:column; gap:12px; }
.whmc-cp-pending { background:var(--whmc-bg,#f9fafb); border-style:dashed; }
.whmc-cp-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
.whmc-cp-title { display:flex; flex-direction:column; gap:2px; min-width:0; }
.whmc-cp-title strong { font-size:14.5px; word-break:break-all; }
.whmc-cp-usage-label { display:flex; justify-content:space-between; font-size:12px; color:var(--whmc-muted,#6b7280); margin-bottom:6px; }
.whmc-cp-actions { display:flex; gap:8px; flex-wrap:wrap; }
.whmc-cp-actions > .whmc-btn, .whmc-cp-actions form .whmc-btn { min-height:38px; box-sizing:border-box; }
@media (max-width:640px){ .whmc-pool-grid { grid-template-columns:1fr; } .whmc-create-field.whmc-grow { flex-basis:100%; } }
@media (max-width:640px){ .whmc-pool-bars { grid-template-columns:1fr; } }
.whmc-service-actions { display:flex; gap:8px; margin-top:16px; flex-wrap:wrap; }
.whmc-pass-form { display:flex; gap:8px; margin-top:12px; }
.whmc-pass-form input { flex:1; }

/* Badges */
.whmc-badge { display:inline-block; padding:3px 11px; border-radius:20px; font-size:12px; font-weight:600; white-space:nowrap; }
.whmc-badge-green { background:#d1fae5; color:#065f46; }
.whmc-badge-red { background:#fee2e2; color:#991b1b; }
.whmc-badge-orange { background:#fef3c7; color:#92400e; }
.whmc-badge-grey { background:#f3f4f6; color:#4b5563; }

/* Buttons & inputs */
.whmc-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:10px 18px;
	border-radius:10px; border:1px solid var(--whmc-line); background:#fff; color:var(--whmc-ink);
	font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; transition:all .15s; line-height:1.2; }
.whmc-btn:hover { border-color:#d1d5db; transform:translateY(-1px); box-shadow:0 4px 10px -6px rgba(0,0,0,.2); }
.whmc-btn-primary { background:linear-gradient(120deg,var(--whmc-primary),var(--whmc-primary-2)); border:0; color:#fff; }
.whmc-btn-primary:hover { filter:brightness(1.07); color:#fff; }
.whmc-btn-ghost { background:var(--whmc-bg); }
.whmc-btn-small { padding:6px 12px; font-size:13px; border-radius:8px; }
.whmc-btn-block { width:100%; }
.whmc input[type=text], .whmc input[type=password] { padding:11px 14px; border:1px solid var(--whmc-line);
	border-radius:10px; font-size:14px; background:#fff; width:100%; }
.whmc input:focus { outline:2px solid rgba(79,70,229,.35); border-color:var(--whmc-primary); }

/* Alerts / empty states */
.whmc-alert { border-radius:12px; padding:14px 18px; margin-bottom:18px; font-size:14px; font-weight:500; }
.whmc-alert-success { background:#ecfdf5; border:1px solid #a7f3d0; color:#065f46; }
.whmc-alert-error { background:#fef2f2; border:1px solid #fecaca; color:#991b1b; }
.whmc-alert-warning { background:#fffbeb; border:1px solid #fde68a; color:#92400e; }
.whmc-alert-row { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.whmc-alert-row form { margin:0; }
.whmc-empty { text-align:center; padding:56px 20px; border:2px dashed var(--whmc-line); border-radius:16px; color:var(--whmc-mut); }
.whmc-empty-icon, .whmc-big-icon { font-size:40px; margin-bottom:8px; }
.whmc-login-prompt { text-align:center; max-width:380px; margin:40px auto; background:#fff; border:1px solid #e5e7eb;
	border-radius:16px; padding:40px 30px; box-shadow:0 4px 14px -8px rgba(17,24,39,.12);
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif; }
.whmc-login-icon { font-size:36px; margin-bottom:10px; }

/* Pricing */
.whmc-pricing { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; margin-bottom:22px; }
.whmc-price-card { position:relative; background:#fff; border:1px solid var(--whmc-line); border-radius:16px;
	padding:26px 22px; text-align:center; transition:all .2s; box-shadow:0 4px 14px -10px rgba(17,24,39,.15); }
.whmc-price-card:hover { transform:translateY(-4px); box-shadow:0 14px 30px -14px rgba(79,70,229,.35); }
.whmc-price-card.is-featured { border:2px solid var(--whmc-primary); box-shadow:0 14px 34px -14px rgba(79,70,229,.45); }
.whmc-ribbon { position:absolute; top:-12px; left:50%; transform:translateX(-50%);
	background:linear-gradient(120deg,var(--whmc-primary),var(--whmc-primary-2)); color:#fff; font-size:11px;
	font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 14px; border-radius:20px; }
.whmc-price { margin:12px 0 16px; }
.whmc-price-amount { font-size:32px; font-weight:800; }
.whmc-price-cycle { color:var(--whmc-mut); font-size:14px; }
.whmc-price-strike { display:block; color:var(--whmc-mut); text-decoration:line-through; font-size:15px; }
.whmc-offer-tag { display:inline-block; margin-top:6px; background:#fef3c7; color:#92400e; font-size:11px; font-weight:700;
	text-transform:uppercase; letter-spacing:.04em; border-radius:12px; padding:3px 10px; }
.whmc-features { list-style:none; margin:0 0 20px; padding:0; font-size:14px; color:#374151; }
.whmc-features li { padding:7px 0; border-bottom:1px dashed var(--whmc-line); }
.whmc-features li:last-child { border-bottom:0; }
.whmc-features li::before { content:"✓"; color:var(--whmc-green); font-weight:700; margin-right:8px; }

/* Order form */
.whmc-order-form h4 { font-size:17px; }
.whmc-order-selected { font-size:14px; color:var(--whmc-mut); margin:2px 0 14px; }
.whmc-chip { background:#e8f6fb; color:var(--whmc-primary); border-radius:20px; padding:2px 12px; font-size:12px; font-weight:700; margin-left:6px; }
.whmc-order-row { display:flex; gap:10px; }
.whmc-order-row input { flex:1; }
.whmc-order-form label { font-size:13px; font-weight:600; display:block; margin-bottom:6px; }

/* Orders table */
.whmc-table { width:100%; border-collapse:collapse; font-size:14px; }
.whmc-table th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--whmc-mut);
	padding:8px 10px; border-bottom:1px solid var(--whmc-line); }
.whmc-table td { padding:12px 10px; border-bottom:1px solid #f3f4f6; }
.whmc-table tr:last-child td { border-bottom:0; }

/* Checkout */
.whmc-back { display:inline-block; margin-bottom:16px; color:var(--whmc-primary); text-decoration:none; font-weight:600; font-size:14px; }
.whmc-checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.whmc-pay-card { text-align:center; }
.whmc-qr { width:230px; margin:18px auto 10px; padding:12px; background:#fff; border:1px solid var(--whmc-line);
	border-radius:14px; box-shadow:0 6px 18px -10px rgba(17,24,39,.25); }
.whmc-qr svg { display:block; width:100%; height:auto; }
.whmc-upi-apps { display:flex; justify-content:center; gap:8px; margin:10px 0 14px; }
.whmc-upi-apps span { font-size:11px; font-weight:700; color:var(--whmc-mut); background:var(--whmc-bg);
	border:1px solid var(--whmc-line); border-radius:16px; padding:3px 10px; }
.whmc-upi-id { display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; font-size:13px; color:var(--whmc-mut); }
.whmc-upi-id code { background:var(--whmc-bg); border:1px solid var(--whmc-line); border-radius:8px; padding:4px 10px;
	font-size:13px; color:var(--whmc-ink); }
.whmc-summary { list-style:none; margin:14px 0; padding:0; font-size:14px; }
.whmc-summary li { display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--whmc-line); }
.whmc-summary li span { color:var(--whmc-mut); }
.whmc-summary-total { font-weight:800; font-size:17px; }
.whmc-summary-total span { color:var(--whmc-ink) !important; }
.whmc-divider { height:1px; background:var(--whmc-line); margin:16px 0; }
.whmc-utr-input { margin-bottom:10px; }
.whmc-mobile-only { display:none; }
.whmc-timer { font-size:14px; font-weight:700; color:#b45309; background:#fffbeb; border:1px solid #fde68a;
	border-radius:10px; padding:8px 14px; display:inline-block; margin:4px 0 8px; }
.whmc-paybtn { margin:0 0 10px; }

/* Service strips (compact 2-column list) */
.whmc-strips { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (max-width:900px) { .whmc-strips { grid-template-columns:1fr; } }
.whmc-strip { background:#fff; border:1px solid var(--whmc-line); border-radius:12px; padding:12px 16px; }
.whmc-strip-main { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.whmc-strip-id { min-width:0; }
.whmc-strip-id strong { display:block; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.whmc-strip-id span { font-size:12px; color:var(--whmc-mut); display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.whmc-strip-actions { display:flex; gap:6px; margin-top:10px; align-items:center; }
.whmc [hidden] { display:none !important; } /* the hidden attribute must always win over display rules */
.whmc-strip-form { display:flex; gap:8px; margin-top:10px; }
.whmc-strip-form input, .whmc-strip-form select { flex:1; padding:8px 10px; border:1px solid var(--whmc-line); border-radius:8px; font-size:13px; min-width:0; }
.whmc-strip-form button { white-space:nowrap; }
.whmc-menu { position:relative; display:inline-block; }
.whmc-menu summary { list-style:none; cursor:pointer; padding:8px 14px; border:1px solid var(--whmc-line); border-radius:10px; font-weight:700; font-size:17px; line-height:1.2; background:#fff; }
.whmc-menu summary::-webkit-details-marker { display:none; }
.whmc-menu[open] summary { background:var(--whmc-bg); }
.whmc-menu-items { position:absolute; right:0; top:110%; background:#fff; border:1px solid var(--whmc-line); border-radius:10px;
	box-shadow:0 8px 20px -8px rgba(0,0,0,.25); min-width:190px; z-index:30; padding:6px; display:flex; flex-direction:column; gap:2px; }
.whmc-menu-items form { margin:0; }
.whmc-menu-items button, .whmc-menu-items a, .whmc-menu-items a:visited {
	display:block; background:none; border:0; text-align:left; padding:8px 10px; border-radius:6px;
	font-size:13px !important; font-weight:500 !important; line-height:1.4 !important;
	cursor:pointer; width:100%; color:inherit !important; text-decoration:none !important; box-sizing:border-box;
	font-family:inherit; margin:0; }
.whmc-menu-items button:hover, .whmc-menu-items a:hover { background:var(--whmc-bg); color:inherit !important; text-decoration:none !important; }
.whmc-menu-danger, .whmc-menu-items button.whmc-menu-danger { color:var(--whmc-red) !important; }
.whmc-menu-danger { color:var(--whmc-red); }

/* Pagination */
.whmc-pagination { display:flex; gap:6px; margin-top:16px; justify-content:center; flex-wrap:wrap; }
.whmc-pagination a, .whmc-pagination .current { padding:6px 12px; border:1px solid var(--whmc-line); border-radius:8px;
	text-decoration:none; color:inherit; font-size:13px; }
.whmc-pagination .current { background:var(--whmc-primary); color:#fff; border-color:var(--whmc-primary); font-weight:700; }

@media (max-width: 760px) {
	.whmc-hero { padding:24px 20px; }
	.whmc-checkout-grid { grid-template-columns:1fr; }
	.whmc-mobile-only { display:inline-flex; }
	.whmc-order-row { flex-direction:column; }
}

.whmc-verify-status{margin-top:10px;font-size:13px;font-weight:600;color:#2563eb;text-align:center}

/* Provisioning (payment verified, cPanel account being created) */
.whmc-badge-amber { background:#fef3c7; color:#92400e; display:inline-flex; align-items:center; gap:6px; }
.whmc-prov-strip { opacity:.92; }
.whmc-spinner { width:11px; height:11px; border:2px solid rgba(146,64,14,.35); border-top-color:#92400e; border-radius:50%; display:inline-block; animation:whmc-spin .7s linear infinite; }
@keyframes whmc-spin { to { transform:rotate(360deg); } }
.whmc-toast { position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:#065f46; color:#fff; padding:12px 20px; border-radius:10px; font-weight:600; box-shadow:0 8px 24px rgba(0,0,0,.2); opacity:0; transition:opacity .25s, transform .25s; z-index:9999; }
.whmc-toast.show { opacity:1; transform:translate(-50%,0); }

/* ---- Mobile responsiveness ---- */
.whmc-qr svg { max-width:100%; height:auto; }
.whmc img, .whmc svg { max-width:100%; }

@media (max-width:760px) {
	.whmc-hero { flex-direction:column; align-items:flex-start; }
	.whmc-hero-stats { width:100%; }
	.whmc-hero-stats .whmc-stat { flex:1; min-width:0; }
	.whmc-tabs { width:100%; }
	.whmc-pricing { grid-template-columns:1fr; }
	.whmc-grid { grid-template-columns:1fr; }
}

@media (max-width:480px) {
	.whmc-hero { padding:20px 16px; }
	.whmc-hero h2 { font-size:22px; }
	.whmc-hero p { font-size:14px; }
	.whmc-strip { padding:12px; }
	.whmc-strip-actions { flex-wrap:wrap; }
	.whmc-btn { padding:10px 14px; }
	.whmc-alert-row { flex-direction:column; align-items:flex-start; }
	.whmc-alert-row form, .whmc-alert-row .whmc-btn { width:100%; }
	.whmc-pass-form, .whmc-strip-form { flex-direction:column; }
	.whmc-pass-form button:not(.whmc-pass-eye), .whmc-strip-form button:not(.whmc-pass-eye) { width:100%; }
	.whmc-pass-eye { width:auto; }
	.whmc-upi-id { flex-direction:column; gap:6px; }
	.whmc-menu-items { min-width:160px; }
	.whmc-toast { left:12px; right:12px; bottom:16px; transform:translateY(20px); text-align:center; }
	.whmc-toast.show { transform:translateY(0); }
}

/* ---- Dashboard + tabs on mobile ---- */
@media (max-width:760px) {
	.whmc-tabs { width:100%; overflow-x:visible; }
	.whmc-tab { flex:1 1 0; padding:10px 8px; font-size:13px; text-align:center; }
	.whmc-hero { text-align:left; gap:16px; }
	.whmc-hero-text { width:100%; }
}
@media (max-width:480px) {
	.whmc-tabs { gap:4px; padding:4px; }
	.whmc-tab { padding:9px 6px; font-size:12px; }
	.whmc-stat { padding:12px 10px; min-width:0; }
	.whmc-stat-num { font-size:22px; }
	.whmc-strip-main { flex-wrap:wrap; }
	.whmc-strip-main .whmc-badge { flex-shrink:0; }
}
/* Very narrow: let 3 tabs wrap to 2 lines instead of squishing text */
@media (max-width:360px) {
	.whmc-tab { flex:1 1 40%; }
}

/* ---- Mobile: page padding + stacked orders table ---- */
.whmc { box-sizing:border-box; }
@media (max-width:760px) {
	.whmc { padding-left:20px; padding-right:20px; }
}
@media (max-width:560px) {
	.whmc-card { padding:16px; }
	.whmc-table thead { display:none; }
	.whmc-table, .whmc-table tbody, .whmc-table tr, .whmc-table td { display:block; width:100%; }
	.whmc-table tr { border:0.5px solid var(--whmc-line); border-radius:10px; padding:4px 12px; margin-bottom:10px; }
	.whmc-table tr:last-child { margin-bottom:0; }
	.whmc-table td { border:0; padding:8px 0; display:flex; align-items:center; justify-content:space-between; gap:12px; }
	.whmc-table td::before { content:attr(data-label); font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--whmc-mut); font-weight:600; }
	.whmc-table td.whmc-order-action { justify-content:flex-end; }
	.whmc-table td.whmc-order-action::before { display:none; }
	.whmc-table td.whmc-order-action:not(:has(a)) { display:none; }
	.whmc-table td.whmc-order-action .whmc-btn { width:100%; }
}

/* Storage progress row inside a service strip */
.whmc-strip-storage { margin-top:12px; }
/* No overflow clipping on the strip — it would hide the ⋮ dropdown. Long
   domains are already truncated by the ellipsis on .whmc-strip-id text. */
.whmc-strip { overflow:visible; }
.whmc-strip-id, .whmc-strip-id strong, .whmc-strip-id span { overflow:hidden; text-overflow:ellipsis; }
@media (max-width:480px) { .whmc-strip-actions { flex-wrap:wrap; } }

/* Hero stats: allow the third card to wrap on narrow screens */
.whmc-hero-stats { flex-wrap:wrap; }
@media (max-width:760px) { .whmc-hero-stats .whmc-stat { flex:1 1 90px; } }

/* Borderless My Orders table on desktop (stacked mobile cards keep their border) */
@media (min-width:561px) {
	.whmc-table th, .whmc-table td { border-bottom:0; }
}

/* [hidden] must beat the flex display on toggleable forms (key = change password) */
.whmc-strip-form[hidden], .whmc-pass-form[hidden], .whmc[hidden], [hidden] { display:none !important; }

/* Client-side orders pagination buttons */
.whmc-pagination button { padding:6px 12px; border:1px solid var(--whmc-line); border-radius:8px; background:#fff; color:inherit; font-size:13px; cursor:pointer; }
.whmc-pagination button.current { background:var(--whmc-primary); color:#fff; border-color:var(--whmc-primary); font-weight:700; }

/* Show/hide password eye inside the change-password input */
.whmc-pass-wrap { position:relative; flex:1; display:flex; min-width:0; }
.whmc-pass-wrap input { flex:1; padding-right:38px !important; }
.whmc-pass-eye { position:absolute; right:6px; top:50%; transform:translateY(-50%); background:none; border:0; cursor:pointer; color:var(--whmc-mut); padding:4px; line-height:1; font-size:14px; }
.whmc-pass-eye:hover { color:var(--whmc-ink); }

/* Nameservers modal */
.whmc-modal { position:fixed; inset:0; background:rgba(17,24,39,.5); display:flex; align-items:center; justify-content:center; z-index:10000; padding:20px; }
.whmc-modal[hidden] { display:none; }
.whmc-modal-box { background:#fff; border-radius:14px; padding:20px; width:100%; max-width:420px; box-shadow:0 20px 50px -12px rgba(0,0,0,.4); }
.whmc-modal-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.whmc-modal-head strong { font-size:16px; }
.whmc-modal-x { background:none; border:0; font-size:24px; line-height:1; cursor:pointer; color:var(--whmc-mut); }
.whmc-ns-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid var(--whmc-line); border-radius:10px; margin:8px 0; }
.whmc-ns-row code { font-size:13px; word-break:break-all; }

/* Single-column payment page + UPI app button */
.whmc-checkout-single { display:flex; flex-direction:column; gap:18px; max-width:520px; margin:0 auto; }
.whmc-payapp-btn { flex-direction:column; gap:6px; padding:12px 14px; height:auto; }
.whmc-upi-logos { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.whmc-upi-logo { font-size:12px; font-weight:700; background:#fff; border:1px solid var(--whmc-line); border-radius:6px; padding:2px 8px; letter-spacing:.01em; }
.whmc-cancel-btn { color:var(--whmc-red); border-color:#fecaca; }
.whmc-cancel-btn:hover { background:#fef2f2; border-color:#fca5a5; }

/* Buttons: never underline; theme-matched hover colours */
.whmc-btn, .whmc-btn:hover, .whmc-btn:focus, .whmc-btn:visited, .whmc-btn:active { text-decoration:none !important; }
.whmc-btn:hover { color:var(--whmc-ink); }
.whmc-btn-primary, .whmc-btn-primary:hover, .whmc-btn-primary:focus { color:#fff; }
.whmc-btn-ghost:hover { color:var(--whmc-primary); background:#e8f6fb; border-color:#c7d2fe; }

/* Sleek, borderless My Orders table (override theme table borders) */
.whmc-table, .whmc-table thead, .whmc-table tbody, .whmc-table tr, .whmc-table th, .whmc-table td { border:0 !important; background:none; }
.whmc-table { width:100%; border-collapse:collapse; }
.whmc-table thead th { padding:10px 14px; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:var(--whmc-mut); font-weight:600; text-align:left; }
.whmc-table tbody td { padding:14px; font-size:14px; vertical-align:middle; }
.whmc-table tbody tr + tr td { border-top:1px solid #f1f3f5 !important; }
.whmc-table tbody tr:hover td { background:#f9fafb; }
.whmc-table tbody tr:first-child td { border-top:0 !important; }
@media (min-width:561px) {
	.whmc-table th:first-child, .whmc-table td:first-child { padding-left:8px; }
	.whmc-table th:last-child, .whmc-table td:last-child { text-align:right; }
}

/* Reseller "Your cPanels" toolbar: live search (left) + sort/direction (right) */
.whmc-cp-toolbar { display:flex; align-items:center; justify-content:flex-end; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.whmc-cp-toolbar .whmc-cp-search {
	flex:0 1 240px;
	min-width:160px;
	min-height:38px;
	padding:8px 14px;
	border:1px solid var(--whmc-line,#e5e7eb);
	border-radius:8px;
	background:#fff;
	color:inherit;
	font-size:14px;
	box-sizing:border-box;
}
.whmc-cp-toolbar .whmc-cp-search:focus { outline:none; border-color:var(--whmc-accent,#1697bf); box-shadow:0 0 0 3px rgba(79,70,229,.15); }
.whmc-cp-toolbar .whmc-cp-sort { min-height:38px; border-radius:10px; padding:6px 12px; border:1px solid var(--whmc-line,#e5e7eb); background:#fff; font-size:14px; }
.whmc-cp-toolbar .whmc-cp-dir { min-height:38px; min-width:40px; border:1px solid var(--whmc-line,#e5e7eb); border-radius:10px; background:#fff; cursor:pointer; }
@media (max-width:560px){ .whmc-cp-search { flex:1 1 100%; margin-right:0; } }

/* cPanel card "Edit resources" dropdown (storage / bandwidth) */
.whmc-cp-actions .whmc-edit-menu summary { display:inline-flex; align-items:center; justify-content:center; min-height:38px; box-sizing:border-box; padding:0 12px; font-size:15px; font-weight:600; }
.whmc-cp-actions .whmc-edit-menu .whmc-menu-items { min-width:180px; }
.whmc-cp-actions .whmc-edit-menu .whmc-menu-items button { display:flex; align-items:center; gap:8px; }
.whmc-bw-unl { display:inline-flex; align-items:center; gap:6px; margin:0 6px; white-space:nowrap; color:var(--whmc-mut); }

/* ===================================================================== */
/* Auth pages: [whm_login] / [whm_register] — light theme (airbytehost)   */
/* ===================================================================== */
.whmc-auth { display: flex; justify-content: center; padding: 28px 16px; box-sizing: border-box;
	font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif; }
.whmc-auth * { box-sizing: border-box; }
.whmc-auth-card {
	width: 100%; max-width: 520px; background: #ffffff;
	border: 1px solid #e6ebf1; border-radius: 16px;
	padding: 34px 34px 30px; color: #4a5560;
	box-shadow: 0 10px 30px rgba(20,40,60,.06);
}
.whmc-auth-card-wide { max-width: 1120px; }
.whmc-auth-title { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: #16202b; line-height: 1.2; }
.whmc-auth-sub { margin: 0 0 22px; color: #6b7787; font-size: 15px; }
.whmc-auth-error {
	background: #fdecec; border: 1px solid #f5c2c2;
	color: #c0392b; padding: 11px 15px; border-radius: 10px; margin-bottom: 18px; font-size: 14px;
}
.whmc-auth-form label { display: block; color: #16202b; font-weight: 700; margin-bottom: 7px; font-size: 14px; }
.whmc-req { color: #e5484d; }
.whmc-opt { color: #8a97a4; font-weight: 400; font-size: 13px; }
.whmc-auth-form input[type="text"],
.whmc-auth-form input[type="email"],
.whmc-auth-form input[type="tel"],
.whmc-auth-form input[type="password"],
.whmc-auth-form select {
	width: 100%; background: #ffffff; border: 1px solid #d5dde5;
	border-radius: 10px; padding: 13px 15px; color: #16202b; font-size: 15px; line-height: 1.3;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.whmc-auth-form input::placeholder { color: #9aa7b4; }
.whmc-auth-form input:focus, .whmc-auth-form select:focus {
	outline: none; border-color: #1697bf; box-shadow: 0 0 0 3px rgba(22,151,191,.15);
}
.whmc-auth-form select { appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7787' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.whmc-auth-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 20px; }
.whmc-auth-field { display: flex; flex-direction: column; min-width: 0; }
.whmc-auth-actions { grid-column: 1 / -1; margin-top: 6px; }
.whmc-auth .whmc-btn-primary, .whmc-auth-submit {
	background: #1697bf; border: none; color: #fff; font-weight: 700; font-size: 16px;
	padding: 13px 26px; border-radius: 10px; cursor: pointer; min-width: 200px;
	transition: background .15s ease;
}
.whmc-auth .whmc-btn-primary:hover, .whmc-auth-submit:hover { background: #127ea0; }
.whmc-auth-login .whmc-auth-submit { width: 100%; }
.whmc-phone-wrap { display: flex; gap: 8px; }
.whmc-phone-cc { flex: 0 0 108px; }
.whmc-phone-wrap input { flex: 1 1 auto; }
.whmc-pass-wrap { position: relative; display: block; }
.whmc-pass-wrap input { padding-right: 44px; }
.whmc-pass-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	background: none; border: none; color: #8a97a4; cursor: pointer; padding: 6px; font-size: 15px; }
.whmc-auth-row-between { display: flex; justify-content: space-between; align-items: center; margin: 2px 0 18px; }
.whmc-auth-check { color: #4a5560; font-size: 14px; font-weight: 500 !important; display: inline-flex; align-items: center; gap: 7px; margin: 0 !important; }
.whmc-auth-check input { width: auto; }
.whmc-auth-link { color: #1697bf; text-decoration: none; font-size: 14px; }
.whmc-auth-link:hover { text-decoration: underline; }
.whmc-auth-alt { text-align: center; margin: 20px 0 0; color: #6b7787; font-size: 14px; }
.whmc-auth-alt a { color: #1697bf; text-decoration: none; font-weight: 600; }
.whmc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1024px) { .whmc-auth-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .whmc-auth-grid { grid-template-columns: 1fr; } .whmc-auth-card { padding: 26px 20px; } }

/* --- Auth pages: fix password eye (dashboard styles were bleeding in) + login spacing --- */
.whmc-auth .whmc-pass-wrap { position: relative; display: block; flex: none; }
.whmc-auth .whmc-pass-wrap input { flex: none; padding-right: 48px !important; }
.whmc-auth .whmc-pass-eye {
	position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	background: none !important; border: none !important; box-shadow: none !important;
	outline: none !important; color: #8a97a4 !important; padding: 6px; width: auto;
	cursor: pointer; line-height: 1; font-size: 15px; border-radius: 8px;
}
.whmc-auth .whmc-pass-eye i { color: inherit !important; }
.whmc-auth .whmc-pass-eye:hover, .whmc-auth .whmc-pass-eye:focus { color: #1697bf !important; }
/* Even vertical spacing in the stacked login form */
.whmc-auth-login .whmc-auth-form { display: flex; flex-direction: column; gap: 18px; }
.whmc-auth-login .whmc-auth-field { margin: 0; }
.whmc-auth-login .whmc-auth-row-between { margin: 0; }
.whmc-auth-login .whmc-auth-submit { margin-top: 2px; }

/* --- Public storefront ([whm_plans]) + checkout ([whm_checkout]) --- */
.whmc-plans { display: block; }
.whmc-plans-wrap { width: 100%; max-width: 1120px; margin: 0 auto;
	font-family: 'Inter', system-ui, -apple-system, "Segoe UI", sans-serif; }
.whmc-plans-h { font-size: 20px; font-weight: 800; color: #16202b; margin: 8px 0 16px; }
.whmc-plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-bottom: 32px; }
.whmc-plan-card { background: #fff; border: 1px solid #e6ebf1; border-radius: 16px; padding: 24px;
	display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(20,40,60,.05); }
.whmc-plan-card h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #16202b; }
.whmc-plan-price { font-size: 28px; font-weight: 800; color: #16202b; margin-bottom: 14px; }
.whmc-plan-price span { font-size: 14px; font-weight: 500; color: #6b7787; }
.whmc-plan-feat { list-style: none; margin: 0 0 18px; padding: 0; color: #4a5560; font-size: 14px; flex: 1; }
.whmc-plan-feat li { padding: 4px 0 4px 22px; position: relative; }
.whmc-plan-feat li::before { content: "✓"; position: absolute; left: 0; color: #1697bf; font-weight: 700; }
.whmc-plan-buy { display: inline-block; text-align: center; text-decoration: none; }
.whmc-co-summary { display: flex; justify-content: space-between; align-items: center; gap: 16px;
	background: #f5f9fb; border: 1px solid #e6ebf1; border-radius: 12px; padding: 16px 20px; margin: 6px 0 22px; }
.whmc-co-plan { display: block; font-size: 17px; font-weight: 700; color: #16202b; }
.whmc-co-type { display: block; font-size: 13px; color: #6b7787; }
.whmc-co-price { font-size: 24px; font-weight: 800; color: #16202b; white-space: nowrap; }
