/* Axiam Networks Client Portal Styles */
:root {
	--bg0: #F4FBFF;
	--bg1: #EAF6FF;
	--surface: #FFFFFF;
	--text: #0B1B2B;
	--muted: #516B85;
	--accent: #2AA8FF;
	--accent2: #6FD3FF;
	--border: rgba(11,27,43,.12);
	--shadow: 0 18px 60px rgba(10,40,70,.18);
	--radius-xl: 22px;
	--radius-lg: 18px;
	--ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
body {
	margin: 0;
	padding: 0;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: linear-gradient(180deg, var(--bg0), var(--bg1));
	color: var(--text);
	min-height: 100vh;
}

/* Authentication Pages */
.auth-container {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.auth-box {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 48px;
	max-width: 480px;
	width: 100%;
	box-shadow: var(--shadow);
}

.auth-logo {
	text-align: center;
	margin-bottom: 32px;
}

.auth-box h1 {
	font-size: 32px;
	font-weight: 800;
	margin: 0 0 8px;
	text-align: center;
}

.auth-subtitle {
	text-align: center;
	color: var(--muted);
	margin: 0 0 32px;
}

.auth-form .form-group {
	margin-bottom: 20px;
}

.auth-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 14px;
}

.form-control {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid var(--border);
	border-radius: 12px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.2s var(--ease);
}

.form-control:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(42, 168, 255, 0.1);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-row-space-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: 14px;
}

.btn {
	display: inline-block;
	padding: 14px 24px;
	border-radius: 12px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s var(--ease);
}

.btn-primary {
	background: linear-gradient(135deg, #1C82D6, #2AA8FF);
	color: white;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(28, 130, 214, 0.3);
}

.btn-block {
	display: block;
	width: 100%;
}

.btn-small {
	padding: 8px 16px;
	font-size: 13px;
}

.alert {
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 20px;
	font-size: 14px;
}

.alert-error {
	background: #fee;
	color: #c33;
	border: 1px solid #fcc;
}

.alert-success {
	background: #efe;
	color: #393;
	border: 1px solid #cfc;
}

.auth-footer {
	text-align: center;
	margin-top: 24px;
	font-size: 14px;
	color: var(--muted);
}

.auth-footer a {
	color: var(--accent);
	text-decoration: none;
	font-weight: 700;
}

.link-small {
	font-size: 14px;
	color: var(--accent);
	text-decoration: none;
}

/* Dashboard */
.dashboard-container,
.admin-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 40px 20px;
}

.welcome-text {
	color: var(--muted);
	margin-bottom: 32px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}

.stat-card {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 10px 30px rgba(10, 40, 70, 0.08);
}

.stat-card-highlight {
	background: linear-gradient(135deg, #1C82D6, #2AA8FF);
	color: white;
}

.stat-icon {
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: rgba(42, 168, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: var(--accent);
}

.stat-card-highlight .stat-icon {
	background: rgba(255, 255, 255, 0.2);
	color: white;
}

.stat-content h3 {
	margin: 0;
	font-size: 32px;
	font-weight: 900;
}

.stat-content p {
	margin: 4px 0 0;
	font-size: 14px;
	opacity: 0.8;
}

.quick-actions {
	display: flex;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.action-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 24px;
	background: var(--surface);
	border-radius: 12px;
	text-decoration: none;
	color: var(--text);
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(10, 40, 70, 0.08);
	transition: all 0.2s var(--ease);
}

.action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(10, 40, 70, 0.12);
}

.dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.dashboard-section {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: 0 10px 30px rgba(10, 40, 70, 0.08);
}

.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
}

.section-header h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 800;
}

.view-all {
	color: var(--accent);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}

.table-responsive {
	overflow-x: auto;
}

.table {
	width: 100%;
	border-collapse: collapse;
}

.table th {
	text-align: left;
	padding: 12px;
	border-bottom: 2px solid var(--border);
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.table td {
	padding: 12px;
	border-bottom: 1px solid var(--border);
}

.badge {
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.badge-unpaid { background: #fee; color: #c33; }
.badge-paid { background: #efe; color: #393; }
.badge-pending { background: #ffe; color: #c93; }
.badge-active { background: #efe; color: #393; }
.badge-suspended { background: #ffe; color: #c93; }
.badge-cancelled { background: #eee; color: #666; }

.empty-state {
	text-align: center;
	color: var(--muted);
	padding: 40px 20px;
}

.services-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.service-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: 12px;
}

.service-info h4 {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 800;
}

.service-meta {
	margin: 0;
	font-size: 13px;
	color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
	.auth-box { padding: 32px 24px; }
	.form-row { grid-template-columns: 1fr; }
	.dashboard-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: 1fr; }
	.quick-actions { flex-direction: column; }
	.action-btn { justify-content: center; }
}
