/* Redprick Frontend Styles */

:root {
	--redprick-primary: #0073aa;
	--redprick-secondary: #2c3e50;
	--redprick-success: #00a32a;
	--redprick-warning: #f39c12;
	--redprick-danger: #d63638;
	--redprick-light: #ecf0f1;
	--redprick-text: #34495e;
	--redprick-border: #ddd;
}

/* Toast Notifications */
@keyframes slideIn {
	from {
		transform: translateY(-20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

#teller_messages {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 400px;
	max-width: calc(100vw - 40px);
	z-index: 999999;
	pointer-events: none;
}

#teller_messages .notice {
	animation: slideIn 0.3s ease-out;
	pointer-events: auto;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	border-left: 4px solid;
}

#teller_messages .notice-success {
	border-left-color: var(--redprick-success);
}

#teller_messages .notice-error {
	border-left-color: var(--redprick-danger);
}

#teller_messages .notice-warning {
	border-left-color: var(--redprick-warning);
}

#teller_messages .notice-info {
	border-left-color: var(--redprick-primary);
}

#teller_messages .notice .notice-dismiss {
	position: absolute;
	top: 0;
	right: 0;
	padding: 9px;
	border: none;
	background: none;
	color: #787c82;
	cursor: pointer;
	text-decoration: none;
}

#teller_messages .notice .notice-dismiss:before {
	content: '\00d7';
	font-size: 20px;
	line-height: 20px;
	display: block;
	width: 20px;
	height: 20px;
}

#teller_messages .notice .notice-dismiss:hover {
	color: var(--redprick-danger);
}

#teller_messages .notice .screen-reader-text {
	position: absolute;
	left: -9999px;
}

/* ========================================
   SHARED CARD STYLES (Dashboard Pattern)
   ======================================== */

