/**
 * ==========================================================
 * RAGO ACCOUNT
 * QR Registration Module
 * ==========================================================
 */

/* ==========================================================
   Modal
   ========================================================== */

.rago-qr-register-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
}

.rago-qr-register-modal[hidden] {
	display: none !important;
}


/* ==========================================================
   Overlay
   ========================================================== */

.rago-qr-register-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
}


/* ==========================================================
   Window
   ========================================================== */

.rago-qr-register-window {
	position: relative;
	z-index: 2;

	width: min(440px, calc(100% - 32px));

	margin: 50px auto;

	background: #ffffff;

	border-radius: 18px;

	padding: 30px;

	box-sizing: border-box;

	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.25);

	max-height: calc(100vh - 100px);

	overflow-y: auto;
}


/* ==========================================================
   Close
   ========================================================== */

.rago-qr-register-close {
	position: absolute;

	top: 14px;
	right: 16px;

	width: 34px;
	height: 34px;

	border: 0;

	background: transparent;

	font-size: 28px;

	line-height: 1;

	cursor: pointer;

	color: #555;

	padding: 0;
}

.rago-qr-register-close:hover {
	color: #000;
}


/* ==========================================================
   Header
   ========================================================== */

.rago-qr-register-header {
	text-align: center;

	margin-bottom: 24px;
}

.rago-qr-register-header h2 {
	margin: 8px 0 8px;

	font-size: 25px;

	line-height: 1.3;
}

.rago-qr-register-header p {
	margin: 0;

	color: #666;

	font-size: 14px;
}


/* ==========================================================
   Back Button
   ========================================================== */

.rago-qr-register-back {
	display: inline-block;

	border: 0;

	background: transparent;

	padding: 0;

	font-size: 14px;

	color: #555;

	cursor: pointer;
}

.rago-qr-register-back:hover {
	color: #000;
}


/* ==========================================================
   QR Code Wrapper
   ========================================================== */

.rago-qr-code-wrapper {
	display: flex;

	justify-content: center;

	align-items: center;

	margin: 20px 0;
}


/* ==========================================================
   QR Code
   ========================================================== */

.rago-qr-code {
	width: 240px;
	height: 240px;

	display: flex;

	align-items: center;

	justify-content: center;

	background: #ffffff;

	border: 1px solid #eeeeee;

	border-radius: 14px;

	padding: 10px;

	box-sizing: border-box;
}


/*
|----------------------------------------------------------------
| QR Canvas / Image
|----------------------------------------------------------------
*/

.rago-qr-code canvas,
.rago-qr-code img {
	display: block;

	max-width: 220px;

	max-height: 220px;
}


/* ==========================================================
   Loading
   ========================================================== */

.rago-qr-loading {
	text-align: center;

	color: #777;

	font-size: 14px;
}


/* ==========================================================
   Error
   ========================================================== */

.rago-qr-error {
	text-align: center;

	color: #c62828;

	font-size: 14px;

	padding: 20px;
}


/* ==========================================================
   Instructions
   ========================================================== */

.rago-qr-register-instructions {
	text-align: center;

	margin: 20px 0;

	color: #555;

	font-size: 14px;

	line-height: 1.6;
}

.rago-qr-register-instructions p {
	margin: 5px 0;
}

.rago-qr-register-instructions strong {
	color: #222;
}


/* ==========================================================
   Status
   ========================================================== */

.rago-qr-register-status {
	display: flex;

	align-items: center;

	justify-content: center;

	gap: 8px;

	margin-top: 20px;

	padding: 12px 15px;

	border-radius: 10px;

	background: #f5f5f5;

	font-size: 14px;

	color: #555;
}


/* ==========================================================
   Status Indicator
   ========================================================== */

.rago-qr-status-indicator {
	width: 9px;
	height: 9px;

	border-radius: 50%;

	background: #999;

	flex: 0 0 auto;
}


/* ==========================================================
   Expiration
   ========================================================== */

.rago-qr-register-expiry {
	text-align: center;

	margin-top: 10px;

	font-size: 12px;

	color: #888;
}


/* ==========================================================
   Cancel
   ========================================================== */

.rago-qr-register-cancel {
	display: block;

	width: 100%;

	margin-top: 22px;

	padding: 12px 18px;

	border: 1px solid #ddd;

	border-radius: 10px;

	background: #ffffff;

	color: #333;

	font-size: 14px;

	cursor: pointer;

	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.rago-qr-register-cancel:hover {
	background: #f5f5f5;

	border-color: #bbb;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 600px) {

	.rago-qr-register-window {
		width: calc(100% - 20px);

		margin: 20px auto;

		padding: 24px 18px;

		max-height: calc(100vh - 40px);
	}

	.rago-qr-code {
		width: 220px;
		height: 220px;
	}

	.rago-qr-code canvas,
	.rago-qr-code img {
		max-width: 200px;
		max-height: 200px;
	}

}


























/* ==========================================================
   MOBILE QR REGISTRATION PAGE
   ========================================================== */

.rago-qr-mobile-register {
	width: 100%;
	box-sizing: border-box;
	padding: 40px 16px 60px;
	background: #ffffff;
}

.rago-qr-mobile-window {
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 28px 22px 34px;
	box-sizing: border-box;
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.rago-qr-mobile-header {
	text-align: center;
	margin-bottom: 28px;
}

.rago-qr-mobile-header h2 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.3;
	color: #172033;
}

.rago-qr-mobile-header p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #687080;
}


