/*
 * BookShare Community - TailwindUI Inspired Styles
 */

.bookshare-card.bookshare-card {
	background: white !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	padding: 24px !important;
	margin: 24px 0 !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
	transition: box-shadow 0.15s ease-in-out !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.bookshare-card.bookshare-card:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Title */
.bookshare-card .bookshare-title {
	margin: 0 0 8px 0 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	line-height: 1.25 !important;
}

/* Description */
.bookshare-card .bookshare-description {
	margin: 0 0 16px 0 !important;
	font-size: 14px !important;
	color: #6b7280 !important;
	line-height: 1.5 !important;
}

/* Availability */
.bookshare-card .bookshare-availability {
	margin-bottom: 20px !important;
}

.bookshare-card .availability-link {
	text-decoration: none !important;
	transition: all 0.15s ease-in-out !important;
}

.bookshare-card .availability-link:hover {
	text-decoration: none !important;
}

.bookshare-card .availability-text {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	padding: 4px 12px !important;
	background: #f3f4f6 !important;
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	color: #374151 !important;
	transition: all 0.15s ease-in-out !important;
}

.bookshare-card .availability-icon {
	width: 14px !important;
	height: 14px !important;
	opacity: 0.7 !important;
	transition: all 0.15s ease-in-out !important;
}

.bookshare-card .availability-link:hover .availability-text {
	background: #e5e7eb !important;
	border-color: #9ca3af !important;
	color: #111827 !important;
	transform: translateY(-1px) !important;
}

.bookshare-card .availability-link:hover .availability-icon {
	opacity: 1 !important;
	transform: translateX(2px) !important;
}

/* Actions Section */
.bookshare-card .bookshare-actions {
	display: flex !important;
	align-items: start !important;
	gap: 12px !important;
	margin-bottom: 16px !important;
	flex-wrap: wrap !important;
}

/* Quantity Selector */
.bookshare-card .quantity-selector {
	flex: 0 0 auto !important;
	position: relative !important;
}

.bookshare-card .quantity-label {
	display: block !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #374151 !important;
	margin-bottom: 4px !important;
}

.bookshare-card .quantity-input,
.bookshare-card input#bookshare_quantity {
	border: 1px solid #d1d5db !important;
	border-radius: 6px !important;
	padding: 7px 8px !important;
	text-align: center !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #111827 !important;
	background: white !important;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
	height: auto !important;
	line-height: normal !important;
	margin: 0 !important;
}

/* Hide number input arrows */
.bookshare-card .quantity-input::-webkit-outer-spin-button,
.bookshare-card .quantity-input::-webkit-inner-spin-button,
.bookshare-card input#bookshare_quantity::-webkit-outer-spin-button,
.bookshare-card input#bookshare_quantity::-webkit-inner-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

.bookshare-card .quantity-input[type="number"],
.bookshare-card input#bookshare_quantity[type="number"] {
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

.bookshare-card .quantity-input:focus,
.bookshare-card input#bookshare_quantity:focus {
	outline: none !important;
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.bookshare-card .quantity-input.quantity-error,
.bookshare-card input#bookshare_quantity.quantity-error {
	border-color: #ef4444 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.bookshare-card .quantity-warning,
.bookshare-card #quantity-warning {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	margin-top: 4px !important;
	padding: 6px 8px !important;
	background: #fef2f2 !important;
	border: 1px solid #fecaca !important;
	border-radius: 4px !important;
	font-size: 11px !important;
	color: #dc2626 !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
	z-index: 10 !important;
	animation: slideDown 0.2s ease-out !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Add to Cart Section */
.bookshare-card .add-to-cart-section {
	flex: 1 1 auto !important;
}

/* Add Button */
.bookshare-card .bookshare-add-btn,
.bookshare-card button.bookshare-add-btn {
	background: #3b82f6 !important;
	color: white !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 10px 16px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: background-color 0.15s ease-in-out !important;
	min-width: 120px !important;
}

.bookshare-card .bookshare-add-btn:hover:not(:disabled),
.bookshare-card button.bookshare-add-btn:hover:not(:disabled) {
	background: #2563eb !important;
}

.bookshare-card .bookshare-add-btn:active:not(:disabled),
.bookshare-card button.bookshare-add-btn:active:not(:disabled) {
	background: #1d4ed8 !important;
}

.bookshare-card .bookshare-add-btn:disabled,
.bookshare-card button.bookshare-add-btn:disabled {
	background: #9ca3af !important;
	cursor: not-allowed !important;
}

/* Impact Message */
.bookshare-card .bookshare-impact {
	margin: 0 !important;
	padding: 5px 12px !important;
	background: #f9fafb !important;
	border: 1px solid #f3f4f6 !important;
	border-radius: 6px !important;
	font-size: 13px !important;
	color: #6b7280 !important;
	text-align: center !important;
	font-style: italic !important;
}