.redprick-dashboard-cards,
.redprick-banking-cards,
.redprick-positions-grid,
.redprick-my-positions-grid,
.redprick-volunteers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.redprick-dashboard-card,
.redprick-account-card,
.redprick-position-card,
.redprick-my-position-card,
.volunteer-card {
	background: #fff;
	border: 1px solid var(--redprick-border);
	border-radius: 4px;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.redprick-dashboard-card:hover,
.redprick-account-card:hover,
.redprick-position-card:hover,
.redprick-my-position-card:hover {
	box-shadow: 0 4px 8px rgba(0,0,0,0.12);
	transform: translateY(-2px);
}

.volunteer-card:hover {
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	transform: none;
}

.redprick-dashboard-card h3,
.redprick-account-card h3 {
	margin: 0 0 15px 0;
	font-size: 18px;
	border-bottom: 2px solid var(--redprick-primary);
	padding-bottom: 10px;
	color: var(--redprick-text);
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.redprick-dashboard-stat {
	font-size: 32px;
	font-weight: bold;
	color: var(--redprick-primary);
	margin: 10px 0;
}

.redprick-dashboard-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.redprick-dashboard-list li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.redprick-dashboard-list li:last-child {
	border-bottom: none;
}

.redprick-dashboard-alert {
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.redprick-dashboard-alert-icon {
	font-size: 24px;
	color: #856404;
}

.redprick-dashboard-alert-content {
	flex: 1;
}

.redprick-dashboard-alert-content strong {
	display: block;
	margin-bottom: 5px;
	color: #856404;
}

.redprick-dashboard-link {
	display: inline-block;
	margin-top: 10px;
	color: var(--redprick-primary);
	text-decoration: none;
}

.redprick-dashboard-link:hover {
	text-decoration: underline;
}

.redprick-dashboard-empty {
	color: #999;
	font-style: italic;
}

/* ========================================
   BANKING STYLES
   ======================================== */

.redprick-banking-frontend {
	margin: 0 0 30px 0;
}

.redprick-banking-cards {
	margin-top: 0;
}

.redprick-account-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	flex-wrap: wrap;
	gap: 10px;
}

.redprick-account-name {
	font-size: 1.2em;
	font-weight: bold;
	margin: 0;
	color: var(--redprick-text);
}

.redprick-account-balance {
	font-size: 1.4em;
	font-weight: bold;
}

.redprick-account-balance.positive {
	color: var(--redprick-success);
}

.redprick-account-balance.negative {
	color: var(--redprick-danger);
}

.redprick-account-actions {
	margin-top: 15px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.redprick-btn {
	background: var(--redprick-primary);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s ease;
}

.redprick-btn:hover {
	background: #135e96;
}

.redprick-btn-secondary {
	background: #666;
}

.redprick-btn-secondary:hover {
	background: #444;
}

.redprick-btn:disabled,
.redprick-btn-secondary:disabled {
	background: #e5e5e5;
	color: #999;
	cursor: not-allowed;
	opacity: 0.6;
}

.redprick-btn:disabled:hover,
.redprick-btn-secondary:disabled:hover {
	background: #e5e5e5;
}

/* ========================================
   EVENTS CARDS
   ======================================== */

.redprick-events-filters {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.redprick-filter-btn {
	padding: 10px 20px;
	background: #fff;
	border: 2px solid #ddd;
	border-radius: 4px;
	color: #666;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.redprick-filter-btn:hover {
	border-color: var(--redprick-primary);
	color: var(--redprick-primary);
	background: #f0f8fc;
}

.redprick-filter-btn.active {
	background: var(--redprick-primary);
	border-color: var(--redprick-primary);
	color: #fff;
}

.redprick-filter-btn.active:hover {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
}

.redprick-events-container {
	margin-top: 20px;
}

.redprick-events-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 24px;
}

.redprick-event-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.redprick-event-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: var(--redprick-primary);
}

.redprick-event-card-header {
	padding: 20px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.redprick-event-card-title {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.redprick-event-card-title h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #23282d;
	line-height: 1.4;
}

.redprick-ticket-type-badge {
	display: inline-block;
	padding: 4px 12px;
	background: #f5f5f5;
	color: #555;
	border-radius: 3px;
	font-size: 13px;
	font-weight: 500;
	align-self: flex-start;
}

.redprick-event-status {
	padding: 6px 14px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.redprick-event-status.upcoming {
	background-color: #e8f4f8;
	color: var(--redprick-primary);
}

.redprick-event-status.in-progress {
	background-color: #fff4e6;
	color: var(--redprick-warning);
}

.redprick-event-status.completed {
	background-color: #e8f5e9;
	color: var(--redprick-success);
}

.redprick-event-card-body {
	padding: 20px;
	flex: 1;
}

.redprick-event-info-grid {
	display: grid;
	gap: 16px;
}

.redprick-event-info-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.redprick-event-info-item .info-label {
	font-size: 12px;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.redprick-event-info-item .info-value {
	font-size: 14px;
	color: #23282d;
	font-weight: 500;
}

.redprick-event-info-item .checked-in {
	color: var(--redprick-success);
	font-weight: 600;
}

.redprick-event-info-item .not-checked-in {
	color: #999;
	font-weight: 500;
}

/* Full-width info items for positions and grants */
.redprick-event-info-item.redprick-event-info-full {
	grid-column: 1 / -1;
}

.redprick-event-info-item.redprick-event-info-full .info-value {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

/* Volunteer Position Items within Info Grid */
.redprick-event-info-item .redprick-position-item {
	background: #f9f9f9;
	padding: 12px;
	border-radius: 4px;
	border-left: 3px solid var(--redprick-primary);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.redprick-event-info-item .redprick-position-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}

.redprick-event-info-item .redprick-position-item strong {
	color: #23282d;
	font-size: 14px;
}

.redprick-event-info-item .redprick-position-item .position-department {
	display: inline-block;
	background: var(--redprick-success);
	color: white;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.redprick-event-info-item .redprick-position-status .redprick-volunteering-status {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.redprick-event-info-item .redprick-position-status .redprick-volunteering-status.assigned {
	background: #f0f0f0;
	color: #666;
}

.redprick-event-info-item .redprick-position-status .redprick-volunteering-status.checked-in {
	background: #d1e7dd;
	color: #0f5132;
}

.redprick-event-info-item .redprick-position-status .redprick-volunteering-status.checked-out {
	background: #fff3cd;
	color: #856404;
}

.redprick-event-info-item .redprick-position-status .redprick-volunteering-status.paid {
	background: var(--redprick-success);
	color: white;
}

.redprick-event-info-item .redprick-position-item small {
	color: #666;
	font-size: 12px;
	line-height: 1.4;
}

.redprick-event-info-item .redprick-position-pay {
	font-weight: 600;
	color: var(--redprick-success);
}

/* Land Grant Items within Info Grid */
.redprick-event-info-item .redprick-land-grant-item {
	background: #f9f9f9;
	padding: 12px;
	border-radius: 4px;
	border-left: 3px solid #d4a34a;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.redprick-event-info-item .redprick-land-grant-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}

.redprick-event-info-item .redprick-land-grant-item strong {
	color: #23282d;
	font-size: 14px;
}

.redprick-event-info-item .redprick-land-grant-item .land-grant-role {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.redprick-event-info-item .redprick-land-grant-item .land-grant-role.owner {
	background: #d4a34a;
	color: white;
}

.redprick-event-info-item .redprick-land-grant-item .land-grant-role.guest {
	background: #999;
	color: white;
}

.redprick-event-info-item .redprick-land-grant-item small {
	color: #666;
	font-size: 12px;
	line-height: 1.4;
}

.redprick-event-info-item .redprick-land-grants-alert {
	background: #fff3cd;
	border: 1px solid #ffc107;
	padding: 12px;
	border-radius: 4px;
	text-align: center;
}

.redprick-event-info-item .redprick-land-grants-alert p {
	margin: 0 0 12px 0;
	color: #856404;
	font-size: 13px;
}

.redprick-event-card-footer {
	padding: 16px 20px;
	border-top: 1px solid #eee;
	background: #fafafa;
	display: flex;
	gap: 10px;
	border-radius: 0 0 4px 4px;
}

.redprick-event-card-footer .redprick-btn {
	flex: 1;
}

/* Responsive: Events Cards */
@media (max-width: 768px) {
	.redprick-events-filters {
		flex-direction: row;
		gap: 8px;
	}
	
	.redprick-filter-btn {
		flex: 1;
		text-align: center;
		padding: 10px 16px;
		font-size: 13px;
	}
	
	.redprick-events-cards {
		grid-template-columns: 1fr;
	}
	
	.redprick-event-card-header {
		flex-direction: column;
		align-items: stretch;
	}
	
	.redprick-event-status {
		align-self: flex-start;
	}
	
	.redprick-event-card-footer {
		flex-direction: column;
	}
}

/* ========================================
   EVENTS TABLE STYLES (DEPRECATED - USING CARDS)
   ======================================== */

.woocommerce-table--my-account-events {
	width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
}

.woocommerce-table--my-account-events thead th {
	background-color: var(--redprick-text);
	color: white;
	padding: 12px;
	text-align: left;
	font-weight: 600;
}

.woocommerce-table--my-account-events tbody td {
	padding: 12px;
	border-bottom: 1px solid var(--redprick-light);
	vertical-align: middle;
}

.woocommerce-table--my-account-events tbody tr:hover {
	background-color: #f9f9f9;
}

.woocommerce-table--my-account-events .status span {
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 0.875em;
	font-weight: 600;
	display: inline-block;
}

.woocommerce-table--my-account-events .status .upcoming {
	background-color: var(--redprick-primary);
	color: white;
}

.woocommerce-table--my-account-events .status .in-progress {
	background-color: var(--redprick-warning);
	color: white;
}

.woocommerce-table--my-account-events .status .completed {
	background-color: var(--redprick-success);
	color: white;
}

.woocommerce-table--my-account-events .checked-in {
	color: var(--redprick-success);
	font-weight: 600;
}

.woocommerce-table--my-account-events .not-checked-in {
	color: #95a5a6;
	font-weight: 600;
}

.woocommerce-table--my-account-events .actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.woocommerce-table--my-account-events .actions button {
	padding: 6px 12px;
	font-size: 0.875em;
	white-space: nowrap;
	margin: 0;
}

/* ========================================
   MODAL STYLES
   ======================================== */

.redprick-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.redprick-modal.redprick-modal-active {
	display: block;
	opacity: 1;
}

.redprick-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	cursor: pointer;
}

.redprick-modal-container {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 1;
}

.redprick-modal-content {
	background: #fff;
	border-radius: 8px;
	max-width: 500px;
	width: 100%;
	max-height: 90vh;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.redprick-modal-active .redprick-modal-content {
	transform: scale(1);
}

.redprick-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px 20px;
	border-bottom: 1px solid #e5e5e5;
}

.redprick-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #23282d;
	line-height: 1.4;
}

.redprick-modal-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 4px;
	color: #666;
	cursor: pointer;
	transition: all 0.2s ease;
	flex-shrink: 0;
}

.redprick-modal-close:hover {
	background: #f5f5f5;
	color: #23282d;
}

.redprick-modal-close:active {
	background: #e5e5e5;
}

.redprick-modal-close svg {
	width: 20px;
	height: 20px;
}

.redprick-modal-body {
	padding: 24px;
	overflow-y: auto;
	max-height: calc(90vh - 160px);
}

.redprick-modal-description {
	margin: 0 0 24px;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

.redprick-modal-errors {
	display: none;
	padding: 12px 16px;
	margin: 16px 0 0;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 4px;
	color: var(--redprick-danger);
	font-size: 14px;
	line-height: 1.5;
}

.redprick-modal-errors:not(:empty) {
	display: block;
}

.redprick-modal-footer {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

.redprick-modal-footer .redprick-btn {
	min-width: 100px;
}

/* Modal Actions */
.redprick-modal-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e5e5e5;
}

.redprick-modal-actions .redprick-btn {
	min-width: 100px;
}

/* Unassigned Users Modal Styling */
.redprick-unassigned-users-loading {
	display: none;
	padding: 20px;
	text-align: center;
	color: #666;
}

.redprick-unassigned-users-empty,
.redprick-unassigned-users-error {
	text-align: center;
	padding: 20px;
	margin: 0;
}

.redprick-unassigned-users-error {
	color: #d32f2f;
}

.redprick-unassigned-users-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.redprick-unassigned-users-item {
	padding: 12px;
	border-bottom: 1px solid #e5e5e5;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.redprick-unassigned-users-item:last-child {
	border-bottom: none;
}

.redprick-unassigned-user-info {
	flex: 1;
	border-left: 2px solid var(--redprick-primary);
    border-radius: 5px;
    padding-left: 5px;
}

.redprick-unassigned-user-info strong {
	display: block;
	margin-bottom: 4px;
	color: #23282d;
	font-weight: 600;
}

.redprick-unassigned-user-info small {
	display: block;
	color: #666;
	font-size: 12px;
}

/* Responsive: Modal */
@media (max-width: 768px) {
	.redprick-modal-container {
		padding: 16px;
		align-items: flex-end;
	}
	
	.redprick-modal-content {
		max-width: 100%;
		border-radius: 12px 12px 0 0;
	}
	
	.redprick-modal-header {
		padding: 20px 20px 16px;
	}
	
	.redprick-modal-body {
		padding: 20px;
	}
	
	.redprick-modal-footer {
		flex-direction: column-reverse;
	}
	
	.redprick-modal-footer .redprick-btn {
		width: 100%;
		min-width: auto;
	}
}

.redprick-form-group {
	margin-bottom: 0;
}

.redprick-form-group label {
	display: block;
	margin-bottom: 8px;
	color: #23282d;
	font-size: 14px;
	font-weight: 600;
}

.redprick-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: #23282d;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.redprick-input:focus {
	outline: none;
	border-color: var(--redprick-primary);
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.redprick-input::placeholder {
	color: #999;
}

/* Old modal styles - deprecated */
.redprick-close {
	font-size: 28px;
	font-weight: bold;
	color: #666;
	cursor: pointer;
	border: none;
	background: none;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.redprick-close:hover {
	color: #000;
}

.redprick-form-group {
	margin-bottom: 15px;
}

.redprick-form-group label {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	color: var(--redprick-text);
}

.redprick-form-group input,
.redprick-form-group textarea,
.redprick-form-group select {
	width: 100%;
	padding: 8px;
	border: 1px solid var(--redprick-border);
	border-radius: 4px;
	font-size: 14px;
}

.redprick-form-group input:focus,
.redprick-form-group textarea:focus,
.redprick-form-group select:focus {
	outline: none;
	border-color: var(--redprick-primary);
	box-shadow: 0 0 5px rgba(0,115,170,0.3);
}

.redprick-form-group input[readonly] {
	background: #f5f5f5;
	color: #666;
	cursor: not-allowed;
}

.redprick-search-results {
	border: 1px solid var(--redprick-border);
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
	margin-top: 5px;
}

.redprick-search-result-item {
	padding: 10px;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.redprick-search-result-item:hover {
	background: #f0f0f0;
}

/* ========================================
   MESSAGE STYLES
   ======================================== */

.redprick-message {
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
	border-left: 4px solid;
}

.redprick-message.success {
	background: #d4edda;
	color: #155724;
	border-color: var(--redprick-success);
}

.redprick-message.error {
	background: #f8d7da;
	color: #721c24;
	border-color: var(--redprick-danger);
}

.redprick-message.warning {
	background: #fff3cd;
	color: #856404;
	border-color: #ffc107;
}

/* ========================================
   VOLUNTEERING POSITION STYLES
   ======================================== */

.redprick-volunteering {
	font-size: 1em;
	line-height: 1.6;
}

.redprick-volunteering h3 {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--redprick-text);
	margin: 30px 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--redprick-primary);
}

.redprick-volunteering h3:first-of-type {
	margin-top: 0;
}

.redprick-volunteering h4 {
	font-size: 1.15em;
	font-weight: 600;
	color: var(--redprick-text);
	margin: 20px 0 15px 0;
}

.redprick-my-positions-wrapper {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 2px solid #e8e8e8;
}

/* Position Filters */
.redprick-position-filters {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.redprick-filter-btn {
	padding: 10px 16px;
	background-color: #f5f5f5;
	color: #666;
	border: 1px solid var(--redprick-border);
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95em;
	transition: all 0.2s ease;
	cursor: pointer;
}

.redprick-filter-btn:hover {
	background-color: #efefef;
	border-color: #bbb;
	color: #333;
}

.redprick-filter-btn.active {
	background-color: var(--redprick-primary);
	color: white;
	border-color: var(--redprick-primary);
}

/* Position Cards */
.redprick-positions-grid,
.redprick-my-positions-grid {
	grid-template-columns: 1fr;
}

.redprick-card-header h3 {
	margin: 0 0 12px 0;
	font-size: 1.1em;
	font-weight: 600;
	color: var(--redprick-text);
	line-height: 1.3;
	border: none;
	padding: 0;
}

.redprick-card-pay {
	font-size: 0.9em;
	color: var(--redprick-primary);
	font-weight: 600;
}

.redprick-card-event {
	font-size: 0.85em;
	color: #999;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.redprick-card-time {
	font-size: 0.95em;
	color: #666;
	margin-bottom: 12px;
	font-weight: 500;
}

.redprick-card-description {
	font-size: 0.9em;
	color: #666;
	margin-bottom: 16px;
	line-height: 1.5;
}

.redprick-card-actions {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
}

.redprick-card-actions form {
	display: flex;
}

.redprick-volunteering-apply-btn {
	flex: 1;
	background-color: var(--redprick-primary);
	color: white;
	border: none;
	padding: 10px 16px;
	border-radius: 4px;
	font-size: 0.95em;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.redprick-volunteering-apply-btn:hover {
	background-color: #135e96;
}

.redprick-card-pay-status {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.redprick-card-pay-amount {
	font-size: 1.1em;
	font-weight: 600;
	color: var(--redprick-primary);
}

.redprick-volunteering-status {
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	text-align: center;
	display: inline-block;
}

.redprick-volunteering-status.assigned {
	background-color: #95a5a6;
	color: white;
}

.redprick-volunteering-status.checked-in {
	background-color: var(--redprick-success);
	color: white;
}

.redprick-volunteering-status.checked-out {
	background-color: var(--redprick-warning);
	color: white;
}

.redprick-volunteering-status.paid {
	background-color: var(--redprick-primary);
	color: white;
}

/* ========================================
   MANAGE VOLUNTEERS STYLES
   ======================================== */

.redprick-manage-volunteers-container {
	margin: 20px 0;
}

.redprick-manage-volunteers-container h3 {
	font-size: 1.5em;
	font-weight: 700;
	color: var(--redprick-text);
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--redprick-primary);
}

.volunteer-card {
	display: flex;
	flex-direction: column;
	padding: 0;
	overflow: hidden;
}

/* Card Header */
.card-header {
	padding: 16px;
	background-color: var(--redprick-text);
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.card-title {
	flex: 1;
}

.card-title strong {
	display: block;
	font-size: 1.1em;
	margin-bottom: 4px;
}

.card-subtitle {
	display: block;
	font-size: 0.9em;
	opacity: 0.9;
}

.card-status {
	flex-shrink: 0;
}

/* Status Badge */
.status-badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	text-align: center;
}

.status-badge.assigned {
	background-color: #95a5a6;
	color: white;
}

.status-badge.checked-in {
	background-color: var(--redprick-success);
	color: white;
}

.status-badge.checked-out {
	background-color: var(--redprick-warning);
	color: white;
}

.status-badge.paid {
	background-color: var(--redprick-primary);
	color: white;
}

/* Card Content */
.card-content {
	padding: 16px;
	flex: 1;
	display: grid;
	gap: 12px;
}

.info-label {
	font-size: 0.75em;
	text-transform: uppercase;
	color: #7f8c8d;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.volunteer-info,
.position-info,
.shift-info,
.pay-info {
	border-bottom: 1px solid #ecf0f1;
	padding-bottom: 12px;
}

.volunteer-info:last-child,
.position-info:last-child,
.shift-info:last-child,
.pay-info:last-child {
	border-bottom: none;
}

.volunteer-name {
	font-weight: 600;
	color: var(--redprick-text);
	margin-bottom: 3px;
}

.volunteer-email {
	font-size: 0.85em;
	color: #7f8c8d;
}

.position-name {
	color: var(--redprick-text);
	font-weight: 500;
}

.shift-time {
	color: var(--redprick-text);
	font-size: 0.95em;
}

.pay-info {
	background-color: #f0f8ff;
	padding: 10px;
	border-radius: 4px;
	border-left: 3px solid var(--redprick-primary);
	border-bottom: none;
}

.pay-amount {
	font-size: 1.1em;
	font-weight: 600;
	color: var(--redprick-primary);
}

/* Card Footer */
.card-footer {
	padding: 12px 16px;
	background-color: #f9f9f9;
	border-top: 1px solid #ecf0f1;
}

.volunteer-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

/* Action Buttons */
.btn-volunteer-action {
	display: inline-block;
	padding: 6px 12px;
	border: none;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	color: white;
}

.btn-volunteer-action:hover {
	opacity: 0.9;
	transform: translateY(-1px);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-volunteer-action:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.btn-checkin {
	background-color: var(--redprick-success);
}

.btn-checkin:hover:not(:disabled) {
	background-color: #229954;
}

.btn-checkout {
	background-color: var(--redprick-warning);
}

.btn-checkout:hover:not(:disabled) {
	background-color: #e67e22;
}

.btn-pay {
	background-color: var(--redprick-primary);
}

.btn-pay:hover:not(:disabled) {
	background-color: #135e96;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (min-width: 768px) {
	.redprick-positions-grid,
	.redprick-my-positions-grid {
		grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	}
}

@media (max-width: 767px) {
	/* Events Table Mobile */
	.woocommerce-table--my-account-events {
		font-size: 0.875em;
	}

	.woocommerce-table--my-account-events thead {
		display: none;
	}

	.woocommerce-table--my-account-events tbody tr {
		display: block;
		margin-bottom: 1.5em;
		border: 1px solid var(--redprick-light);
		border-radius: 4px;
		overflow: hidden;
	}

	.woocommerce-table--my-account-events tbody td {
		display: block;
		text-align: right;
		padding: 10px;
		position: relative;
		border: none;
		border-bottom: 1px solid #f0f0f0;
	}

	.woocommerce-table--my-account-events tbody td:last-child {
		border-bottom: none;
	}

	.woocommerce-table--my-account-events tbody td:before {
		content: attr(data-title);
		position: absolute;
		left: 10px;
		font-weight: 600;
		text-transform: uppercase;
		font-size: 0.75em;
		color: #666;
	}

	.woocommerce-table--my-account-events .actions {
		flex-direction: column;
		text-align: left;
	}

	.woocommerce-table--my-account-events .actions button {
		width: 100%;
	}

	/* Dashboard Cards Mobile */
	.redprick-dashboard-cards,
	.redprick-banking-cards {
		grid-template-columns: 1fr;
	}

	.redprick-account-header {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Volunteering Mobile */
	.redprick-volunteering h3 {
		font-size: 1.25em;
	}

	.card-header {
		flex-direction: column;
	}

	.card-status {
		width: 100%;
	}

	.volunteer-actions {
		flex-direction: column;
	}

	.btn-volunteer-action {
		width: 100%;
	}
}

/* ========================================
   TELLER INTERFACE (OVERLAY)
   ======================================== */

/* Teller access notice on banking page */
.redprick-teller-access-notice {
	margin-bottom: 24px;
	padding: 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 8px;
	text-align: center;
}

.redprick-btn-teller {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: #667eea;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.redprick-btn-teller:hover {
	background: #f0f0f0;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.2);
	color: #667eea;
}

.redprick-btn-teller .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

/* Teller Overlay - Full Screen */
.redprick-teller-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #f0f0f1;
	z-index: 999999;
	display: none;
	overflow: hidden;
}

.redprick-teller-fullscreen {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.redprick-teller-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.redprick-teller-topbar h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
}

#redprick-close-teller {
	background: #2271b1;
	color: #fff;
	border: none;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	border-radius: 3px;
	transition: background 0.2s ease;
}

#redprick-close-teller:hover {
	background: #135e96;
}

#redprick-teller-interface {
	flex: 1;
	overflow-y: auto;
	padding: 20px;
	background: #f0f0f1;
}

/* Ensure teller interface styles work in overlay */
#redprick-teller-interface .wrap {
	margin: 0;
	padding: 0;
	background: transparent;
}

#redprick-teller-interface .redprick-teller-grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 20px;
	margin-top: 0;
}

@media screen and (max-width: 1280px) {
	#redprick-teller-interface .redprick-teller-grid {
		grid-template-columns: 2fr 1fr;
	}
}

@media screen and (max-width: 782px) {
	#redprick-teller-interface .redprick-teller-grid {
		grid-template-columns: 1fr;
	}
	
	#redprick-teller-interface .redprick-teller-grid .quick-transaction-section {
		order: -1;
	}
}

#redprick-teller-interface .postbox {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}

#redprick-teller-interface .postbox h2,
#redprick-teller-interface .postbox .hndle {
	background: #fff;
	border-bottom: 1px solid #c3c4c7;
	padding: 16px 20px;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
}

#redprick-teller-interface .postbox .dashicons {
	color: #2271b1;
	font-size: 20px;
}

#redprick-teller-interface .inside {
	padding: 20px;
}

/* Form Elements */
#redprick-teller-interface input[type="text"],
#redprick-teller-interface input[type="number"],
#redprick-teller-interface select,
#redprick-teller-interface textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px 12px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#redprick-teller-interface input[type="text"]:focus,
#redprick-teller-interface input[type="number"]:focus,
#redprick-teller-interface select:focus,
#redprick-teller-interface textarea:focus {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
	outline: none;
}