/* ==========================================================
   Form
   ========================================================== */

#rago-qr-mobile-register-form {
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.rago-qr-mobile-form-group {
	width: 100%;
	margin-bottom: 18px;
}

.rago-qr-mobile-form-group label {
	display: block;
	margin: 0 0 7px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #202938;
}

.rago-qr-mobile-form-group input[type="text"],
.rago-qr-mobile-form-group input[type="email"],
.rago-qr-mobile-form-group input[type="password"] {
	display: block;
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	box-sizing: border-box;

	border: 1px solid #d7dce5;
	border-radius: 10px;

	background: #ffffff;
	color: #202938;

	font-size: 15px;
	line-height: 48px;

	outline: none;
	box-shadow: none;

	-webkit-appearance: none;
	appearance: none;
}

.rago-qr-mobile-form-group input:focus {
	border-color: #168cff;
	box-shadow: 0 0 0 3px rgba(22, 140, 255, 0.12);
}

.rago-qr-mobile-form-group input::placeholder {
	color: #9aa2af;
	opacity: 1;
}


/* ==========================================================
   Terms
   ========================================================== */

.rago-qr-mobile-terms {
	margin: 8px 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: #4d5665;
}

.rago-qr-mobile-terms label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	cursor: pointer;
}

.rago-qr-mobile-terms input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex: 0 0 auto;
}


/* ==========================================================
   Terms Links
   ========================================================== */

.rago-qr-mobile-terms a {
	color: #168cff;
	text-decoration: none;
}

.rago-qr-mobile-terms a:hover {
	text-decoration: underline;
}


/* ==========================================================
   Submit
   ========================================================== */

.rago-qr-mobile-submit {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 18px;

	border: 0;
	border-radius: 10px;

	background: #168cff;
	color: #ffffff;

	font-size: 15px;
	font-weight: 600;
	line-height: 50px;
	text-align: center;

	cursor: pointer;

	box-shadow: none;

	transition:
		background 0.2s ease,
		transform 0.15s ease;
}

.rago-qr-mobile-submit:hover {
	background: #0877df;
}

.rago-qr-mobile-submit:active {
	transform: translateY(1px);
}


/* ==========================================================
   Message
   ========================================================== */

.rago-qr-mobile-form-message {
	display: block;
	margin-top: 16px;
	padding: 12px 14px;

	border-radius: 9px;

	font-size: 14px;
	line-height: 1.5;

	text-align: center;
}


/* ==========================================================
   Invalid / Expired QR
   ========================================================== */

.rago-qr-mobile-message {
	padding: 18px;
	border-radius: 10px;
	background: #f5f6f8;
	color: #555e6d;
	font-size: 14px;
	line-height: 1.6;
	text-align: center;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 600px) {

	.rago-qr-mobile-register {
		padding: 70px 12px 45px;
	}

	.rago-qr-mobile-window {
		padding: 24px 16px 28px;
		border-radius: 14px;
		box-shadow: none;
	}

	.rago-qr-mobile-header {
		margin-bottom: 24px;
	}

	.rago-qr-mobile-header h2 {
		font-size: 24px;
	}

	.rago-qr-mobile-header p {
		font-size: 14px;
	}

	.rago-qr-mobile-form-group {
		margin-bottom: 16px;
	}

	.rago-qr-mobile-form-group input[type="text"],
	.rago-qr-mobile-form-group input[type="email"],
	.rago-qr-mobile-form-group input[type="password"] {
		height: 48px;
		font-size: 16px;
	}

}






























/* ==========================================================
   QR MOBILE REGISTRATION — DARK THEME
   ========================================================== */

.rago-qr-mobile-register {
	background: #050914;
	color: #ffffff;
	min-height: 100vh;
	padding: 70px 12px 45px;
	box-sizing: border-box;
}

.rago-qr-mobile-window {
	width: min(560px, 100%);
	margin: 0 auto;
	padding: 28px 20px 32px;
	box-sizing: border-box;

	background: #0b1220;
	border: 1px solid rgba(0, 217, 255, 0.18);
	border-radius: 16px;

	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.45);
}


/* ==========================================================
   Header
   ========================================================== */

.rago-qr-mobile-header {
	text-align: center;
	margin-bottom: 26px;
}

.rago-qr-mobile-header h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 26px;
	line-height: 1.3;
}

.rago-qr-mobile-header p {
	margin: 0;
	color: #aeb8c8;
	font-size: 15px;
	line-height: 1.5;
}


/* ==========================================================
   Form Group
   ========================================================== */

.rago-qr-mobile-form-group {
	margin-bottom: 18px;
}

.rago-qr-mobile-form-group label {
	display: block;
	margin-bottom: 8px;

	color: #f1f5f9;

	font-size: 15px;
	font-weight: 500;
}


