/* ===== MINIMALIST BLACK & WHITE FORMS & COMPONENTS ===== */

/* User sign-up, sign-in, and form styles */
#clearance.sign-up,
#clearance.sign-in,
#clearance.password-reset {
	max-width: 450px;
	margin: 4rem auto;
	background: #ffffff;
	border: 1px solid #f0f0f0;
	padding: 3rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
		sans-serif;
}

#clearance.sign-up h2,
#clearance.sign-in h2,
#clearance.password-reset h2 {
	text-align: center;
	color: #000000;
	margin-bottom: 2rem;
	font-size: 2.5rem;
	font-weight: 200;
	letter-spacing: -0.02em;
}

#clearance.password-reset p {
	text-align: center;
	color: #666666;
	margin-bottom: 2rem;
	font-weight: 300;
	line-height: 1.6;
}

.text-field,
.password-field {
	margin-bottom: 2rem;
}

.remember-me-field {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.remember-me-field label {
	margin: 0;
	font-weight: 400;
	font-size: 1rem;
}

.remember-me-field input[type="checkbox"] {
	margin: 0;
	width: 18px;
	height: 18px;
}

.text-field label,
.password-field label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.8rem;
	color: #000000;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.text-field input,
.password-field input {
	width: 100%;
	padding: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 0;
	font-size: 1rem;
	background: #ffffff;
	color: #000000;
	transition: all 0.2s ease;
	font-family: inherit;
}

.text-field input:focus,
.password-field input:focus {
	outline: none;
	border-color: #000000;
	background: #fafafa;
}

.text-field input::placeholder,
.password-field input::placeholder {
	color: #999999;
	font-weight: 300;
}

.anonymous-notes h4 {
	margin-top: 1.2rem;
}

.password-update {
	margin-top: 18px;
}

.text-field textarea {
	width: 100%;
	height: 150px;
	padding: 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 0;
	font-size: 1rem;
	background: #ffffff;
	color: #000000;
	transition: all 0.2s ease;
	font-family: inherit;
}

/* Form buttons */
input[type="submit"],
button[type="submit"],
.form-button {
	background: #000000;
	color: #ffffff;
	padding: 1rem 2rem;
	border: 2px solid #000000;
	border-radius: 0;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: 100%;
	margin-top: 1rem;
	font-family: inherit;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.form-button:hover {
	background: #ffffff;
	color: #000000;
	border-color: #000000;
}

/* Links in forms */
#clearance a {
	color: #000000;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: all 0.2s ease;
}

#clearance a:hover {
	border-bottom-color: #000000;
}

/* Form validation errors */
.field_with_errors {
	display: inline;
}

.field_with_errors input {
	border-color: #000000;
	background: #fafafa;
}

.form-textarea {
	width: 100%;
}

.private-note {
	background: #f9f9f9;
	border-left: 4px solid #d32f2f;
}
.note-privacy-label {
	font-size: 0.85em;
	color: #d32f2f;
	margin-left: 0.5em;
}

/* Flash messages */
.flash {
	padding: 1rem 2rem;
	margin: 1rem 0;
	border: 1px solid #e0e0e0;
	background: #fafafa;
	color: #000000;
	font-weight: 400;
	text-align: center;
}

.flash.notice {
	background: #ffffff;
	border-color: #000000;
	color: #000000;
}

.flash.alert {
	background: #000000;
	border-color: #000000;
	color: #ffffff;
}

.hero-illustration img {
	width: 48rem;
}

/* Tables */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	background: #ffffff;
	border: 1px solid #f0f0f0;
}

table th,
table td {
	padding: 1rem;
	text-align: left;
	border-bottom: 1px solid #f0f0f0;
	color: #000000;
}

table th {
	background: #fafafa;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.9rem;
}

table tr:hover {
	background: #fafafa;
}

/* Generic page containers */
.page-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 2rem;
	/* margin-top: 109px; */
	background: #ffffff;
	min-height: 100vh;
}

.content-section {
	margin-bottom: 4rem;
}

.content-section h1,
.content-section h2,
.content-section h3 {
	color: #000000;
	font-weight: 200;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
}

.content-section h1 {
	font-size: 3rem;
	margin-bottom: 2rem;
}

.content-section h2 {
	font-size: 2.5rem;
}

.content-section h3 {
	font-size: 2rem;
}

.content-section p {
	color: #666666;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-weight: 300;
}

/* Lists */
ul,
ol {
	color: #000000;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

ul li,
ol li {
	margin-bottom: 0.5rem;
	font-weight: 400;
}

.wishlist-actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	width: auto;
}

.wishlist-actions form .btn {
	margin: 0;
	vertical-align: middle;
}

/* Generic buttons */
.btn,
.button,
.btn.primary,
.button.primary,
.btn.secondary,
.button.secondary,
.btn.danger,
.button.danger {
	background: #000000;
	color: #ffffff;
	padding: 0.6rem 1.2rem;
	border: 2px solid #000000;
	border-radius: 0;
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-block;
	font-family: inherit;
	box-sizing: border-box;
}

.btn.danger,
.button.danger {
	background: #d32f2f;
	color: #fff;
	border: 2px solid #d32f2f;
}