#redprick-teller-interface input[type="text"]::placeholder,
#redprick-teller-interface input[type="number"]::placeholder,
#redprick-teller-interface textarea::placeholder {
	color: #8c8f94;
}

#redprick-teller-interface input[type="text"][readonly] {
	background: #f0f0f1;
	color: #50575e;
	cursor: not-allowed;
}

/* Form Paragraphs */
#redprick-teller-interface .form-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 16px;
}

#redprick-teller-interface .form-field:last-child {
	margin-bottom: 0;
}

#redprick-teller-interface form p {
	margin: 0 0 16px 0;
}

#redprick-teller-interface form p:last-child {
	margin-bottom: 0;
}

#redprick-teller-interface label {
	display: block;
	margin-bottom: 0;
	font-weight: 500;
	font-size: 14px;
	color: #1d2327;
}

/* Buttons */
#redprick-teller-interface .button,
#redprick-teller-interface .button-primary,
#redprick-teller-interface .button-secondary {
	padding: 8px 16px;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 4px;
	cursor: pointer;
	border: 1px solid;
	font-weight: 500;
	transition: all 0.2s ease;
	display: inline-block;
	text-decoration: none;
}

#redprick-teller-interface .button-primary {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

#redprick-teller-interface .button-primary:hover {
	background: #135e96;
	border-color: #135e96;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#redprick-teller-interface .button-primary:disabled {
	background: #a0a5aa;
	border-color: #a0a5aa;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

