/**
 * InitOP HRMS Lite - Frontend Employee Portal Styles
 * Mobile-first, responsive, and touch-friendly.
 */

.initop-portal-wrap {
	max-width: 1100px;
	margin: 24px auto;
	padding: 0 16px;
	font-family: var(--initop-font);
}

/* Punch Card */
.initop-punch-card {
	background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
	color: #ffffff;
	border-radius: var(--initop-radius-lg);
	padding: 32px 24px;
	box-shadow: var(--initop-shadow-lg);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: 24px;
}

.initop-punch-greeting h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 6px 0;
	color: #ffffff;
}

.initop-punch-greeting p {
	margin: 0;
	font-size: 14px;
	opacity: 0.85;
}

.initop-punch-metrics {
	display: flex;
	gap: 24px;
	margin-top: 14px;
}

.initop-punch-metric-item {
	display: flex;
	flex-direction: column;
}

.initop-punch-metric-item span {
	font-size: 12px;
	opacity: 0.75;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.initop-punch-metric-item strong {
	font-size: 18px;
	font-weight: 700;
}

/* Punch Action Button */
.initop-punch-btn {
	background: #ffffff;
	color: #1e3a8a;
	font-size: 18px;
	font-weight: 700;
	padding: 16px 36px;
	border-radius: var(--initop-radius-full);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.initop-punch-btn:hover {
	transform: scale(1.03);
	box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.25);
}

.initop-punch-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.initop-punch-btn.checkout {
	background: #fee2e2;
	color: #dc2626;
}

.initop-punch-btn.completed {
	background: #ecfdf5;
	color: #059669;
	cursor: default;
}

/* Portal Grid */
.initop-portal-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

@media (max-width: 640px) {
	.initop-punch-card {
		flex-direction: column;
		text-align: center;
	}
	.initop-punch-metrics {
		justify-content: center;
	}
	.initop-punch-btn {
		width: 100%;
		justify-content: center;
	}
}
