/**
 * WHT Invoice Generator - Client Portal Styles
 */

.wht-ig-portal {
	max-width: 720px;
	margin: 0 auto;
	padding: 20px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wht-ig-portal__header {
	text-align: center;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 2px solid #e5e7eb;
}

.wht-ig-portal__header h2 {
	margin: 0 0 4px;
	color: #1a56db;
	font-size: 24px;
}

.wht-ig-portal__header p {
	margin: 0;
	color: #6b7280;
}

.wht-ig-portal__lookup {
	background: #fff;
	border-radius: 12px;
	padding: 32px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.wht-ig-portal__lookup h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.wht-ig-portal__lookup > p {
	color: #6b7280;
	margin-bottom: 24px;
}

.wht-ig-portal__field {
	margin-bottom: 16px;
}

.wht-ig-portal__field label {
	display: block;
	font-weight: 500;
	margin-bottom: 6px;
	font-size: 14px;
	color: #374151;
}

.wht-ig-portal__field input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	box-sizing: border-box;
}

.wht-ig-portal__field input:focus {
	border-color: #1a56db;
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.wht-ig-portal__btn {
	display: inline-block;
	padding: 12px 28px;
	background: #1a56db;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
}

.wht-ig-portal__btn:hover {
	background: #1e40af;
	color: #fff;
}

.wht-ig-portal__btn--small {
	padding: 8px 16px;
	font-size: 13px;
}

.wht-ig-portal__welcome {
	margin-bottom: 20px;
	color: #4b5563;
}

.wht-ig-portal__list {
	display: grid;
	gap: 16px;
}

.wht-ig-portal__card {
	background: #fff;
	border-radius: 10px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border-left: 4px solid #d1d5db;
}

.wht-ig-portal__card--pending { border-left-color: #d97706; }
.wht-ig-portal__card--paid { border-left-color: #059669; }

.wht-ig-portal__card-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}

.wht-ig-portal__card-main strong {
	font-size: 16px;
	color: #111827;
}

.wht-ig-portal__status {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 12px;
	background: #f3f4f6;
	color: #6b7280;
}

.wht-ig-portal__card--pending .wht-ig-portal__status {
	background: #fef3c7;
	color: #d97706;
}

.wht-ig-portal__card--paid .wht-ig-portal__status {
	background: #d1fae5;
	color: #059669;
}

.wht-ig-portal__card-meta {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 12px;
}

.wht-ig-portal__card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 12px;
	border-top: 1px solid #f3f4f6;
}

.wht-ig-portal__amount {
	font-size: 18px;
	color: #1a56db;
}

.wht-ig-portal__empty,
.wht-ig-portal-notice {
	text-align: center;
	padding: 40px 20px;
	background: #f9fafb;
	border-radius: 10px;
	color: #6b7280;
}

.wht-ig-portal-notice--error {
	background: #fee2e2;
	color: #dc2626;
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 8px;
	text-align: left;
}