#redprick-teller-interface .button,
#redprick-teller-interface .button-secondary {
	background: #f0f0f1;
	border-color: #8c8f94;
	color: #2c3338;
}

#redprick-teller-interface .button:hover,
#redprick-teller-interface .button-secondary:hover {
	background: #fff;
	border-color: #2271b1;
	color: #2271b1;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#redprick-teller-interface .button:disabled,
#redprick-teller-interface .button-secondary:disabled {
	background: #f0f0f1;
	border-color: #dcdcde;
	color: #a0a5aa;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Search Results */
#redprick-teller-interface #quick_account_results,
#redprick-teller-interface #user_search_results,
#redprick-teller-interface #transfer_to_account_results {
	display: none;
	margin-top: 8px;
	padding: 8px;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	max-height: 250px;
	overflow-y: auto;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#redprick-teller-interface .account-result,
#redprick-teller-interface .user-result,
#redprick-teller-interface .transfer-account-result,
#redprick-teller-interface .user-account {
	padding: 10px 12px;
	margin-bottom: 6px;
	cursor: pointer;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	transition: all 0.2s ease;
	display: grid;
	grid-template-columns: 1fr max-content;
	gap: 12px;
	align-items: center;
}

/* User accounts have different grid for buttons */
#redprick-teller-interface .user-account {
	grid-template-columns: 1fr;
	gap: 8px;
}

#redprick-teller-interface .user-account .account-info {
	display: grid;
	grid-template-columns: 1fr max-content;
	gap: 12px;
	align-items: center;
}

#redprick-teller-interface .user-account .account-actions {
	display: flex;
	gap: 6px;
	justify-content: flex-end;
}

#redprick-teller-interface .user-account .account-actions .button {
	padding: 4px 8px;
	font-size: 12px;
	line-height: 1.4;
}

#redprick-teller-interface .account-result:hover,
#redprick-teller-interface .user-result:hover,
#redprick-teller-interface .transfer-account-result:hover,
#redprick-teller-interface .user-account:hover {
	background: #fff;
	border-color: #2271b1;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#redprick-teller-interface .account-result:last-child,
#redprick-teller-interface .user-result:last-child,
#redprick-teller-interface .transfer-account-result:last-child,
#redprick-teller-interface .user-account:last-child {
	margin-bottom: 0;
}

#redprick-teller-interface .account-result strong,
#redprick-teller-interface .user-result strong,
#redprick-teller-interface .transfer-account-result strong,
#redprick-teller-interface .user-account strong {
	display: block;
	color: #1d2327;
	font-size: 14px;
}

#redprick-teller-interface .user-result small {
	color: #50575e;
	font-size: 13px;
}

/* User Info Container */
#redprick-teller-interface #user_info_container {
	margin-top: 20px;
	padding: 16px;
	background: #f0f6fc;
	border: 1px solid #c3d9f0;
	border-radius: 4px;
}

#redprick-teller-interface #user_info {
	margin-bottom: 16px;
	padding-bottom: 16px;
}

#redprick-teller-interface #user_info strong {
	font-size: 16px;
	color: #1d2327;
}

#redprick-teller-interface #user_info small {
	color: #50575e;
	display: block;
	margin-top: 4px;
}

/* User Accounts - Selected State */
#redprick-teller-interface .user-account[style*="border-color: rgb(34, 113, 177)"],
#redprick-teller-interface .user-account[style*="border-color:#2271b1"] {
	background: #f0f6fc;
	border-color: #2271b1 !important;
	box-shadow: 0 2px 8px rgba(34, 113, 177, 0.2);
}

/* User Management Buttons */
#redprick-teller-interface #user_deposit_btn,
#redprick-teller-interface #user_withdraw_btn,
#redprick-teller-interface #user_transfer_btn,
#redprick-teller-interface #user_activity_btn,
#redprick-teller-interface #create_account_btn {
	margin-right: 8px;
	margin-bottom: 8px;
}

