/**
 * Shencob Volunteer Sign-Up — Public CSS
 * Brand: warm cream/terracotta, designed to fit a community-organization website
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

.shencob-vol-app, .shencob-vol-app * {
	box-sizing: border-box;
}

.shencob-vol-app {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #2b2420;
	background: #faf7f2;
	border-radius: 10px;
	overflow: hidden;
	max-width: 1100px;
	margin: 0 auto;
}

.shencob-vol-loading {
	padding: 60px 24px;
	text-align: center;
	color: #7a7265;
	font-size: 14px;
}

/* Header */
.shencob-vol-header {
	background: linear-gradient(180deg, #f1e9db 0%, #faf7f2 100%);
	border-bottom: 1px solid #e5ddcd;
	padding: 32px 28px 28px;
}
.shencob-vol-eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7a3b2e;
	margin-bottom: 8px;
}
.shencob-vol-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.1;
	color: #2b2420;
	margin: 0 0 10px;
}
.shencob-vol-intro {
	font-size: 15px;
	color: #5c544d;
	max-width: 600px;
	line-height: 1.55;
	margin: 0;
}

/* Job cards */
.shencob-vol-jobs {
	padding: 24px 28px;
	display: grid;
	gap: 18px;
}
.shencob-vol-jobs.has-cart {
	padding-bottom: 100px;
}
.shencob-vol-job {
	background: #fff;
	border: 1px solid #e5ddcd;
	border-radius: 10px;
	padding: 22px 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.shencob-vol-job-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
}
.shencob-vol-job-name {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 22px;
	font-weight: 600;
	color: #2b2420;
	margin: 0;
}
.shencob-vol-job-badge {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #7a3b2e;
	background: #f1e9db;
	padding: 3px 10px;
	border-radius: 20px;
}
.shencob-vol-job-desc {
	font-size: 14px;
	color: #5c544d;
	margin: 0 0 16px;
	line-height: 1.5;
}

