/**
 * Phase 2: Payment Details Styles
 * Exact pixel-perfect design
 *
 * @package CryptoPay
 * @subpackage Styles
 * @since 1.0.0
 */

/* Header */
.phase2-header {
	background: linear-gradient(to right, #2563eb, #1d4ed8) !important;
	padding: 1.5rem !important;
	color: white !important;
	display: flex !important;
	align-items: flex-start !important;
	gap: 1rem !important;
	border-top-left-radius: 0.5rem !important;
	border-top-right-radius: 0.5rem !important;
}

.phase2-back-button {
	background: none !important;
	border: none !important;
	color: white !important;
	cursor: pointer !important;
	padding: 0.25rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: opacity 0.2s !important;
}

.phase2-back-button:hover {
	opacity: 0.8 !important;
}

.phase2-header-content {
	flex: 1 !important;
}

.phase2-header h2 {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	margin: 0 !important;
	padding: 0 !important;
	color: white !important;
	line-height: 1.75rem !important;
}

.phase2-header p {
	color: #dbeafe !important;
	margin: 0.25rem 0 0 0 !important;
	padding: 0 !important;
	font-size: 0.875rem !important;
	line-height: 1.25rem !important;
}

/* Timer Section */
.phase2-timer-section {
	background-color: #eff6ff !important;
	padding: 0.75rem 1.5rem !important;
	border-bottom: 1px solid #dbeafe !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}

.phase2-timer-display {
	display: flex !important;
	align-items: center !important;
	gap: 0.75rem !important;
}

.phase2-timer-circle {
	width: 1.25rem !important;
	height: 1.25rem !important;
	position: relative !important;
}

.phase2-timer-text,
.phase2-usd-amount {
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #1d4ed8 !important;
}

/* QR Code */
.phase2-qr-container {
	padding: 1.5rem !important;
	display: flex !important;
	justify-content: center !important;
}

.phase2-qr-code {
	width: 12rem !important;
	height: 12rem !important;
	background-color: #f3f4f6 !important;
	border-radius: 0.5rem !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 1rem !important;
}

.phase2-qr-code canvas,
.phase2-qr-code img {
	max-width: 100% !important;
	max-height: 100% !important;
	width: auto !important;
	height: auto !important;
}

/* Details Section */
.phase2-details-section {
	padding: 0 1.5rem 1.5rem !important;
}

/* Alert Boxes */
.phase2-alert {
	display: flex !important;
	align-items: center !important;
	gap: 0.5rem !important;
	background-color: rgb(255 251 235) !important;
	border: 1px solid rgb(253 230 138) !important;
	border-radius: 0.375rem !important;
	padding: 0.75rem !important;
	margin-bottom: 1rem !important;
}

.phase2-alert-amber {
	background-color: rgb(255 251 235) !important;
	border-color: rgb(253 230 138) !important;
}

.phase2-alert-amber .phase2-alert-text {
	color: #b45309 !important;
}

.phase2-alert-icon {
	width: 1rem !important;
	height: 1rem !important;
	color: #f59e0b !important;
	flex-shrink: 0 !important;
}

#cryptopay-phase-2 .phase2-alert-icon,
#cryptopay-phase-2 .phase2-alert .phase2-alert-icon,
#cryptopay-phase-2 .phase2-alert-amber .phase2-alert-icon,
#cryptopay-phase-2 svg.phase2-alert-icon {
	color: #f59e0b !important;
	stroke: #f59e0b !important;
	stroke-width: 2.5 !important;
}

#cryptopay-phase-2 svg.phase2-alert-icon * {
	stroke: #f59e0b !important;
	stroke-width: 2.5 !important;
}

.phase2-alert-text {
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	line-height: 1.25rem !important;
}

/* Input Groups */
.phase2-input-group {
	margin-bottom: 1rem !important;
}

.phase2-input-label {
	display: block !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	color: #374151 !important;
	margin-bottom: 0.25rem !important;
}

.phase2-input-container {
	display: flex !important;
}

.phase2-input-field {
	flex: 1 !important;
	background-color: #f9fafb !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-size: 1rem !important;
	font-weight: 400 !important;
	min-width: 0 !important;
	display: flex !important;
	align-items: center !important;
	word-break: break-all !important;
}

.phase2-wallet-address {
	font-size: 0.85rem !important;
	font-weight: 400 !important;
	letter-spacing: -0.02em !important;
	font-family: monospace !important;
}

.phase2-copy-button {
	padding: 0.5rem 1rem !important;
	background-color: #f9fafb !important;
	border: 1px solid #e5e7eb !important;
	border-radius: 0 0.5rem 0.5rem 0 !important;
	cursor: pointer !important;
	transition: background-color 0.2s !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

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

.phase2-icon {
	width: 1rem !important;
	height: 1rem !important;
	color: #6b7280 !important;
}

#cryptopay-phase-2 .phase2-copy-icon,
#cryptopay-phase-2 svg.phase2-copy-icon {
	color: #f59e0b !important;
	stroke: #f59e0b !important;
}

#cryptopay-phase-2 svg.phase2-copy-icon * {
	stroke: #f59e0b !important;
}

.phase2-check-icon {
	color: #10b981 !important;
}

#cryptopay-phase-2 .phase2-check-icon,
#cryptopay-phase-2 svg.phase2-check-icon {
	color: #10b981 !important;
	stroke: #10b981 !important;
}

#cryptopay-phase-2 svg.phase2-check-icon * {
	stroke: #10b981 !important;
}

.phase2-hidden {
	display: none !important;
}

.phase2-highlight {
	color: #2563eb !important;
	font-weight: 500 !important;
}

/* Progress Dots */
.phase2-progress-dots {
	display: flex !important;
	justify-content: center !important;
	gap: 0.5rem !important;
	margin-top: 1rem !important;
	padding-top: 1rem !important;
}

.phase2-dot {
	height: 0.5rem !important;
	width: 1.5rem !important;
	border-radius: 9999px !important;
}

.phase2-dot-active {
	background-color: #2563eb !important;
}

.phase2-dot-inactive {
	background-color: #e5e7eb !important;
}

.phase2-step-text {
	text-align: center !important;
	color: #6b7280 !important;
	font-size: 0.75rem !important;
	line-height: 1rem !important;
	margin-top: 0.5rem !important;
}