/* Messages */
#redprick-teller-interface #teller_messages {
	margin-bottom: 20px;
}

#redprick-teller-interface .notice {
	margin: 0 0 16px 0;
	padding: 12px 16px;
	border-left: 4px solid;
	border-radius: 4px;
}

#redprick-teller-interface .notice-success {
	background: #edfaef;
	border-left-color: #00a32a;
	color: #1d2327;
}

#redprick-teller-interface .notice-error {
	background: #fcf0f1;
	border-left-color: #d63638;
	color: #1d2327;
}

#redprick-teller-interface .notice p {
	margin: 0;
	font-size: 14px;
}

@media screen and (max-width: 782px) {
	#redprick-teller-interface .redprick-teller-grid {
		grid-template-columns: 1fr;
	}
	
	.redprick-teller-topbar {
		padding: 12px 16px;
	}
	
	.redprick-teller-topbar h2 {
		font-size: 18px;
	}
}

/* ========================================
   TELLER MODALS
   ======================================== */

/* Modal styling for transfer and activity modals */
#redprick-teller-interface #transfer_modal,
#redprick-teller-interface #activity_modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(3px);
	z-index: 100000;
	align-items: center;
	justify-content: center;
}

#redprick-teller-interface #transfer_modal > div,
#redprick-teller-interface #activity_modal > div {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-width: 600px;
	width: 90%;
	max-height: 85vh;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

#redprick-teller-interface #activity_modal > div {
	max-width: 700px;
}

/* Modal header */
#redprick-teller-interface #transfer_modal > div > div:first-child,
#redprick-teller-interface #activity_modal > div > div:first-child {
	padding: 20px 24px !important;
	border-bottom: 1px solid #ddd !important;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
	border-radius: 8px 8px 0 0 !important;
}

#redprick-teller-interface #transfer_modal h2,
#redprick-teller-interface #activity_modal h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: #fff !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	display: flex;
	align-items: center;
	gap: 10px;
}

#redprick-teller-interface #transfer_modal h2 .dashicons,
#redprick-teller-interface #activity_modal h2 .dashicons {
	color: #fff !important;
	font-size: 24px;
	width: 24px;
	height: 24px;
}

/* Modal close button in header */
#redprick-teller-interface #activity_close_btn {
	background: rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
	padding: 8px 16px !important;
	font-weight: 500 !important;
	border-radius: 4px !important;
	cursor: pointer;
	transition: all 0.2s ease;
}

#redprick-teller-interface #activity_close_btn:hover {
	background: rgba(255, 255, 255, 0.3) !important;
	transform: translateY(-1px);
}

/* Modal body */
#redprick-teller-interface #transfer_modal > div > div:last-child,
#redprick-teller-interface #activity_modal > div > div:last-child {
	padding: 24px !important;
	overflow-y: auto;
	flex: 1;
}

/* Activity Cards */
.redprick-activity-card {
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 10px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	transition: all 0.2s ease;
}

.redprick-activity-card:hover {
	background: #fff;
	border-color: #2271b1;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.redprick-activity-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	flex-shrink: 0;
}

.redprick-activity-content {
	min-width: 0;
}

.redprick-activity-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 4px;
}

.redprick-activity-action {
	font-weight: 600;
	font-size: 14px;
	color: #1d2327;
}

.redprick-activity-date {
	font-size: 12px;
	color: #757575;
	white-space: nowrap;
}

.redprick-activity-detail {
	font-size: 13px;
	color: #50575e;
	margin: 4px 0;
	line-height: 1.5;
}

.redprick-activity-user {
	font-size: 12px;
	color: #2271b1;
	font-weight: 500;
}

@media screen and (max-width: 600px) {
	.redprick-activity-card {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	
	.redprick-activity-icon {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}
	
	.redprick-activity-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
}

.redprick-btn-teller:hover {
	background: #f5f5f5;
	color: #5568d3;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.redprick-btn-teller .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
}

/* Full-width teller page styles */
.redprick-teller-page .woocommerce-MyAccount-navigation {
	display: none;
}

.redprick-teller-page .woocommerce-MyAccount-content {
	width: 100%;
	float: none;
}

.redprick-frontend-teller-wrapper {
	margin: -20px;
	padding: 0;
}

.redprick-teller-header {
	background: #fff;
	padding: 16px 20px;
	border-bottom: 2px solid #e5e5e5;
	margin-bottom: 20px;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.redprick-exit-teller {
	font-size: 14px;
	padding: 8px 16px;
}

/* Make teller interface full-width */
.redprick-teller-page .woocommerce {
	max-width: 100%;
}

.redprick-teller-page .woocommerce-MyAccount-content > div {
	max-width: 100%;
}

/* Adjust admin teller styles for frontend */
.redprick-frontend-teller-wrapper .wrap {
	margin: 0;
	padding: 20px;
	background: #f5f5f5;
	min-height: calc(100vh - 200px);
}

.redprick-frontend-teller-wrapper .wrap > h1 {
	font-size: 28px;
	font-weight: 600;
	color: #23282d;
	margin: 0 0 20px;
	padding-bottom: 16px;
	border-bottom: 2px solid #e5e5e5;
}

/* Responsive: Teller Interface */
@media (max-width: 782px) {
	.redprick-frontend-teller-wrapper {
		margin: -16px;
	}
	
	.redprick-teller-header {
		padding: 12px 16px;
	}
	
	.redprick-frontend-teller-wrapper .wrap {
		padding: 16px;
	}
	
	.redprick-frontend-teller-wrapper .wrap > h1 {
		font-size: 24px;
	}
}

/* Volunteer Positions Section */
.redprick-volunteer-positions-section {
	margin-top: 16px;
	padding: 16px;
	background: #f8f9fa;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.redprick-volunteer-positions-section h4 {
	margin: 0 0 12px 0;
	font-size: 16px;
	font-weight: 600;
	color: #23282d;
	border-bottom: 2px solid var(--redprick-primary);
	padding-bottom: 8px;
}

.redprick-positions-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.redprick-position-item {
	padding: 12px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.redprick-position-item strong {
	font-size: 15px;
	color: #23282d;
}

.redprick-position-item small {
	color: #666;
	font-size: 13px;
}

.position-department {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 8px;
	background: #e8f5e9;
	color: #2e7d32;
}

/* Land Grants Section */
.redprick-land-grants-section {
	margin-top: 16px;
	padding: 16px;
	background: #f8f9fa;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.redprick-land-grants-section h4 {
	margin: 0 0 12px 0;
	font-size: 16px;
	font-weight: 600;
	color: #23282d;
	border-bottom: 2px solid var(--redprick-primary);
	padding-bottom: 8px;
}

.redprick-land-grants-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.redprick-land-grant-item {
	padding: 12px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.redprick-land-grant-item strong {
	font-size: 15px;
	color: #23282d;
}

.redprick-land-grant-item small {
	color: #666;
	font-size: 13px;
}

.land-grant-role {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 8px;
}

.land-grant-role.owner {
	background: #e3f2fd;
	color: #0073aa;
}

.land-grant-role.guest {
	background: #f5f5f5;
	color: #666;
}

.redprick-land-grants-alert {
	padding: 16px;
	background: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	text-align: center;
}

.redprick-land-grants-alert p {
	margin: 0 0 12px 0;
	color: #856404;
}

/* Land Grants Modal */
.redprick-land-grants-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 100000;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.redprick-land-grants-modal.active {
	display: flex;
}

.redprick-land-grants-modal-content {
	background: #fff;
	border-radius: 8px;
	max-width: 800px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.redprick-land-grants-modal-header {
	padding: 20px 24px;
	border-bottom: 1px solid #e0e0e0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8f9fa;
	border-radius: 8px 8px 0 0;
}

.redprick-land-grants-modal-header h3 {
	margin: 0;
	font-size: 20px;
	color: #23282d;
}

.redprick-land-grants-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.2s;
}

.redprick-land-grants-modal-close:hover {
	background: #e0e0e0;
	color: #333;
}

.redprick-land-grants-modal-body {
	padding: 24px;
}

.redprick-land-grants-map {
	margin-bottom: 24px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.redprick-land-grants-map iframe {
	width: 100%;
	min-height: 400px;
	border: none;
	display: block;
}

.redprick-parcels-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 16px;
}

.redprick-parcel-card {
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 16px;
	background: #fff;
	transition: all 0.2s;
}

.redprick-parcel-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: var(--redprick-primary);
}

.redprick-parcel-card.owned {
	background: #f0f8ff;
	border-color: var(--redprick-primary);
}

.redprick-parcel-header {
	margin-bottom: 12px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.redprick-parcel-header h4,
.redprick-parcel-name {
	margin: 0;
	font-size: 16px;
	color: #23282d;
	flex: 1;
	font-weight: 600;
}

.redprick-parcel-cost {
	color: #23282d;
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

.redprick-parcel-info {
	font-size: 14px;
	color: #666;
	margin-bottom: 16px;
	line-height: 1.6;
}

.redprick-parcel-info-item {
	margin-bottom: 6px;
}

.redprick-parcel-info-item strong {
	color: #23282d;
}

.redprick-parcel-footer {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #e0e0e0;
}

.redprick-parcel-purchase-btn {
	width: 100%;
	padding: 12px 24px;
	background: var(--redprick-primary);
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.redprick-parcel-purchase-btn:hover:not(:disabled) {
	background: #005a87;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 115, 170, 0.3);
}

.redprick-parcel-purchase-btn:disabled {
	background: #999;
	cursor: not-allowed;
	opacity: 0.6;
}

.redprick-parcel-owned-badge {
	display: inline-block;
	background: #00a32a;
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 8px;
}

.redprick-parcel-actions {
	display: flex;
	gap: 8px;
}

.redprick-parcel-actions button {
	flex: 1;
}

.redprick-modal-empty {
	text-align: center;
	padding: 40px 20px;
	color: #666;
}

@media (max-width: 782px) {
	.redprick-parcels-grid {
		grid-template-columns: 1fr;
	}

	.redprick-land-grants-modal-content {
		max-height: 95vh;
	}
}

/* ==========================================================================
   Land Grants: Manage Users Modal
   ========================================================================== */

.redprick-land-grant-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.redprick-btn-small {
	display: inline-block;
	padding: 6px 12px;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}

.redprick-btn-small:hover {
	background: #005a87;
	color: #fff;
	text-decoration: none;
}

.redprick-manage-parcel-users-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.redprick-manage-parcel-users-modal.active {
	display: flex;
}

.redprick-manage-parcel-users-modal-content {
	background: #fff;
	border-radius: 8px;
	max-width: 600px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.redprick-manage-parcel-users-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	border-bottom: 1px solid #e5e5e5;
}

.redprick-manage-parcel-users-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #23282d;
}

.redprick-manage-parcel-users-modal-close {
	background: none;
	border: none;
	font-size: 28px;
	color: #666;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.2s;
}

.redprick-manage-parcel-users-modal-close:hover {
	background: #e0e0e0;
	color: #333;
}

.redprick-manage-parcel-users-modal-body {
	padding: 24px;
}

.redprick-user-search-section {
	margin-bottom: 30px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e5e5e5;
}

.redprick-user-search-section h4 {
	margin: 0 0 16px 0;
	font-size: 15px;
	font-weight: 600;
	color: #23282d;
}

.redprick-user-search-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 8px;
}

.redprick-user-search-input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
}

.redprick-role-selection {
	display: flex;
	gap: 20px;
	margin-bottom: 12px;
}

.redprick-role-selection label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	font-size: 14px;
	color: #555;
}

.redprick-role-selection input[type="radio"] {
	margin: 0;
}

#redprick-user-search-results {
	position: relative;
	margin-top: 8px;
}

.redprick-search-results-list {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	max-height: 200px;
	overflow-y: auto;
}

.redprick-search-user-item {
	padding: 10px 12px;
	cursor: pointer;
	transition: background 0.15s ease;
	border-bottom: 1px solid #f5f5f5;
}

.redprick-search-user-item:last-child {
	border-bottom: none;
}

.redprick-search-user-item:hover {
	background: #f5f5f5;
}

.redprick-search-user-item strong {
	display: block;
	color: #23282d;
	font-size: 14px;
	margin-bottom: 2px;
}

.redprick-user-email {
	display: block;
	color: #666;
	font-size: 12px;
}

.redprick-current-users-section h4 {
	margin: 0 0 16px 0;
	font-size: 15px;
	font-weight: 600;
	color: #23282d;
}

.redprick-users-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.redprick-user-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	background: #f9f9f9;
	border-radius: 4px;
	margin-bottom: 8px;
}

