.bss-rma-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

body.bss-rma-modal-open {
	overflow: hidden;
}

.bss-rma-modal {
	background: #fff;
	width: 100%;
	max-width: 650px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	animation: bssRmaModalSlideIn 0.25s ease-out;
}

@keyframes bssRmaModalSlideIn {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bss-rma-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	margin: 0;
	background: none;
	border: none;
	min-height: 32px;
	min-width: 32px;
	width: 30px;
	height: 30px;
	font-size: 24px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.15s;
	z-index: 1;
	padding: 0;
}

.bss-rma-modal-close:hover {
	background: #f0f0f0;
	color: #333;
}

.bss-rma-modal-header {
	padding: 24px 30px 0;
}

.bss-rma-modal-header h2 {
	margin: 0 0 10px;
    font-size: 22px;
    color: #1d2327;
}

.bss-rma-modal-body {
	padding: 25px 30px;
}

.bss-rma-modal-loading {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 50px 0;
}

.bss-rma-modal-spinner {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 3px solid rgba(0, 0, 0, 0.12);
	border-top-color: var(--bss-rma-accent);
	border-radius: 50%;
	animation: bssRmaModalSpin 0.7s linear infinite;
}

@keyframes bssRmaModalSpin {
	to {
		transform: rotate(360deg);
	}
}

.bss-rma-modal-message {
	padding: 12px 16px;
	border-radius: 4px;
	margin: 0 0 16px;
}

.bss-rma-modal-message--success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.bss-rma-modal-message--error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.bss-rma-return-submit.bss-rma-btn-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
	opacity: 0.85;
}

.bss-rma-return-submit.bss-rma-btn-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: bssRmaBtnSpin 0.6s linear infinite;
}

@keyframes bssRmaBtnSpin {
	to {
		transform: rotate(360deg);
	}
}

.bss-rma-modal .bss-rma-return-form__footer {
	display: flex;
	justify-content: flex-end;
}
.bss-rma-modal .bss-rma-return-form__footer .bss-rma-return-submit{
	margin: 0 ;
}

@media (max-width: 600px) {
	.bss-rma-modal-header,
	.bss-rma-modal-body {
		padding-left: 18px;
		padding-right: 18px;
	}
}