/* Mobile Responsive */
@media (max-width: 640px) {
	.bookshare-card {
		padding: 20px;
		margin: 20px 0;
	}

	.bookshare-actions {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		flex-wrap: nowrap;
	}

	.quantity-selector {
		flex: 0 0 auto;
	}

	.add-to-cart-section {
		flex: 1 1 auto;
	}

	.bookshare-add-btn {
		min-width: 0;
	}

	.bookshare-impact {
		padding: 4px 10px;
	}
}

/* BookShare Pool Page Styles */
.bookshare-pool-page.bookshare-pool-page {
	background: #f9fafb !important;
	min-height: 100vh !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.bookshare-pool-page .bookshare-container {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 24px 20px !important;
}

/* Page Header */
.bookshare-pool-page .bookshare-page-header {
	text-align: center !important;
	margin-bottom: 48px !important;
}

.bookshare-pool-page .bookshare-page-title,
.bookshare-pool-page h1.bookshare-page-title {
	font-size: 32px !important;
	font-weight: 700 !important;
	color: #111827 !important;
	margin: 0 0 16px 0 !important;
	line-height: 1.25 !important;
}

.bookshare-pool-page .bookshare-page-content {
	font-size: 18px !important;
	color: #6b7280 !important;
	line-height: 1.6 !important;
}

/* Section Header */
.bookshare-books-section {
	margin-bottom: 48px;
}

.bookshare-section-header {
	text-align: center;
	margin-bottom: 32px;
}

.bookshare-section-title {
	font-size: 24px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px 0;
	line-height: 1.25;
}

.bookshare-section-subtitle {
	font-size: 16px;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

/* Books Grid */
.bookshare-pool-page .bookshare-books-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
	gap: 20px !important;
	margin-top: 32px !important;
}

.bookshare-pool-page .bookshare-book-card {
	background: white !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	overflow: hidden !important;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
	transition: all 0.15s ease-in-out !important;
}

.bookshare-pool-page .bookshare-book-card:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
	transform: translateY(-2px) !important;
}

.bookshare-book-image {
	overflow: hidden;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bookshare-book-thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.15s ease-in-out;
}

.bookshare-book-card:hover .bookshare-book-thumbnail {
	transform: scale(1.05);
}

.bookshare-book-content {
	padding: 20px;
}