.redprick-user-item:last-child {
	margin-bottom: 0;
}

.redprick-user-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.redprick-user-name {
	font-size: 14px;
	font-weight: 500;
	color: #23282d;
}

.redprick-user-role {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 3px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.redprick-role-owner {
	background: #0073aa;
	color: #fff;
}

.redprick-role-guest {
	background: #f0f0f1;
	color: #50575e;
}

.redprick-btn-remove {
	padding: 6px 12px;
	background: #dc3232;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease;
}

.redprick-btn-remove:hover {
	background: #ba2020;
}

.redprick-no-users,
.redprick-no-results,
.redprick-loading,
.redprick-error {
	padding: 16px;
	text-align: center;
	color: #666;
	font-size: 14px;
}

.redprick-error {
	color: #dc3232;
}

.redprick-loading {
	color: #0073aa;
}

@media (max-width: 782px) {
	.redprick-manage-parcel-users-modal-content {
		max-height: 95vh;
	}

	.redprick-land-grant-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.redprick-btn-small {
		width: 100%;
		text-align: center;
	}
}
/* Volunteering Positions Modal */
.redprick-volunteering-positions-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 100000;
justify-content: center;
align-items: center;
}

.redprick-volunteering-positions-modal.active {
display: flex;
}

.redprick-volunteering-positions-modal-content {
background: #fff;
border-radius: 8px;
max-width: 800px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.redprick-volunteering-positions-modal-header {
padding: 20px 24px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}

.redprick-volunteering-positions-modal-header h3 {
margin: 0;
font-size: 20px;
color: #23282d;
}

.redprick-volunteering-positions-modal-close {
background: none;
border: none;
font-size: 28px;
cursor: pointer;
color: #666;
padding: 0;
line-height: 1;
}

.redprick-volunteering-positions-modal-close:hover {
color: #000;
}

.redprick-volunteering-positions-modal-body {
padding: 24px;
}

.redprick-positions-modal-list {
display: flex;
flex-direction: column;
gap: 15px;
}

.redprick-position-modal-item {
background: #f9f9f9;
padding: 15px;
border-radius: 4px;
border-left: 3px solid var(--redprick-primary);
}

.redprick-position-modal-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 10px;
gap: 15px;
}

.redprick-position-modal-header strong {
font-size: 16px;
color: #23282d;
}

.redprick-position-modal-header .position-department {
display: inline-block;
background: var(--redprick-success);
color: white;
padding: 3px 10px;
border-radius: 3px;
font-size: 11px;
font-weight: 600;
margin-left: 10px;
text-transform: uppercase;
}

.redprick-position-pay-amount {
font-size: 18px;
font-weight: bold;
color: var(--redprick-success);
white-space: nowrap;
}

.redprick-position-modal-description {
color: #666;
margin: 8px 0;
font-size: 14px;
line-height: 1.5;
}

.redprick-position-modal-time {
color: #666;
margin: 5px 0 10px 0;
font-size: 13px;
}

.redprick-position-modal-item .redprick-btn {
margin-top: 10px;
}

/* Transfer Modal */
.redprick-transfer-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 100000;
align-items: center;
justify-content: center;
padding: 20px;
}