/* ==========================================================
   Inputs
   ========================================================== */

.rago-qr-mobile-form-group input[type="text"],
.rago-qr-mobile-form-group input[type="email"],
.rago-qr-mobile-form-group input[type="password"] {
	width: 100%;
	height: 50px;

	padding: 0 15px;

	box-sizing: border-box;

	background: #111a2b;
	color: #ffffff;

	border: 1px solid #334155;
	border-radius: 10px;

	font-size: 16px;

	outline: none;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.rago-qr-mobile-form-group input::placeholder {
	color: #8994a5;
}

.rago-qr-mobile-form-group input:focus {
	background: #121e31;
	border-color: #00d9ff;

	box-shadow:
		0 0 0 3px rgba(0, 217, 255, 0.12);
}


/* ==========================================================
   Terms
   ========================================================== */

.rago-qr-mobile-terms {
	margin: 20px 0;

	color: #d1d7e0;

	font-size: 14px;
	line-height: 1.6;
}

.rago-qr-mobile-terms label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.rago-qr-mobile-terms input[type="checkbox"] {
	width: 18px;
	height: 18px;

	margin: 2px 0 0;

	flex: 0 0 auto;
}

.rago-qr-mobile-terms a {
	color: #29b6f6;
	text-decoration: none;
}

.rago-qr-mobile-terms a:hover {
	text-decoration: underline;
}


/* ==========================================================
   Submit
   ========================================================== */

.rago-qr-mobile-submit {
	width: 100%;

	min-height: 50px;

	border: 0;
	border-radius: 10px;

	background: #168cf0;
	color: #ffffff;

	font-size: 16px;
	font-weight: 600;

	cursor: pointer;

	transition:
		background 0.2s ease,
		transform 0.1s ease;
}

.rago-qr-mobile-submit:hover {
	background: #0d7cda;
}

.rago-qr-mobile-submit:active {
	transform: translateY(1px);
}


/* ==========================================================
   Message
   ========================================================== */

.rago-qr-mobile-form-message {
	margin-top: 14px;

	text-align: center;

	color: #cbd5e1;

	font-size: 14px;
}


/* ==========================================================
   Invalid / Expired QR
   ========================================================== */

.rago-qr-mobile-message {
	text-align: center;

	color: #aeb8c8;

	font-size: 15px;

	line-height: 1.6;
}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 600px) {

	.rago-qr-mobile-register {
		padding: 70px 12px 45px;
	}

	.rago-qr-mobile-window {
		padding: 24px 16px 28px;
		border-radius: 14px;
		box-shadow: none;
	}

	.rago-qr-mobile-header {
		margin-bottom: 24px;
	}

	.rago-qr-mobile-header h2 {
		font-size: 24px;
	}

	.rago-qr-mobile-header p {
		font-size: 14px;
	}

	.rago-qr-mobile-form-group {
		margin-bottom: 16px;
	}

	.rago-qr-mobile-form-group input[type="text"],
	.rago-qr-mobile-form-group input[type="email"],
	.rago-qr-mobile-form-group input[type="password"] {
		height: 48px;
		font-size: 16px;
	}

}













































/* ==========================================================
   Existing Account Popup
   ========================================================== */

.rago-qr-existing-account-popup {
	position: fixed;
	inset: 0;
	z-index: 9999999;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 20px;

	box-sizing: border-box;
}

.rago-qr-existing-account-overlay {
	position: absolute;
	inset: 0;

	background: rgba(0, 0, 0, 0.75);
}

.rago-qr-existing-account-window {
	position: relative;
	z-index: 2;

	width: min(420px, 100%);

	padding: 30px 25px;

	box-sizing: border-box;

	border-radius: 18px;

	background: #08101f;

	border: 1px solid rgba(0, 210, 255, 0.35);

	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.6);

	text-align: center;

	color: #ffffff;
}

.rago-qr-existing-account-close {
	position: absolute;

	top: 10px;
	right: 14px;

	width: 34px;
	height: 34px;

	border: 0;

	background: transparent;

	color: #aaa;

	font-size: 28px;

	cursor: pointer;
}

.rago-qr-existing-account-icon {
	width: 50px;
	height: 50px;

	margin: 0 auto 16px;

	display: flex;
	align-items: center;
	justify-content: center;

	border-radius: 50%;

	background: rgba(0, 210, 255, 0.12);

	color: #00d9ff;

	font-size: 25px;
	font-weight: 700;
}

.rago-qr-existing-account-window h3 {
	margin: 0 0 12px;

	font-size: 22px;

	color: #ffffff;
}

.rago-qr-existing-account-window p {
	margin: 0 0 22px;

	color: #b8c1d1;

	font-size: 14px;

	line-height: 1.6;
}

.rago-qr-existing-account-login {
	display: block;

	width: 100%;

	padding: 13px 20px;

	border: 0;

	border-radius: 10px;

	background: #168ff0;

	color: #ffffff;

	font-size: 15px;

	font-weight: 600;

	cursor: pointer;
}

.rago-qr-existing-account-login:hover {
	background: #087bd8;
}