/* Recesso Diritto di Ripensamento - stili base */

.rdr-box {
	margin: 24px 0;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
}

.rdr-box h3 {
	margin-top: 0;
}

.rdr-box-already-requested {
	border-color: #c3d9c3;
	background: #f1f8f1;
}

.rdr-box-not-eligible {
	border-color: #e0c3c3;
	background: #f8f1f1;
}

.rdr-btn-avvia-recesso,
.rdr-btn-avvia-recesso-guest {
	margin-top: 8px;
}

/* Modal */
.rdr-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.rdr-modal {
	background: #fff;
	max-width: 480px;
	width: 100%;
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.rdr-modal h4 {
	margin-top: 0;
}

.rdr-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 16px 0;
	cursor: pointer;
}

.rdr-checkbox-label input[type="checkbox"] {
	margin-top: 4px;
}

.rdr-modal-actions {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.rdr-modal-message {
	margin-top: 12px;
	font-size: 14px;
}

.rdr-modal-message.rdr-success {
	color: #2a6f2a;
}

.rdr-modal-message.rdr-error {
	color: #b32d2e;
}

/* Landing page */
.rdr-landing-wrapper {
	max-width: 700px;
	margin: 0 auto;
}

.rdr-intro {
	margin-bottom: 24px;
}

.rdr-orders-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}

.rdr-orders-table th,
.rdr-orders-table td {
	padding: 10px;
	border: 1px solid #e0e0e0;
	text-align: left;
}

.rdr-form-ospite p {
	margin-bottom: 14px;
}

.rdr-form-ospite label {
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
}

.rdr-form-ospite input[type="text"] {
	width: 100%;
	max-width: 400px;
	padding: 8px;
}

.rdr-error-message {
	color: #b32d2e;
	font-weight: 600;
}

.rdr-form-message {
	margin-top: 12px;
	font-size: 14px;
}

.rdr-form-message.rdr-success {
	color: #2a6f2a;
}

.rdr-form-message.rdr-error {
	color: #b32d2e;
}