.redprick-transfer-modal-content {
background: #fff;
border-radius: 8px;
max-width: 500px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.redprick-transfer-modal-header {
padding: 20px 24px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}

.redprick-transfer-modal-header h3 {
margin: 0;
font-size: 20px;
color: #23282d;
}

.redprick-modal-close {
background: none;
border: none;
font-size: 28px;
color: #666;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 4px;
transition: all 0.2s;
}

.redprick-modal-close:hover {
background: #e0e0e0;
color: #333;
}

.redprick-transfer-modal-body {
padding: 24px;
}

.redprick-form-group {
margin-bottom: 20px;
}

.redprick-form-group label {
display: block;
margin-bottom: 6px;
font-weight: 600;
color: #23282d;
}

.redprick-form-group .redprick-input {
width: 100%;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
box-sizing: border-box;
}

.redprick-form-group .redprick-input:focus {
outline: none;
border-color: var(--redprick-primary, #0073aa);
box-shadow: 0 0 0 1px var(--redprick-primary, #0073aa);
}

.redprick-form-group textarea.redprick-input {
resize: vertical;
min-height: 60px;
font-family: inherit;
}

#redprick-account-search-results {
margin-top: 8px;
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
max-height: 200px;
overflow-y: auto;
}

.redprick-search-results {
padding: 0;
}

.redprick-search-result-item {
padding: 10px 12px;
cursor: pointer;
border-bottom: 1px solid #f0f0f0;
}

.redprick-search-result-item:last-child {
border-bottom: none;
}

.redprick-search-result-item:hover {
background: #f8f9fa;
}

.redprick-transfer-actions {
display: flex;
gap: 10px;
margin-top: 24px;
}

.redprick-transfer-actions .redprick-btn {
flex: 1;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}

.redprick-btn-primary {
background: var(--redprick-primary, #0073aa);
color: #fff;
}

.redprick-btn-primary:hover {
background: var(--redprick-primary-dark, #005a87);
}

.redprick-btn-secondary {
background: #f0f0f0;
color: #333;
}

.redprick-btn-secondary:hover {
background: #e0e0e0;
}

/* Manage Volunteers Header */
.redprick-manage-volunteers-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}

.redprick-manage-volunteers-header h3 {
margin: 0;
}

/* Create Position Modal */
.redprick-create-position-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 100000;
align-items: center;
justify-content: center;
padding: 20px;
}

.redprick-create-position-modal.active {
display: flex;
}

.redprick-create-position-modal-content {
background: #fff;
border-radius: 8px;
max-width: 600px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.redprick-create-position-modal-header {
padding: 20px 24px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}

.redprick-create-position-modal-header h3 {
margin: 0;
font-size: 20px;
color: #23282d;
}

.redprick-create-position-modal-body {
padding: 24px;
}

.redprick-form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}

.required {
color: #d32f2f;
}

.redprick-create-position-actions {
display: flex;
gap: 10px;
margin-top: 24px;
}

.redprick-create-position-actions .redprick-btn {
flex: 1;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}

/* Manage Land Grants */
.redprick-manage-land-grants-container {
max-width: 1400px;
}

.redprick-manage-land-grants-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
padding-bottom: 16px;
border-bottom: 2px solid var(--redprick-primary);
}

.redprick-manage-land-grants-header h3 {
margin: 0;
font-size: 24px;
color: #23282d;
}

.redprick-land-grants-actions {
display: flex;
gap: 12px;
}

.redprick-land-grants-filters {
background: #f8f9fa;
padding: 20px;
border-radius: 4px;
margin-bottom: 24px;
}

.redprick-filters-form {
display: flex;
gap: 20px;
align-items: flex-end;
flex-wrap: wrap;
}

.redprick-filter-group {
display: flex;
flex-direction: column;
gap: 8px;
}

.redprick-filter-group label {
font-size: 13px;
font-weight: 600;
color: #555;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.redprick-filter-group select,
.redprick-filter-group input[type="text"] {
padding: 8px 12px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 14px;
min-width: 200px;
}

.redprick-filter-group select:focus,
.redprick-filter-group input[type="text"]:focus {
outline: none;
border-color: var(--redprick-primary);
box-shadow: 0 0 0 1px var(--redprick-primary);
}

/* Parcels Cards */
.redprick-parcels-cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
gap: 24px;
}

.redprick-parcel-card {
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}

.redprick-parcel-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border-color: var(--redprick-primary);
}

.redprick-parcel-card-header {
padding: 20px;
border-bottom: 1px solid #eee;
}

.redprick-parcel-card-title h3 {
margin: 0 0 8px 0;
font-size: 18px;
font-weight: 600;
color: #23282d;
}

.redprick-parcel-description {
margin: 0;
font-size: 14px;
color: #666;
line-height: 1.5;
}

.redprick-parcel-card-body {
padding: 20px;
flex: 1;
}

.redprick-parcel-info-grid {
display: flex;
flex-direction: column;
gap: 16px;
}

.redprick-parcel-info-item {
display: flex;
flex-direction: column;
gap: 6px;
}

.redprick-parcel-info-item .info-label {
font-size: 12px;
font-weight: 600;
color: #666;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.redprick-parcel-info-item .info-value {
font-size: 14px;
color: #23282d;
font-weight: 500;
}

.redprick-parcel-info-item .info-value.no-users {
color: #999;
font-style: italic;
}

.redprick-parcel-users {
display: flex;
flex-direction: column;
gap: 8px;
}

.redprick-parcel-user {
display: flex;
flex-direction: column;
gap: 2px;
padding: 8px 12px;
background: #f8f9fa;
border-radius: 4px;
border-left: 3px solid var(--redprick-primary);
}

.redprick-parcel-user .user-name {
font-size: 14px;
font-weight: 600;
color: #23282d;
}

.redprick-parcel-user .user-email {
font-size: 12px;
color: #666;
}

.redprick-parcel-card-footer {
padding: 16px 20px;
border-top: 1px solid #eee;
background: #fafafa;
}

.redprick-parcel-card-footer .redprick-btn {
width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
.redprick-parcels-cards {
grid-template-columns: 1fr;
}

.redprick-filters-form {
flex-direction: column;
align-items: stretch;
}

.redprick-filter-group select,
.redprick-filter-group input[type="text"] {
min-width: auto;
width: 100%;
}

.redprick-land-grants-actions {
flex-direction: column;
}

.redprick-manage-land-grants-header {
flex-direction: column;
align-items: flex-start;
gap: 16px;
}
}

/* Manage Users Modal Styles */
.redprick-current-users,
.redprick-search-results {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 12px;
}

.redprick-current-user,
.redprick-search-result {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px;
background: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 4px;
}

.redprick-current-user .user-info,
.redprick-search-result .user-info {
display: flex;
flex-direction: column;
gap: 4px;
}

.redprick-current-user .user-name,
.redprick-search-result .user-name {
font-weight: 600;
color: #2c3e50;
}

.redprick-current-user .user-email,
.redprick-search-result .user-email {
font-size: 14px;
color: #7f8c8d;
}

.redprick-btn-small {
padding: 6px 12px;
font-size: 14px;
}

.redprick-btn-danger {
background-color: #e74c3c;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
}

.redprick-btn-danger:hover {
background-color: #c0392b;
}

/* Volunteer Cards */
.redprick-manage-volunteers-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}

.redprick-manage-volunteers-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 24px;
gap: 16px;
}

.redprick-manage-volunteers-header h3 {
margin: 0;
font-size: 24px;
color: #23282d;
font-weight: 600;
}

.redprick-volunteers-filters {
margin-bottom: 24px;
background: #f9f9f9;
padding: 16px;
border-radius: 4px;
}

.redprick-filters-form {
display: flex;
gap: 16px;
align-items: center;
}

.redprick-filter-group {
display: flex;
gap: 8px;
align-items: center;
}

.redprick-filter-group label {
font-weight: 600;
color: #23282d;
}

.redprick-filter-group select {
padding: 8px 12px;
border: 1px solid #e0e0e0;
border-radius: 4px;
background: #fff;
font-size: 14px;
cursor: pointer;
}

.redprick-filter-group select:focus {
outline: none;
border-color: var(--redprick-primary);
box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.redprick-volunteers-status-filters {
margin-bottom: 24px;
background: #f9f9f9;
padding: 16px;
border-radius: 4px;
}

.redprick-status-filter-buttons {
display: flex;
justify-content: center;
gap: 8px;
flex-wrap: wrap;
}

.redprick-status-filter-btn {
padding: 5px 10px;
border: 1px solid #e0e0e0;
background: #fff;
color: #666;
border-radius: 4px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: all 0.2s ease;
white-space: nowrap;
}

.redprick-status-filter-btn:hover {
border-color: var(--redprick-primary);
color: var(--redprick-primary);
background: rgba(0, 115, 170, 0.05);
}

.redprick-status-filter-btn.active {
background: var(--redprick-primary);
color: #fff;
border-color: var(--redprick-primary);
}

.redprick-volunteers-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 0px;
margin-bottom: 24px;
}

.volunteer-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 0;
	padding: 0px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	transition: all 0.2s ease;
}

.volunteer-card .card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
}