.bookshare-book-title {
	margin: 0 0 12px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

.bookshare-book-title a {
	color: #111827;
	text-decoration: none;
	transition: color 0.15s ease-in-out;
}

.bookshare-book-title a:hover {
	color: #3b82f6;
}

.bookshare-book-availability {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	padding: 4px 8px;
	background: #f0f9ff;
	border: 1px solid #e0f2fe;
	border-radius: 6px;
	width: fit-content;
}

.bookshare-available-count {
	font-size: 16px;
	font-weight: 600;
	color: #0369a1;
}

.bookshare-available-text {
	font-size: 14px;
	color: #0369a1;
}

.bookshare-book-actions {
	margin-top: 16px;
}

/* Base claim button styles - shared by all states */
.bookshare-pool-page .bookshare-claim-btn,
.bookshare-pool-page .bookshare-claimed-btn,
.bookshare-pool-page .bookshare-pending-btn,
.bookshare-pool-page .bookshare-limit-btn,
.bookshare-pool-page button.bookshare-claim-btn,
.bookshare-pool-page button.bookshare-claimed-btn,
.bookshare-pool-page button.bookshare-pending-btn,
.bookshare-pool-page button.bookshare-limit-btn {
	width: 100% !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	transition: background-color 0.15s ease-in-out !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}

/* Active/Available state - Blue */
.bookshare-pool-page .bookshare-claim-btn,
.bookshare-pool-page button.bookshare-claim-btn,
.bookshare-pool-page button.claim-btn.bookshare-claim-btn {
	background: #3b82f6 !important;
	color: white !important;
	cursor: pointer !important;
}

.bookshare-pool-page .bookshare-claim-btn:hover:not(:disabled),
.bookshare-pool-page button.bookshare-claim-btn:hover:not(:disabled),
.bookshare-pool-page button.claim-btn.bookshare-claim-btn:hover:not(:disabled) {
	background: #2563eb !important;
}

.bookshare-pool-page .bookshare-claim-btn:disabled,
.bookshare-pool-page button.bookshare-claim-btn:disabled {
	background: #9ca3af !important;
	cursor: not-allowed !important;
}

.bookshare-pool-page .bookshare-login-btn,
.bookshare-pool-page a.bookshare-login-btn {
	width: 100% !important;
	background: #6b7280 !important;
	color: white !important;
	border-radius: 6px !important;
	padding: 12px 16px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	display: inline-block !important;
	text-align: center !important;
	transition: background-color 0.15s ease-in-out !important;
}

.bookshare-pool-page .bookshare-login-btn:hover,
.bookshare-pool-page a.bookshare-login-btn:hover {
	background: #4b5563 !important;
	color: white !important;
	text-decoration: none !important;
}

/* Empty State */
.bookshare-pool-page .bookshare-empty-state {
	text-align: center !important;
	padding: 64px 20px !important;
	background: white !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 8px !important;
	margin-top: 32px !important;
}

.bookshare-pool-page .bookshare-empty-icon {
	width: 64px !important;
	height: 64px !important;
	margin: 0 auto 16px auto !important;
	color: #9ca3af !important;
}

.bookshare-pool-page .bookshare-empty-title,
.bookshare-pool-page h3.bookshare-empty-title {
	font-size: 20px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	margin: 0 0 8px 0 !important;
}

.bookshare-pool-page .bookshare-empty-text {
	font-size: 16px !important;
	color: #6b7280 !important;
	margin: 0 0 24px 0 !important;
	line-height: 1.5 !important;
}

.bookshare-pool-page .bookshare-browse-btn,
.bookshare-pool-page a.bookshare-browse-btn {
	background: #3b82f6 !important;
	color: white !important;
	padding: 12px 20px !important;
	border-radius: 6px !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	display: inline-block !important;
	transition: background-color 0.15s ease-in-out !important;
}

.bookshare-pool-page .bookshare-browse-btn:hover,
.bookshare-pool-page a.bookshare-browse-btn:hover {
	background: #2563eb !important;
	color: white !important;
	text-decoration: none !important;
}

/* Call to Action Section */
.bookshare-cta-section {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 32px;
	text-align: center;
	margin-top: 48px;
}

.bookshare-cta-title {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin: 0 0 8px 0;
}

.bookshare-cta-text {
	font-size: 16px;
	color: #6b7280;
	margin: 0 0 24px 0;
	line-height: 1.6;
}

.bookshare-cta-btn {
	background: #3b82f6;
	color: white;
	padding: 12px 20px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.15s ease-in-out;
}

.bookshare-cta-btn:hover {
	background: #2563eb;
	color: white;
	text-decoration: none;
}

.bookshare-cta-icon {
	width: 16px;
	height: 16px;
}

/* User Status Section */
.bookshare-user-status {
	margin: 24px 0;
}

.bookshare-status-card {
	background: #f0f9ff;
	border: 1px solid #0ea5e9;
	border-radius: 8px;
	padding: 20px;
	max-width: 400px;
	margin: 0 auto;
}

.bookshare-status-text {
	font-size: 16px;
	font-weight: 600;
	color: #0369a1;
	margin-bottom: 8px;
	text-align: center;
}

.bookshare-status-bar {
	width: 100%;
	height: 8px;
	background: #e0f2fe;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 12px;
}

.bookshare-progress {
	height: 100%;
	background: linear-gradient(90deg, #0ea5e9, #0369a1);
	transition: width 0.3s ease-in-out;
	border-radius: 4px;
}

.bookshare-status-note {
	font-size: 14px;
	color: #0369a1;
	margin: 0;
	text-align: center;
	opacity: 0.8;
}

/* Login Notice */
.bookshare-login-notice {
	margin: 24px 0;
}

.bookshare-notice-content {
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 8px;
	padding: 20px;
	gap: 16px;
	max-width: 500px;
	margin: 0 auto;
}

.bookshare-notice-icon {
	width: 24px;
	height: 24px;
	color: #d97706;
	flex-shrink: 0;
	margin-top: 2px;
	display: none !important;
}

.bookshare-notice-text h4 {
	font-size: 16px;
	font-weight: 600;
	color: #92400e;
	margin: 0 0 8px 0;
}

.bookshare-notice-text p {
	font-size: 14px;
	color: #92400e;
	margin: 0 0 12px 0;
	line-height: 1.5;
}

.bookshare-login-link {
	background: #d97706;
	color: white !important;
	padding: 8px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	display: inline-block;
	transition: background-color 0.15s ease-in-out;
}

.bookshare-login-link:hover {
	background: #b45309;
	color: white;
	text-decoration: none;
}

/* Claimed Book Status */
.bookshare-claim-status {
	width: 100%;
}

.bookshare-claimed-badge {
	width: 100%;
	background: #6b7280;
	color: white;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.bookshare-claim-btn:disabled {
	background: #9ca3af !important;
	cursor: not-allowed !important;
	opacity: 0.6;
}

.bookshare-claim-btn:disabled:hover {
	background: #9ca3af !important;
	transform: none !important;
}

/* Collected state - Green */
.bookshare-pool-page .bookshare-claimed-btn,
.bookshare-pool-page button.bookshare-claimed-btn,
.bookshare-pool-page button.claim-btn.bookshare-claimed-btn {
	background: #059669 !important;
	color: white !important;
	cursor: not-allowed !important;
}

.bookshare-pool-page .bookshare-claimed-btn:hover,
.bookshare-pool-page button.bookshare-claimed-btn:hover,
.bookshare-pool-page button.claim-btn.bookshare-claimed-btn:hover {
	background: #059669 !important;
}

/* Pending state - Orange/Amber */
.bookshare-pool-page .bookshare-pending-btn,
.bookshare-pool-page button.bookshare-pending-btn,
.bookshare-pool-page button.claim-btn.bookshare-pending-btn {
	background: #f59e0b !important;
	color: white !important;
	cursor: not-allowed !important;
}

.bookshare-pool-page .bookshare-pending-btn:hover,
.bookshare-pool-page button.bookshare-pending-btn:hover,
.bookshare-pool-page button.claim-btn.bookshare-pending-btn:hover {
	background: #f59e0b !important;
}

/* Limit reached state - Red */
.bookshare-pool-page .bookshare-limit-btn,
.bookshare-pool-page button.bookshare-limit-btn,
.bookshare-pool-page button.claim-btn.bookshare-limit-btn {
	background: #ef4444 !important;
	color: white !important;
	cursor: not-allowed !important;
}

.bookshare-pool-page .bookshare-limit-btn:hover,
.bookshare-pool-page button.bookshare-limit-btn:hover,
.bookshare-pool-page button.claim-btn.bookshare-limit-btn:hover {
	background: #ef4444 !important;
}

/* Mobile Responsive for Pool Page */
@media (max-width: 640px) {
	.bookshare-container {
		padding: 20px 16px;
	}

	.bookshare-page-title {
		font-size: 28px;
	}

	.bookshare-page-content {
		font-size: 16px;
	}

	.bookshare-books-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.bookshare-book-content {
		padding: 16px;
	}

	.bookshare-cta-section {
		padding: 24px 20px;
	}

	.bookshare-empty-state {
		padding: 48px 20px;
	}

	.bookshare-notice-content {
		flex-direction: column;
		text-align: center;
	}

	.bookshare-notice-icon {
		align-self: center;
		margin-top: 0;
	}

	.bookshare-status-card {
		padding: 16px;
	}
}

/* Contact Information Modal */
.bookshare-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.2s ease-out;
}

.bookshare-modal-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.bookshare-modal-content {
	position: relative;
	background: white;
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	animation: slideInUp 0.3s ease-out;
}

.bookshare-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px 0 24px;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 16px;
	margin-bottom: 24px;
}

.bookshare-modal-header h3 {
	font-size: 20px;
	font-weight: 600;
	color: #111827;
	margin: 0;
}

.bookshare-modal-close {
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	border-radius: 6px;
	transition: background-color 0.15s ease-in-out;
	color: #6b7280;
}

.bookshare-modal-close:hover {
	background: #f3f4f6;
	color: #374151;
}

.bookshare-modal-close svg {
	width: 20px;
	height: 20px;
}

.bookshare-modal-body {
	padding: 0 24px 24px 24px;
}

.bookshare-modal-description {
	font-size: 16px;
	color: #6b7280;
	margin: 0 0 24px 0;
	line-height: 1.5;
}

.bookshare-delivery-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bookshare-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 640px) {
	.bookshare-form-row {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.bookshare-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bookshare-form-group label {
	font-size: 14px;
	font-weight: 500;
	color: #374151;
}

.bookshare-form-input {
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 14px;
	color: #111827;
	background: white;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bookshare-form-input select,
select.bookshare-form-input {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
	background-position: right 12px center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	padding-right: 48px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}

.bookshare-form-input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bookshare-form-input.error {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.bookshare-form-note {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
}

.bookshare-form-note p {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

.bookshare-modal-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 24px;
}

.bookshare-cancel-btn {
	background: white;
	color: #6b7280;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

.bookshare-cancel-btn:hover {
	background: #f9fafb;
	border-color: #9ca3af;
	color: #374151;
}

.bookshare-save-btn {
	background: #3b82f6;
	color: white;
	border: none;
	border-radius: 6px;
	padding: 12px 20px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.15s ease-in-out;
	min-width: 120px;
}

.bookshare-save-btn:hover:not(:disabled) {
	background: #2563eb;
}

.bookshare-save-btn:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Mobile Modal */
@media (max-width: 640px) {
	.bookshare-modal-content {
		width: 95%;
		margin: 20px;
	}

	.bookshare-modal-header {
		padding: 20px 20px 0 20px;
	}

	.bookshare-modal-body {
		padding: 0 20px 20px 20px;
	}

	.bookshare-modal-actions {
		flex-direction: column-reverse;
	}

	.bookshare-cancel-btn,
	.bookshare-save-btn {
		width: 100%;
		justify-content: center;
	}
}