/* Day blocks */
.shencob-vol-day {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #e5ddcd;
}
.shencob-vol-day-label {
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #2b2420;
	margin-bottom: 10px;
}
.shencob-vol-slot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 8px;
}
.shencob-vol-slot {
	padding: 12px 14px;
	border: 1px solid #d4c9b4;
	border-radius: 8px;
	background: #fff;
	text-align: left;
	transition: all 0.15s ease;
	font-family: inherit;
	cursor: pointer;
	display: block;
	width: 100%;
	min-width: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.shencob-vol-slot:hover:not(:disabled) {
	border-color: #7a3b2e;
	background: #fdf5f0;
}
.shencob-vol-slot.is-selected {
	border-color: #7a3b2e;
	background: #fdf5f0;
	box-shadow: 0 0 0 1px #7a3b2e;
}
.shencob-vol-slot.is-full {
	border-color: #e5ddcd;
	background: #f5f0e6;
	opacity: 0.65;
	cursor: not-allowed;
}
.shencob-vol-slot:disabled {
	cursor: not-allowed;
}
.shencob-vol-slot-time {
	display: flex;
	align-items: flex-start;
	gap: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #2b2420;
	margin-bottom: 4px;
	line-height: 1.35;
	overflow-wrap: break-word;
	word-break: break-word;
}
.shencob-vol-slot-time svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.shencob-vol-slot-time-icon {
	margin-right: 6px;
	opacity: 0.5;
}
.shencob-vol-slot-status {
	font-size: 11px;
	font-weight: 600;
	color: #7a3b2e;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.shencob-vol-slot.is-full .shencob-vol-slot-status {
	color: #7a7265;
}
.shencob-vol-slot-fill {
	font-size: 11px;
	color: #7a7265;
	margin-top: 2px;
}

/* Cart bar */
.shencob-vol-cart-bar {
	position: sticky;
	bottom: 0;
	background: #2b2420;
	color: #fff;
	padding: 14px 24px;
	margin: 0 -28px -24px;
	border-top: 1px solid #1a1513;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	z-index: 50;
	display: none;
}
.shencob-vol-cart-bar.is-visible {
	display: block;
	animation: shencobSlideUp 0.25s ease-out;
}
.shencob-vol-cart-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.shencob-vol-cart-count {
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.shencob-vol-checkout-btn {
	padding: 11px 22px;
	background: #d4a05a;
	color: #2b2420;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.shencob-vol-checkout-btn:hover { background: #c79550; }

@keyframes shencobSlideUp {
	from { transform: translateY(100%); opacity: 0; }
	to   { transform: translateY(0); opacity: 1; }
}

/* Modal */
.shencob-vol-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(43, 36, 32, 0.5);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 99999;
	overflow-y: auto;
}
.shencob-vol-modal {
	background: #fff;
	border-radius: 12px;
	padding: 30px 32px 26px;
	max-width: 500px;
	width: 100%;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	max-height: 92vh;
	overflow-y: auto;
}
.shencob-vol-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: transparent;
	border: none;
	color: #7a7265;
	padding: 6px;
	border-radius: 6px;
	cursor: pointer;
}
.shencob-vol-modal-close:hover { background: #faf7f2; }
.shencob-vol-modal-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 6px;
}
.shencob-vol-modal-lead {
	font-size: 14px;
	color: #5c544d;
	margin-bottom: 18px;
	line-height: 1.55;
}

/* Cart list inside modal */
.shencob-vol-cart-list {
	background: #faf7f2;
	border: 1px solid #e5ddcd;
	border-radius: 8px;
	padding: 6px;
	margin-bottom: 20px;
	max-height: 240px;
	overflow-y: auto;
}
.shencob-vol-cart-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border-bottom: 1px solid #f1e9db;
}
.shencob-vol-cart-item:last-child { border-bottom: none; }
.shencob-vol-cart-job {
	font-size: 14px;
	font-weight: 600;
	color: #2b2420;
	margin-bottom: 2px;
}
.shencob-vol-cart-time {
	font-size: 12px;
	color: #5c544d;
}
.shencob-vol-cart-remove {
	background: transparent;
	border: none;
	color: #8b2c2c;
	padding: 6px;
	border-radius: 5px;
	cursor: pointer;
}
.shencob-vol-cart-remove:hover { background: #fff; }

/* Form */
.shencob-vol-field { margin-bottom: 14px; }
.shencob-vol-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #5c544d;
	margin-bottom: 6px;
}
.shencob-vol-label-optional {
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.6;
}
.shencob-vol-input {
	width: 100%;
	padding: 10px 12px;
	font-size: 15px;
	border: 1px solid #d4c9b4;
	border-radius: 6px;
	background: #faf7f2;
	font-family: inherit;
	color: #2b2420;
}
.shencob-vol-input:focus {
	outline: 2px solid #7a3b2e;
	outline-offset: 2px;
}
.shencob-vol-honeypot {
	position: absolute;
	left: -10000px;
	top: -10000px;
	visibility: hidden;
}
.shencob-vol-submit {
	width: 100%;
	padding: 13px;
	background: #7a3b2e;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	margin-top: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.shencob-vol-submit:hover:not(:disabled) { background: #6a2f24; }
.shencob-vol-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.shencob-vol-privacy {
	font-size: 12px;
	color: #7a7265;
	text-align: center;
	margin-top: 14px;
	line-height: 1.5;
}

/* Toast */
.shencob-vol-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	padding: 14px 20px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	max-width: 560px;
	z-index: 100000;
}
.shencob-vol-toast.is-success { background: #2d5a3f; color: #fff; }
.shencob-vol-toast.is-error { background: #8b2c2c; color: #fff; }

/* Empty state */
.shencob-vol-empty {
	padding: 60px 24px;
	text-align: center;
	color: #7a7265;
}

/* Responsive */
@media (max-width: 600px) {
	.shencob-vol-title { font-size: 28px; }
	.shencob-vol-jobs { padding: 16px; }
	.shencob-vol-job { padding: 18px; }
	.shencob-vol-modal { padding: 24px; }
	.shencob-vol-slot-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