.btn:hover,
.button:hover,
.btn.primary:hover,
.button.primary:hover,
.btn.secondary:hover,
.button.secondary:hover,
.btn.danger:hover,
.button.danger:hover {
	background: #ffffff;
	color: #000000;
	border-color: #000000;
}

.btn.secondary,
.button.secondary {
	background: transparent;
	color: #000000;
	border: 1px solid #e0e0e0;
}

.btn.secondary:hover,
.button.secondary:hover {
	background: #fafafa;
	border-color: #000000;
}

/* Responsive design */
@media (max-width: 768px) {
	#clearance.sign-up,
	#clearance.sign-in,
	#clearance.password-reset {
		margin: 2rem 1rem;
		padding: 2rem;
	}

	.content-section h1 {
		font-size: 2.5rem;
	}

	.content-section h2 {
		font-size: 2rem;
	}

	.content-section h3 {
		font-size: 1.8rem;
	}

	table {
		font-size: 0.9rem;
	}

	table th,
	table td {
		padding: 0.8rem;
	}
}

@media (max-width: 480px) {
	#clearance.sign-up,
	#clearance.sign-in,
	#clearance.password-reset {
		padding: 1.5rem;
	}

	#clearance.sign-up h2,
	#clearance.sign-in h2,
	#clearance.password-reset h2 {
		font-size: 2rem;
	}

	.text-field input,
	.password-field input {
		padding: 0.8rem;
	}

	input[type="submit"],
	button[type="submit"],
	.form-button,
	.btn,
	.button {
		padding: 0.8rem 1.5rem;
		font-size: 0.9rem;
	}
}

.sleek-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.sleek-card,
.wishlist-card {
	background: #fff;
	border-radius: 1.2rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
	padding: 2rem 1.5rem 1.5rem 1.5rem;
	min-height: 340px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: box-shadow 0.2s;
	width: 100%;
	max-width: 370px;
}

.sleek-card:hover {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.wishlist-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.wishlist-avatar {
	background: #000;
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wishlist-info {
	flex: 1;
}

.wishlist-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0;
}

.wishlist-author {
	font-size: 0.95rem;
	color: #888;
}

.wishlist-meta {
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
	color: #555;
}

.wishlist-description {
	font-size: 1rem;
	color: #333;
	margin-bottom: 1rem;
}

.items-preview {
	margin-bottom: 1rem;
}

.preview-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.preview-item {
	font-size: 0.97rem;
	color: #222;
	margin-bottom: 0.3rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.item-status {
	background: #ffe0e0;
	color: #d32f2f;
	border-radius: 0.5em;
	padding: 0.1em 0.5em;
	font-size: 0.85em;
}

.preview-more {
	font-size: 0.9rem;
	color: #888;
}

.wishlist-footer {
	margin-top: auto;
	text-align: right;
}

.text-field-inline {
	display: flex;
	margin-top: 2rem;
	align-items: center;
	gap: 0.5em;
}

.text-field-inline label {
	display: flex;
	align-items: center;
	line-height: 1.2;
}

.text-field-inline input[type="checkbox"] {
	margin: 0;
	margin-right: 12px;
	vertical-align: middle;
	width: 18px;
	height: 18px;
}

.remove-item-btn {
	margin-bottom: 2rem;
}

.notification-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: #000000;
	color: #fff;
	text-align: center;
	padding: 1rem 2rem;
	font-size: 1.1rem;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.notification-message {
	flex: 1;
}

.notification-close {
	background: none;
	border: none;
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	margin-left: 1rem;
}

.site-footer {
	background: #000000;
	color: #fff;
	padding: 2.5rem 0 1.5rem 0;
	margin-top: 1.4rem;
	font-size: 1rem;
	border-top: 1px solid #222;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
	padding: 0 2rem;
}

.footer-col {
	flex: 1 1 220px;
	min-width: 180px;
}

.footer-col h4 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #fff; /* White heading */
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 0.7em;
	color: #fff;
}

.footer-col a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s, text-decoration 0.2s;
	font-weight: 500;
}

.footer-col a:hover {
	color: #bbb;
	text-decoration: underline;
	background: none;
	padding: 0;
	border-radius: 0;
}

@media (max-width: 700px) {
	.footer-container {
		flex-direction: column;
		gap: 1.5rem;
		padding: 0 1rem;
	}
	.footer-col {
		min-width: 0;
	}
}

.actions-cell .btn,
.actions-cell .button {
	width: auto;
	min-width: 0;
	display: inline-block;
	margin: 0 0.2em 0 0;
	vertical-align: middle;
}
.actions-cell form {
	display: inline;
}

.latest-card {
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 1.2rem;
	padding: 2.5rem 2rem;
	margin-bottom: 3rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
	text-align: left;
}
.latest-title {
	font-size: 2rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: #000;
}
.latest-meta {
	color: #999;
	font-size: 0.95rem;
	margin-bottom: 1rem;
}
.latest-excerpt {
	color: #333;
	font-size: 1.1rem;
	margin-bottom: 2rem;
	font-weight: 300;
}
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}
.post-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 1rem;
	padding: 1.5rem 1.2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.post-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: #000;
	margin-bottom: 0.5rem;
}
.post-meta {
	color: #999;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}
.post-excerpt {
	color: #444;
	font-size: 1rem;
	margin-bottom: 1.2rem;
	font-weight: 300;
}
