/* Base Page Styles */
body {
	margin: 0;
	padding: 2rem 1rem;
	background-color: #f0f2f5; /* Soft off-white background */
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1d1d1f;
}

/* Center container */
.container {
	max-width: 500px;
	margin: 0 auto;
}

/* Person Card */
.card {
	background: #ffffff;
	border-radius: 16px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Soft shadow */
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.person-name {
	margin: 0 0 1.25rem 0;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

/* Days Row */
.days {
	display: flex;
	justify-content: space-between; /* Spreads days out evenly */
}

/* Individual Day Wrapper */
.day-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

/* Day Label (M, T, W, etc) */
.day-item label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #86868b;
	cursor: pointer;
	letter-spacing: 0.05em;
}

/* Custom Checkbox Styling */
.day-item input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	width: 40px;
	height: 40px;
	border: 2px solid #e5e5ea;
	border-radius: 12px;
	cursor: pointer;
	position: relative;
	transition: all 0.2s ease-in-out;
	background-color: #fafafa;
}

/* Hover state */
.day-item input[type="checkbox"]:hover {
	border-color: #007aff;
	background-color: #f0f7ff;
}

/* Checked state */
.day-item input[type="checkbox"]:checked {
	background-color: #007aff;
	border-color: #007aff;
}

/* The Checkmark */
.day-item input[type="checkbox"]:checked::after {
	content: '✓';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 20px;
	font-weight: bold;
}

/* Mobile responsiveness */
@media (max-width: 400px) {
	.day-item input[type="checkbox"] {
		width: 34px;
		height: 34px;
		border-radius: 10px;
	}
	.day-item input[type="checkbox"]:checked::after {
		font-size: 16px;
	}
}