.volunteer-card .card-title {
	flex: 1;
}

.volunteer-card .card-title strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	margin-bottom: 0;
}

.volunteer-card .card-title .card-subtitle {
	display: block;
	font-size: 11px;
	color: #ddd;
	margin-top: 1px;
}

.volunteer-card .card-status {
	white-space: nowrap;
}

.status-badge {
	display: inline-block;
	padding: 2px 5px;
	border-radius: 2px;
	font-size: 10px;
	font-weight: 600;
	background: #f0f0f0;
	color: #555;
}

.status-badge.assigned {
	background: #00a32a;
	color: #fff;
}

.status-badge.available {
	background: #f0f0f0;
	color: #666;
}

.volunteer-card .card-content {
	display: grid;
	grid-template-areas: "position description" "shift_time description" "pay_amount description" "volunteer_info description";
	grid-template-columns: 1fr 1fr;
	gap: 8px 16px;
	font-size: 11px;
	line-height: 1.4;
}

.volunteer-card .info-row {
	display: flex;
	flex-direction: column;
}

.volunteer-card .info-row.position {
	grid-area: position;
}

.volunteer-card .info-row.description {
	grid-area: description;
}

.volunteer-card .info-row.shift-time {
	grid-area: shift_time;
}

.volunteer-card .info-row.pay-amount {
	grid-area: pay_amount;
}

.volunteer-card .info-row.volunteer-info {
	grid-area: volunteer_info;
}

.volunteer-card .info-label {
	font-weight: 600;
	color: #666;
	font-size: 10px;
	margin-bottom: 1px;
}

.volunteer-card .info-value {
	color: #23282d;
	font-size: 11px;
}

.volunteer-card .position-name {
	color: #23282d;
	font-size: 11px;
	font-weight: 500;
}

.volunteer-card .description-text {
	color: #666;
	font-size: 11px;
}

.volunteer-card .shift-time {
	color: #23282d;
	font-size: 11px;
	font-weight: 500;
}

.volunteer-card .pay-amount {
	color: #00a32a;
	font-size: 11px;
	font-weight: 600;
}

.volunteer-card .volunteer-info {
	grid-column: 1 / -1;
	padding: 4px 0;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	margin-top: 2px;
}

.volunteer-card .volunteer-name {
	font-size: 11px;
	font-weight: 600;
	color: #0073aa;
}

.volunteer-card .volunteer-email {
	font-size: 10px;
	color: #999;
	margin-top: 2px;
}

.volunteer-card .card-footer {
	display: flex;
	justify-content: center;
	gap: 4px;
	border-top: 1px solid #eee;
}

.volunteer-card .btn-volunteer-action {
	padding: 6px 10px;
	border: none;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
	flex: 1;
	min-width: 80px;
}

.volunteer-card .btn-checkin {
	background: #0073aa;
	color: #fff;
}

.volunteer-card .btn-checkin:hover:not(:disabled) {
	background: #005a87;
}

.volunteer-card .btn-checkout {
	background: #f39c12;
	color: #fff;
}

.volunteer-card .btn-checkout:hover:not(:disabled) {
	background: #e08d0a;
}

.volunteer-card .btn-pay {
	background: #00a32a;
	color: #fff;
}

.volunteer-card .btn-pay:hover:not(:disabled) {
	background: #008000;
}

.volunteer-card .btn-edit {
	background: #666;
	color: #fff;
}

.volunteer-card .btn-edit:hover:not(:disabled) {
	background: #333;
}

.volunteer-card .btn-assign {
	background: #0073aa;
	color: #fff;
}

.volunteer-card .btn-assign:hover:not(:disabled) {
	background: #005a87;
}

/* Edit Position Modal */
.redprick-edit-position-modal {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.7);
z-index: 100000;
align-items: center;
justify-content: center;
padding: 20px;
}

.redprick-edit-position-modal.active {
display: flex;
}

.redprick-edit-position-modal-content {
background: #fff;
border-radius: 8px;
max-width: 600px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.redprick-edit-position-modal-header {
padding: 20px 24px;
border-bottom: 1px solid #e0e0e0;
display: flex;
justify-content: space-between;
align-items: center;
background: #f8f9fa;
border-radius: 8px 8px 0 0;
}

.redprick-edit-position-modal-header h3 {
margin: 0;
font-size: 20px;
color: #23282d;
}

.redprick-modal-close {
background: none;
border: none;
font-size: 28px;
color: #7f8c8d;
cursor: pointer;
padding: 0;
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
transition: color 0.2s;
}

.redprick-modal-close:hover {
color: #23282d;
}

.redprick-edit-position-modal-body {
padding: 24px;
}

.redprick-form-group {
margin-bottom: 16px;
}

.redprick-form-group label {
display: block;
margin-bottom: 6px;
font-weight: 600;
color: #23282d;
font-size: 14px;
}

.redprick-form-group label .required {
color: #d32f2f;
}

.redprick-input {
width: 100%;
padding: 10px 12px;
border: 1px solid #e0e0e0;
border-radius: 4px;
font-size: 14px;
box-sizing: border-box;
}

.redprick-input:focus {
outline: none;
border-color: var(--redprick-primary);
box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.redprick-form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 15px;
}

#redprick-edit-user-search-results {
border: 1px solid #e0e0e0;
border-radius: 4px;
background: #f9f9f9;
max-height: 200px;
overflow-y: auto;
}

.redprick-user-option {
padding: 12px;
border-bottom: 1px solid #e0e0e0;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.2s;
}

.redprick-user-option:last-child {
border-bottom: none;
}

.redprick-user-option:hover {
background: #f0f0f0;
}

.redprick-user-option-info {
flex: 1;
}

.redprick-user-option-name {
font-weight: 600;
color: #23282d;
font-size: 14px;
}

.redprick-user-option-email {
font-size: 12px;
color: #7f8c8d;
}

#redprick-edit-user-current {
padding: 12px;
background: #e3f2fd;
border: 1px solid #90caf9;
border-radius: 4px;
display: flex;
justify-content: space-between;
align-items: center;
}

.redprick-edit-current-user-info {
flex: 1;
}

.redprick-edit-current-user-name {
font-weight: 600;
color: #0066cc;
font-size: 14px;
}

.redprick-edit-current-user-email {
font-size: 12px;
color: #0066cc;
}

.redprick-btn-remove-user {
background: #f44336;
color: #fff;
border: none;
padding: 6px 12px;
border-radius: 4px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}

.redprick-btn-remove-user:hover {
background: #d32f2f;
}

.redprick-edit-position-actions {
display: flex;
gap: 10px;
margin-top: 24px;
padding-top: 16px;
border-top: 1px solid #e0e0e0;
}

.redprick-edit-position-actions .redprick-btn {
flex: 1;
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}

.redprick-edit-position-actions .redprick-btn-primary {
background: var(--redprick-primary);
color: #fff;
}

.redprick-edit-position-actions .redprick-btn-primary:hover {
background: #005a87;
}

.redprick-edit-position-actions .redprick-btn-secondary {
background: #e0e0e0;
color: #23282d;
}

.redprick-edit-position-actions .redprick-btn-secondary:hover {
background: #d0d0d0;
}

.redprick-edit-position-actions .redprick-btn-danger {
background: #e74c3c;
color: #fff;
}

.redprick-edit-position-actions .redprick-btn-danger:hover {
background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
	.redprick-manage-volunteers-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.redprick-manage-volunteers-header h3 {
		font-size: 20px;
	}

	.redprick-manage-volunteers-header .redprick-btn {
		width: 100%;
	}

	.redprick-volunteers-grid {
		grid-template-columns: 1fr;
	}

	.redprick-filters-form {
		flex-direction: column;
	}

	.redprick-filter-group {
		width: 100%;
	}

	.redprick-filter-group select {
		width: 100%;
	}

	.volunteer-card .card-header {
		flex-direction: column;
	}

	.volunteer-card .card-status {
		width: 100%;
	}

	.status-badge {
		width: 100%;
		text-align: center;
	}

	.volunteer-card .btn-volunteer-action {
		min-width: 80px;
	}

	.redprick-form-row {
		grid-template-columns: 1fr;
	}

	.redprick-edit-position-modal-content {
		width: 95%;
		max-height: 95vh;
	}

	.redprick-edit-position-actions {
		flex-direction: column;
	}
}