/**
 * CryptoPay Phase 5 - Payment Expired
 *
 * @package CryptoPay
 * @since 1.0.0
 */

/* Phase 5 Container */
#cryptopay-phase-5 {
	width: 100%;
	max-width: 32rem;
	background-color: white;
	border-radius: 0.75rem;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin: 0 auto;
}

/* Header */
.phase5-header {
	background: linear-gradient(to right, #dc2626, #b91c1c) !important;
	padding: 1.5rem !important;
	color: white !important;
}

.phase5-header h2 {
	font-size: 1.25rem !important;
	font-weight: bold !important;
	color: white !important;
	margin: 0 !important;
}

.phase5-header p {
	color: #fecaca !important;
	margin: 0.25rem 0 0 0 !important;
	font-size: 0.875rem !important;
}

/* Content */
.phase5-content {
	padding: 1.5rem !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 1.5rem !important;
}

/* Status Display */
.phase5-status-display {
	display: flex !important;
	align-items: center !important;
	gap: 1rem !important;
}

.phase5-icon-circle {
	background: #fef2f2 !important;
	padding: 1rem !important;
	border-radius: 9999px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.phase5-status-text {
	min-width: 250px;
}

.phase5-status-text h2 {
	color: #dc2626 !important;
	font-weight: 500 !important;
	font-size: 1rem !important;
	margin: 0 0 0.25rem 0 !important;
	line-height: 1.25 !important;
}

.phase5-status-text p {
	color: #6b7280 !important;
	font-size: 0.875rem !important;
	margin: 0 !important;
	line-height: 1.25 !important;
}

/* Expired Warning Messages */
.phase5-expired-message {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.75rem !important;
	padding: 1.25rem !important;
	background: linear-gradient(to right, #fee2e2, #fef2f2) !important;
	border: 2px solid #dc2626 !important;
	border-radius: 0.75rem !important;
	box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1) !important;
}

.phase5-warning-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.75rem !important;
	padding: 0.75rem !important;
	background: white !important;
	border-radius: 0.5rem !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
	transition: transform 0.2s ease !important;
}

.phase5-warning-item:hover {
	transform: translateX(4px) !important;
}

.phase5-warning-icon {
	flex-shrink: 0 !important;
	width: 24px !important;
	height: 24px !important;
	color: #dc2626 !important;
	stroke: #dc2626 !important;
}

.phase5-warning-text {
	color: #991b1b !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	font-size: 0.9375rem !important;
}

/* Fields Container */
.phase5-fields-container {
	display: flex !important;
	flex-direction: column !important;
	gap: 1rem !important;
}

.phase5-field {
	display: flex !important;
	flex-direction: column !important;
	gap: 0.25rem !important;
}

.phase5-field-label {
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
}

.phase5-field-container {
	display: flex !important;
	position: relative !important;
}

.phase5-field-value {
	flex: 1 !important;
	background: white !important;
	padding: 0.5rem 1rem !important;
	border: 1px solid #e5e7eb !important;
	border-right: none !important;
	border-radius: 0.5rem 0 0 0.5rem !important;
	font-family: monospace !important;
	font-size: 0.875rem !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	min-width: 0 !important;
	max-width: calc(100% - 3rem) !important;
}

.phase5-field-value-no-copy {
	flex: 1 !important;
	background: white !important;
	padding: 0.5rem 1rem !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 0.5rem !important;
	font-size: 0.875rem !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.phase5-copy-button {
	padding: 0.5rem 1rem !important;
	background: white !important;
	border: 1px solid #e5e7eb !important;
	border-left: none !important;
	border-radius: 0 0.5rem 0.5rem 0 !important;
	cursor: pointer !important;
	transition: all 0.2s !important;
	display: flex !important;
	align-items: center !important;
	position: relative !important;
}

.phase5-copy-button:hover {
	background: #f3f4f6 !important;
}

.phase5-copy-button:focus {
	outline: 2px solid #dc2626 !important;
	outline-offset: 2px !important;
}

.phase5-copy-button svg {
	width: 1.25rem !important;
	height: 1.25rem !important;
	stroke: #6b7280 !important;
}

.phase5-tooltip {
	position: absolute !important;
	background: #111827 !important;
	color: white !important;
	padding: 0.25rem 0.5rem !important;
	border-radius: 0.25rem !important;
	font-size: 0.75rem !important;
	bottom: 100% !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	margin-bottom: 0.5rem !important;
	white-space: nowrap !important;
	opacity: 0 !important;
	transition: opacity 0.2s !important;
	pointer-events: none !important;
}

.phase5-tooltip.visible {
	opacity: 1 !important;
}

/* Action Button */
.phase5-button {
	width: 100% !important;
	padding: 0.75rem 1rem !important;
	background: #dc2626 !important;
	color: white !important;
	border: none !important;
	border-radius: 0.5rem !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	transition: background-color 0.2s !important;
	font-size: 0.875rem !important;
	line-height: 1.25rem !important;
}

.phase5-button:hover {
	background: #b91c1c !important;
}

.phase5-button:focus {
	outline: 2px solid #dc2626 !important;
	outline-offset: 2px !important;
}

/* Progress Steps */
.phase5-progress-steps {
	padding-top: 1rem !important;
	text-align: center !important;
}

.phase5-step-dots {
	display: flex !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	margin-bottom: 0.5rem !important;
}

.phase5-dot {
	height: 0.5rem !important;
	width: 1.5rem !important;
	border-radius: 9999px !important;
	background: #dc2626 !important;
	opacity: 0.3 !important;
}

.phase5-step-text {
	font-size: 0.75rem !important;
	color: #6b7280 !important;
}

/* Responsive */
@media (max-width: 640px) {
	#cryptopay-phase-5 {
		border-radius: 0;
		margin: 0.5rem;
	}

	.phase5-field-value {
		font-size: 0.75rem !important;
	}

	.phase5-status-text {
		min-width: 0;
	}
}
