@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.gpw-dashboard {
	--gpw-bg: #0e1720;
	--gpw-surface: #16212c;
	--gpw-surface-2: #1c2b38;
	--gpw-border: #263646;
	--gpw-teal: #2dd4bf;
	--gpw-teal-dim: #1b8f80;
	--gpw-gold: #f2b544;
	--gpw-text: #eaf1f5;
	--gpw-text-muted: #8ba0ae;
	--gpw-radius: 16px;
	--gpw-font-display: 'Space Grotesk', sans-serif;
	--gpw-font-body: 'Plus Jakarta Sans', sans-serif;

	font-family: var(--gpw-font-body);
	background: var(--gpw-bg);
	color: var(--gpw-text);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.35);
	max-width: 1400px;
	margin: 0 auto;
}

.gpw-dashboard * { box-sizing: border-box; }

.gpw-dashboard a { text-decoration: none; color: inherit; }

/* ---------- Header ---------- */
.gpw-header {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 18px 28px;
	background: linear-gradient(120deg, #10202a 0%, #0e1720 55%, #14212b 100%);
	border-bottom: 1px solid var(--gpw-border);
	position: relative;
}
.gpw-header::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px; height: 3px;
	background: linear-gradient(90deg, var(--gpw-teal), var(--gpw-gold), var(--gpw-teal));
	opacity: .8;
}
.gpw-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.gpw-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.gpw-logo-fallback {
	width: 40px; height: 40px; border-radius: 10px;
	background: linear-gradient(135deg, var(--gpw-teal), var(--gpw-gold));
	display: flex; align-items: center; justify-content: center;
	font-family: var(--gpw-font-display); font-weight: 700; color: #0e1720; font-size: 18px;
}
.gpw-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.gpw-brand-name { font-family: var(--gpw-font-display); font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.gpw-brand-tagline { font-size: 12px; color: var(--gpw-text-muted); }

.gpw-search {
	flex: 1;
	display: flex; align-items: center; gap: 10px;
	background: var(--gpw-surface);
	border: 1px solid var(--gpw-border);
	border-radius: 999px;
	padding: 10px 18px;
	max-width: 480px;
}
.gpw-search input {
	background: transparent; border: none; outline: none;
	color: var(--gpw-text); font-family: var(--gpw-font-body); font-size: 14px; width: 100%;
}
.gpw-search input::placeholder { color: var(--gpw-text-muted); }

.gpw-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gpw-user-name { font-size: 13px; color: var(--gpw-text-muted); }
.gpw-user img { border-radius: 50%; }

/* ---------- Body layout ---------- */
.gpw-body { display: flex; align-items: flex-start; }

.gpw-sidebar {
	width: 240px;
	flex-shrink: 0;
	padding: 22px 16px;
	border-right: 1px solid var(--gpw-border);
	background: var(--gpw-surface);
	min-height: 500px;
}
.gpw-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.gpw-nav-link {
	display: flex; align-items: center; gap: 10px;
	padding: 9px 12px; border-radius: 10px;
	font-size: 14px; color: var(--gpw-text-muted);
	transition: background .15s ease, color .15s ease;
}
.gpw-nav-link:hover { background: var(--gpw-surface-2); color: var(--gpw-text); }
.gpw-nav-link.active { background: rgba(45, 212, 191, 0.12); color: var(--gpw-teal); font-weight: 600; }
.gpw-nav-icon { font-size: 16px; width: 20px; text-align: center; }

.gpw-widget {
	background: var(--gpw-surface-2);
	border: 1px solid var(--gpw-border);
	border-radius: 12px;
	padding: 14px;
	margin-bottom: 14px;
}
.gpw-widget h4 {
	margin: 0 0 10px; font-family: var(--gpw-font-display);
	font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gpw-text-muted);
}
.gpw-stats-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gpw-stats-widget li { display: flex; justify-content: space-between; font-size: 13px; }
.gpw-stats-widget strong { color: var(--gpw-gold); font-family: var(--gpw-font-display); }

.gpw-recent-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gpw-recent-widget li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.gpw-recent-name { flex: 1; color: var(--gpw-text); }
.gpw-recent-time { color: var(--gpw-text-muted); font-size: 11px; }

/* ---------- Main / cards ---------- */
.gpw-main { flex: 1; padding: 22px 28px 36px; }

.gpw-hidden { display: none; }

.gpw-section-title {
	font-family: var(--gpw-font-display);
	font-size: 15px; letter-spacing: .06em;
	color: var(--gpw-text);
	margin: 26px 0 14px;
	padding-left: 12px;
	border-left: 3px solid var(--gpw-teal);
}
.gpw-category-block:first-child .gpw-section-title,
.gpw-section > .gpw-section-title:first-child { margin-top: 0; }

.gpw-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.gpw-card {
	position: relative;
	background: var(--gpw-surface);
	border: 1px solid var(--gpw-border);
	border-radius: var(--gpw-radius);
	padding: 20px 18px 18px;
	display: flex; flex-direction: column;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.gpw-card:hover {
	transform: translateY(-4px);
	border-color: var(--gpw-teal-dim);
	box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}
.gpw-card-icon { font-size: 28px; margin-bottom: 10px; }
.gpw-card-title { font-family: var(--gpw-font-display); font-size: 16px; margin: 0 0 6px; }
.gpw-card-desc { font-size: 12.5px; color: var(--gpw-text-muted); line-height: 1.45; margin: 0 0 14px; flex: 1; }

.gpw-card-status { font-size: 11.5px; margin-bottom: 12px; font-weight: 600; }
.gpw-status-active { color: #38d67a; }
.gpw-status-maintenance { color: var(--gpw-gold); }
.gpw-status-inactive { color: #7d8a94; }
.gpw-status-soon { color: #7aa8ff; }

.gpw-card-btn {
	display: inline-block; text-align: center;
	padding: 9px 12px; border-radius: 9px;
	background: var(--gpw-teal); color: #06251f !important;
	font-weight: 700; font-size: 12.5px; letter-spacing: .02em;
	transition: background .15s ease;
}
.gpw-card-btn:hover { background: #45e2cd; }
.gpw-card-btn-disabled { background: var(--gpw-surface-2); color: var(--gpw-text-muted) !important; cursor: not-allowed; }

.gpw-fav-btn {
	position: absolute; top: 14px; right: 14px;
	background: none; border: none; cursor: pointer;
	font-size: 18px; color: var(--gpw-text-muted);
	line-height: 1;
}
.gpw-fav-btn.is-fav, .gpw-fav-btn:hover { color: var(--gpw-gold); }

.gpw-empty { color: var(--gpw-text-muted); font-size: 14px; }

.gpw-login-notice { padding: 40px; text-align: center; background: var(--gpw-bg, #0e1720); color: #eaf1f5; border-radius: 16px; }

/* ---------- Footer ---------- */
.gpw-footer {
	padding: 14px 28px;
	border-top: 1px solid var(--gpw-border);
	background: var(--gpw-surface);
	font-size: 11.5px;
	color: var(--gpw-text-muted);
	text-align: center;
}
