/* WPR BC Customizations Public Styles */

/* Using Tailwind-inspired classes with wpr-bc-customizations prefix */
.wpr-bc-customizations\:container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.wpr-bc-customizations\:bg-white { background-color: #ffffff; }
.wpr-bc-customizations\:bg-gray-50 { background-color: #f9fafb; }
.wpr-bc-customizations\:bg-blue-50 { background-color: #eff6ff; }
.wpr-bc-customizations\:bg-green-50 { background-color: #f0fdf4; }
.wpr-bc-customizations\:bg-red-50 { background-color: #fef2f2; }
.wpr-bc-customizations\:bg-yellow-50 { background-color: #fffbeb; }

.wpr-bc-customizations\:text-gray-900 { color: #111827; }
.wpr-bc-customizations\:text-gray-700 { color: #374151; }
.wpr-bc-customizations\:text-gray-600 { color: #4b5563; }
.wpr-bc-customizations\:text-blue-600 { color: #2563eb; }
.wpr-bc-customizations\:text-green-600 { color: #059669; }
.wpr-bc-customizations\:text-red-600 { color: #dc2626; }
.wpr-bc-customizations\:text-yellow-600 { color: #d97706; }

.wpr-bc-customizations\:border { border-width: 1px; }
.wpr-bc-customizations\:border-gray-200 { border-color: #e5e7eb; }
.wpr-bc-customizations\:border-blue-200 { border-color: #bfdbfe; }
.wpr-bc-customizations\:border-l-4 { border-left-width: 4px; }

.wpr-bc-customizations\:rounded { border-radius: 0.25rem; }
.wpr-bc-customizations\:rounded-lg { border-radius: 0.5rem; }

.wpr-bc-customizations\:p-4 { padding: 1rem; }
.wpr-bc-customizations\:p-6 { padding: 1.5rem; }
.wpr-bc-customizations\:px-4 { padding-left: 1rem; padding-right: 1rem; }
.wpr-bc-customizations\:py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.wpr-bc-customizations\:mb-4 { margin-bottom: 1rem; }
.wpr-bc-customizations\:mb-6 { margin-bottom: 1.5rem; }
.wpr-bc-customizations\:mt-4 { margin-top: 1rem; }

.wpr-bc-customizations\:shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.wpr-bc-customizations\:shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }

.wpr-bc-customizations\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.wpr-bc-customizations\:text-base { font-size: 1rem; line-height: 1.5rem; }
.wpr-bc-customizations\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.wpr-bc-customizations\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }

.wpr-bc-customizations\:font-semibold { font-weight: 600; }
.wpr-bc-customizations\:font-bold { font-weight: 700; }

/* Response form container */
.wpr-bc-response-form-container {
	max-width: 800px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.wpr-bc-dispute-info {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 0.5rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpr-bc-dispute-info h3 {
	color: #2563eb;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
	border-bottom: 2px solid #2563eb;
	padding-bottom: 0.5rem;
}

.wpr-bc-info-item {
	margin-bottom: 1rem;
	padding: 0.75rem;
	background: white;
	border-radius: 0.25rem;
	border-left: 4px solid #2563eb;
}

.wpr-bc-info-item:last-child {
	margin-bottom: 0;
}

.wpr-bc-info-item strong {
	display: block;
	color: #374151;
	font-weight: 600;
	margin-bottom: 0.25rem;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wpr-bc-dispute-content {
	margin-top: 0.5rem;
	line-height: 1.6;
	color: #4b5563;
}

.wpr-bc-dispute-content p {
	margin-bottom: 1rem;
}

.wpr-bc-dispute-content p:last-child {
	margin-bottom: 0;
}

/* Response form section */
.wpr-bc-response-form {
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wpr-bc-response-form h3 {
	color: #059669;
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 1rem 0;
	border-bottom: 2px solid #059669;
	padding-bottom: 0.5rem;
}

/* Notice styles */
.wpr-bc-notice {
	padding: 1rem 1.25rem;
	margin: 1rem 0;
	border-radius: 0.5rem;
	border-left: 4px solid #2563eb;
	background: #eff6ff;
	font-size: 0.875rem;
	line-height: 1.5;
}

.wpr-bc-notice p {
	margin: 0;
	color: #1e40af;
}

.wpr-bc-notice-success {
	border-left-color: #059669;
	background: #f0fdf4;
}

.wpr-bc-notice-success p {
	color: #047857;
}

.wpr-bc-notice-error {
	border-left-color: #dc2626;
	background: #fef2f2;
}

.wpr-bc-notice-error p {
	color: #b91c1c;
}

.wpr-bc-notice-warning {
	border-left-color: #d97706;
	background: #fffbeb;
}

.wpr-bc-notice-warning p {
	color: #92400e;
}

/* Button styles */
.wpr-bc-button {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #2563eb;
	color: white;
	border: none;
	border-radius: 0.375rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.wpr-bc-button:hover {
	background: #1d4ed8;
	color: white;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.wpr-bc-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.wpr-bc-button.secondary {
	background: #6b7280;
}

.wpr-bc-button.secondary:hover {
	background: #4b5563;
}

.wpr-bc-button.success {
	background: #059669;
}

.wpr-bc-button.success:hover {
	background: #047857;
}

.wpr-bc-button.danger {
	background: #dc2626;
}

.wpr-bc-button.danger:hover {
	background: #b91c1c;
}

/* Loading spinner */
.wpr-bc-loading {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	border: 2px solid #e5e7eb;
	border-top: 2px solid #2563eb;
	border-radius: 50%;
	animation: wpr-bc-spin 1s linear infinite;
	margin-right: 0.5rem;
}

@keyframes wpr-bc-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Status indicators */
.wpr-bc-status {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wpr-bc-status.pending {
	background: #fef3c7;
	color: #92400e;
}

.wpr-bc-status.submitted {
	background: #d1fae5;
	color: #065f46;
}

.wpr-bc-status.in-review {
	background: #dbeafe;
	color: #1e40af;
}

.wpr-bc-status.resolved {
	background: #e0e7ff;
	color: #3730a3;
}

.wpr-bc-status.closed {
	background: #fee2e2;
	color: #991b1b;
}

/* Form integration styles */
.wpr-bc-wpforms-container {
	margin-top: 1rem;
}

.wpr-bc-wpforms-container .wpforms-container {
	border: none;
	box-shadow: none;
	background: transparent;
}

.wpr-bc-wpforms-container .wpforms-field-container {
	margin: 0;
}

.wpr-bc-wpforms-container .wpforms-field {
	margin-bottom: 1.5rem;
}

.wpr-bc-wpforms-container .wpforms-field-label {
	font-weight: 600;
	color: #374151;
	margin-bottom: 0.5rem;
}

.wpr-bc-wpforms-container .wpforms-field-large,
.wpr-bc-wpforms-container .wpforms-field-medium,
.wpr-bc-wpforms-container .wpforms-field-small {
	padding: 0.75rem;
	border: 1px solid #d1d5db;
	border-radius: 0.375rem;
	background: white;
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.wpr-bc-wpforms-container .wpforms-field-large:focus,
.wpr-bc-wpforms-container .wpforms-field-medium:focus,
.wpr-bc-wpforms-container .wpforms-field-small:focus {
	border-color: #2563eb;
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.wpr-bc-wpforms-container .wpforms-submit-container {
	margin-top: 2rem;
	text-align: center;
}

.wpr-bc-wpforms-container .wpforms-submit {
	background: #059669 !important;
	border: none !important;
	border-radius: 0.375rem !important;
	padding: 0.75rem 2rem !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	transition: all 0.2s ease-in-out !important;
}

.wpr-bc-wpforms-container .wpforms-submit:hover {
	background: #047857 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Error handling */
.wpr-bc-error {
	color: #dc2626;
	font-weight: 500;
	font-size: 0.875rem;
	background: #fef2f2;
	padding: 0.75rem;
	border-radius: 0.375rem;
	border-left: 4px solid #dc2626;
	margin: 1rem 0;
}

/* Access denied page */
.wpr-bc-access-denied {
	max-width: 600px;
	margin: 3rem auto;
	padding: 2rem;
	text-align: center;
	background: white;
	border-radius: 0.5rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wpr-bc-access-denied h1 {
	color: #dc2626;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.wpr-bc-access-denied p {
	color: #6b7280;
	font-size: 1.125rem;
	line-height: 1.6;
	margin-bottom: 2rem;
}

/* Progress indicator */
.wpr-bc-progress {
	width: 100%;
	height: 0.5rem;
	background: #e5e7eb;
	border-radius: 9999px;
	overflow: hidden;
	margin: 1rem 0;
}

.wpr-bc-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #2563eb, #059669);
	border-radius: 9999px;
	transition: width 0.3s ease-in-out;
}

/* Responsive design */
@media (max-width: 768px) {
	.wpr-bc-response-form-container {
		margin: 1rem auto;
		padding: 0 0.5rem;
	}
	
	.wpr-bc-dispute-info,
	.wpr-bc-response-form {
		padding: 1rem;
		margin-bottom: 1rem;
	}
	
	.wpr-bc-info-item {
		padding: 0.5rem;
	}
	
	.wpr-bc-button {
		padding: 0.625rem 1.25rem;
		font-size: 0.8125rem;
	}
	
	.wpr-bc-notice {
		padding: 0.75rem 1rem;
		margin: 0.75rem 0;
	}
}

@media (max-width: 480px) {
	.wpr-bc-dispute-info h3,
	.wpr-bc-response-form h3 {
		font-size: 1.125rem;
	}
	
	.wpr-bc-info-item strong {
		font-size: 0.8125rem;
	}
	
	.wpr-bc-wpforms-container .wpforms-submit {
		width: 100% !important;
		padding: 1rem !important;
	}
}

/* Print styles */
@media print {
	.wpr-bc-response-form {
		box-shadow: none;
		border: 1px solid #ccc;
	}
	
	.wpr-bc-button {
		display: none;
	}
	
	.wpr-bc-wpforms-container .wpforms-submit-container {
		display: none;
	}
}

/* Submitted Disputes Styles */
.wpr-bc-submitted-disputes {
	margin: 2rem 0;
}

.wpr-bc-submitted-disputes h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: #1f2937;
}

.wpr-bc-disputes-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wpr-bc-dispute-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.wpr-bc-dispute-item:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wpr-bc-dispute-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
	gap: 1rem;
	flex-wrap: wrap;
}

.wpr-bc-dispute-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
	margin: 0;
	flex: 1;
}

.wpr-bc-dispute-status {
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

.wpr-bc-status-pending {
	background-color: #fef3c7;
	color: #d97706;
}

.wpr-bc-status-complete {
	background-color: #d1fae5;
	color: #059669;
}

.wpr-bc-dispute-meta {
	color: #6b7280;
	font-size: 0.875rem;
}

.wpr-bc-dispute-meta p {
	margin: 0.5rem 0;
}

.wpr-bc-dispute-meta strong {
	color: #374151;
	font-weight: 600;
}

/* Dispute ID badge */
.wpr-bc-dispute-id-badge {
	display: inline-block;
	background-color: #007cba;
	color: white;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 10px;
	white-space: nowrap;
}

/* Response data display */
.wpr-bc-response-data {
	margin-top: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #e5e7eb;
}

.wpr-bc-response-data p {
	margin-bottom: 0.5rem;
}

.wpr-bc-response-data div {
	background-color: #f9f9f9;
	padding: 10px;
	border-left: 4px solid #007cba;
	margin-top: 5px;
	border-radius: 4px;
	line-height: 1.5;
}

/* Dispute details section */
.wpr-bc-dispute-details {
	margin-top: 0.5rem;
}

.wpr-bc-dispute-details p {
	margin: 0.25rem 0;
	line-height: 1.4;
}

/* Notice styles for messages */
.wpr-bc-notice {
	padding: 1rem 1.5rem;
	border-radius: 0.375rem;
	margin: 1rem 0;
}

.wpr-bc-notice p {
	margin: 0;
	font-weight: 500;
}

.wpr-bc-notice-info {
	background-color: #dbeafe;
	color: #1e40af;
	border-left: 4px solid #3b82f6;
}

.wpr-bc-notice-warning {
	background-color: #fef3c7;
	color: #92400e;
	border-left: 4px solid #f59e0b;
}

.wpr-bc-notice-success {
	background-color: #d1fae5;
	color: #065f46;
	border-left: 4px solid #10b981;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.wpr-bc-dispute-header {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.wpr-bc-dispute-status {
		align-self: flex-start;
	} 
}

/* User Responses Styles */
.wpr-bc-submitted-responses {
	margin: 2rem 0;
}

.wpr-bc-submitted-responses h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: #1f2937;
}

.wpr-bc-responses-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wpr-bc-response-item {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.2s ease;
}

.wpr-bc-response-item:hover {
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.wpr-bc-response-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 1rem;
	gap: 1rem;
}

.wpr-bc-response-title {
	font-size: 1.25rem;
	font-weight: 600;
	color: #1f2937;
	margin: 0;
	flex: 1;
}

.wpr-bc-response-status {
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
}

.wpr-bc-response-meta {
	color: #6b7280;
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

.wpr-bc-response-meta p {
	margin: 0.5rem 0;
}

.wpr-bc-response-meta strong {
	color: #374151;
	font-weight: 600;
}

.wpr-bc-response-content {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
}

.wpr-bc-response-content strong {
	display: block;
	color: #374151;
	font-weight: 600;
	margin-bottom: 0.5rem;
	font-size: 0.875rem;
}

.wpr-bc-response-text {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 0.375rem;
	border-left: 4px solid #059669;
	color: #4b5563;
	line-height: 1.6;
}

.wpr-bc-response-text p {
	margin: 0.5rem 0;
}

.wpr-bc-response-text p:first-child {
	margin-top: 0;
}

.wpr-bc-response-text p:last-child {
	margin-bottom: 0;
}

/* Login warning styles */
.wpr-bc-login-warning {
	margin-bottom: 1.5rem;
}

.wpr-bc-login-links {
	margin-top: 0.75rem;
	text-align: center;
}

.wpr-bc-login-link,
.wpr-bc-register-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: #2563eb;
	color: white;
	text-decoration: none;
	border-radius: 0.375rem;
	font-weight: 500;
	transition: background-color 0.2s ease;
}

.wpr-bc-login-link:hover,
.wpr-bc-register-link:hover {
	background: #1d4ed8;
	color: white;
	text-decoration: none;
}

.wpr-bc-link-separator {
	margin: 0 0.5rem;
	color: #6b7280;
}

/* Responsive adjustments for responses */
@media (max-width: 768px) {
	.wpr-bc-response-header {
		flex-direction: column;
		gap: 0.5rem;
	}
	
	.wpr-bc-response-status {
		align-self: flex-start;
	}
	
	.wpr-bc-response-content {
		padding-top: 0.75rem;
	}
	
	.wpr-bc-response-text {
		padding: 0.75rem; 
    
  }
	
	.wpr-bc-dispute-id-badge {
		margin-left: 0;
		margin-top: 0.25rem;
	}
	
	.wpr-bc-dispute-item {
		padding: 1rem; 
	}
}