@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Custom Registration Form Styles */

.custom-reg-two-column-layout {
	display: flex;
	flex-direction: row;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.custom-reg-banner-col {
	flex: 1.1;
	background: #f5f3ff;
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	overflow-y: auto;
	box-sizing: border-box;
}

.custom-reg-banner-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 48px 40px;
	box-sizing: border-box;
	background: #f5f3ff;
	text-align: left;
}

/* Banner Top Section (Heading & Subtitle) */
.banner-title {
	font-family: 'Poppins', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #0f172a; /* Slate 900 for dark Slate text */
	line-height: 1.15;
	margin: 0 0 16px 0;
	letter-spacing: -0.5px;
}

.banner-title .purple-highlight {
	color: #4a2cc4;
}

.banner-subtitle {
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #64748b; /* Slate 500 grey text */
	margin: 0;
	font-weight: 400;
	max-width: 95%;
}

/* Banner Middle Section (Books Image) */
.custom-reg-banner-middle {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 28px 0;
}

.banner-books-img {
	width: 100%;
	max-width: 440px;
	height: auto;
	display: block;
}

/* Banner Bottom Section (Features list) */
.banner-features-list {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 24px;
}

.banner-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 10px 0;
	border-bottom: 1px solid rgba(74, 44, 196, 0.08); /* light purple-grey divider */
	width: 100%;
}

.banner-feature-item:first-child {
	padding-top: 0;
}

.banner-feature-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.feature-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px; /* 48px circular wrapper */
	height: 48px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.banner-feature-item:hover .feature-icon-wrapper {
	transform: scale(1.05);
}

.feature-icon-wrapper.purple-icon {
	background: #f3e8ff; /* Light purple */
	color: #4a2cc4;
}

.feature-icon-wrapper.green-icon {
	background: #e6fcf5; /* Light green */
	color: #0ca678;
}

.feature-icon-wrapper.orange-icon {
	background: #fff4e6; /* Light orange */
	color: #f59f00;
}

.feature-icon-wrapper svg {
	width: 20px;
	height: 20px;
}

.feature-text {
	flex: 1;
}

.feature-title {
	font-family: 'Poppins', sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.feature-desc {
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}

/* Testimonial Card */
.banner-testimonial-card {
	background: #f7f6fe; /* Very soft light purple card */
	border: 1px solid #e8e4fe;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 24px;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	text-align: left;
}

.testimonial-quote-icon {
	color: #4a2cc4;
	opacity: 0.8;
	margin-bottom: 12px;
	display: flex;
}

.testimonial-text {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-style: normal; /* Normal text instead of italic for modern card look */
	color: #334155;
	line-height: 1.55;
	margin: 0 0 16px 0;
	font-weight: 500;
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.testimonial-avatar {
	width: 48px; /* 48px avatar portrait */
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
	border: 2px solid #ffffff;
	box-shadow: 0 4px 12px rgba(74, 44, 196, 0.1);
}

.author-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.author-name {
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.author-stars {
	display: flex;
	color: #fbbf24; /* Warm Gold */
	font-size: 12px;
	letter-spacing: 2px;
}

/* Safety Message Footer */
.custom-reg-banner-security {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #6b7280;
	margin-top: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	width: 100%;
}

.banner-lock-svg {
	color: #4a2cc4;
	flex-shrink: 0;
}

.custom-reg-form-col {
	flex: 0.9;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 56px;
	background: #ffffff;
	box-sizing: border-box;
}

.custom-reg-outer-container {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	background: transparent;
	padding: 0;
	box-sizing: border-box;
}

.custom-reg-form-title {
	font-size: 28px;
	font-weight: 700;
	color: #1a202c;
	margin-bottom: 6px;
	text-align: left;
	margin-top: 0;
}

.custom-reg-form-subtitle {
	font-size: 14px;
	color: #718096;
	margin-bottom: 28px;
	text-align: left;
	margin-top: 0;
}

/* Security Info styling */
.custom-reg-bottom-security {
	margin-top: 28px;
	text-align: center;
	width: 100%;
}

.security-divider {
	position: relative;
	text-align: center;
	margin-bottom: 16px;
}

.security-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #e2e8f0;
	z-index: 1;
}

.security-divider span {
	position: relative;
	background-color: #ffffff;
	padding: 0 12px;
	font-size: 12px;
	color: #94a3b8;
	z-index: 2;
	display: inline-block;
}

.security-text {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: #94a3b8;
}

.security-lock-icon {
	display: flex;
	align-items: center;
	color: #94a3b8;
}

/* Hide default MasterStudy headers if necessary, or let this style stand alone */
.custom-reg-outer-container form {
	display: block;
	width: 100%;
}

.custom-reg-field {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.custom-reg-label {
	font-size: 14px;
	font-weight: 600;
	color: #1a202c;
	margin-bottom: 8px;
	text-align: left;
}

.custom-reg-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fcfcfd;
	transition: all 0.2s ease-in-out;
}

.custom-reg-input-wrapper:focus-within {
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
	background: #ffffff;
}

.custom-reg-icon {
	position: absolute;
	left: 14px;
	display: flex;
	align-items: center;
	color: #94a3b8;
	pointer-events: none;
	z-index: 2;
}

.custom-reg-input {
	width: 100%;
	height: 48px;
	padding: 10px 16px 10px 44px !important;
	font-size: 14px;
	color: #1a202c;
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	border-radius: 10px;
	box-sizing: border-box;
	transition: background-color 0.2s;
}

.custom-reg-input::placeholder {
	color: #94a3b8;
	opacity: 1;
}

/* Custom Select Styling */
.custom-reg-select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	padding-right: 40px;
}

.select-arrow-icon {
	position: absolute;
	right: 16px;
	color: #94a3b8;
	pointer-events: none;
	display: flex;
	align-items: center;
}

/* WhatsApp Wrapper */
.whatsapp-wrapper {
	background: #fcfcfd;
	padding-left: 0;
}

.whatsapp-code-selector {
	display: flex;
	align-items: center;
	padding: 0 14px;
	height: 48px;
	cursor: pointer;
	position: relative;
	user-select: none;
}

.whatsapp-brand-icon {
	display: flex;
	align-items: center;
	color: #25D366; /* WhatsApp Brand Green */
}

.selected-code {
	font-size: 14px;
	font-weight: 500;
	margin-left: 8px;
	color: #1a202c;
}

.whatsapp-arrow {
	display: flex;
	align-items: center;
	margin-left: 6px;
	color: #94a3b8;
}

.whatsapp-separator {
	color: #e2e8f0;
	font-size: 18px;
	font-weight: 300;
	margin: 0;
	user-select: none;
}

.whatsapp-input {
	flex: 1;
	padding-left: 12px !important;
	height: 46px; /* slightly smaller to fit in wrapper */
}

/* WhatsApp Country Dropdown List */
.country-dropdown-list-wrapper {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 100%;
	min-width: 270px;
	max-width: 340px;
	max-height: 320px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	z-index: 1000;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.country-search-input {
	padding: 10px 14px;
	border: none;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13px;
	outline: none;
	width: 100%;
	box-sizing: border-box;
	background: #f8fafc;
}

.country-dropdown-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow-y: auto;
	flex: 1;
	max-height: 260px;
	text-align: left;
}

.country-dropdown-list li {
	padding: 10px 14px;
	font-size: 13px;
	color: #334155;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: background-color 0.15s ease;
	border-bottom: 1px solid #f8fafc;
}

.country-dropdown-list li:last-child {
	border-bottom: none;
}

.country-dropdown-list li:hover {
	background-color: #f1f5f9;
}

.country-dropdown-list li .country-info {
	display: flex;
	align-items: center;
	gap: 8px;
}

.country-dropdown-list li .country-flag {
	font-size: 16px;
}

.country-dropdown-list li .country-name {
	font-weight: 400;
}

.country-dropdown-list li .dial-code {
	font-weight: 600;
	color: #64748b;
}

/* Password Toggle Buttons */
.password-toggle-btn {
	position: absolute;
	right: 14px;
	cursor: pointer;
	color: #94a3b8;
	z-index: 2;
	display: flex;
	align-items: center;
	transition: color 0.15s;
}

.custom-reg-input.password-input {
	padding-right: 48px !important;
}

.password-toggle-btn:hover {
	color: #6366f1;
}

.password-input {
	padding-right: 44px;
}

/* Helper Text */
.password-helper-text {
	display: flex;
	align-items: flex-start;
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
	transition: color 0.2s;
	text-align: left;
}

.helper-check-icon {
	display: flex;
	align-items: center;
	margin-right: 6px;
	margin-top: 2px;
	color: #94a3b8;
	transition: color 0.2s;
}

.password-helper-text.is-valid {
	color: #10b981;
}

.password-helper-text.is-valid .helper-check-icon {
	color: #10b981;
}

/* Custom Checkbox Styling */
.custom-reg-checkbox-field {
	margin-bottom: 24px;
	text-align: left;
}

.custom-checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	position: relative;
	cursor: pointer;
	user-select: none;
	font-size: 13px;
	color: #64748b;
}

.custom-checkbox-wrapper input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.custom-checkbox-checkmark {
	height: 18px;
	width: 18px;
	background-color: #ffffff;
	border: 2px solid #cbd5e1;
	border-radius: 5px;
	margin-right: 10px;
	flex-shrink: 0;
	position: relative;
	transition: all 0.2s ease-in-out;
	margin-top: 1px;
}

.custom-checkbox-wrapper:hover input ~ .custom-checkbox-checkmark {
	border-color: #6366f1;
}

.custom-checkbox-wrapper input:checked ~ .custom-checkbox-checkmark {
	background-color: #4a2cc4;
	border-color: #4a2cc4;
}

.custom-checkbox-checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

.custom-checkbox-wrapper input:checked ~ .custom-checkbox-checkmark:after {
	display: block;
}

.custom-checkbox-wrapper .custom-checkbox-checkmark:after {
	left: 5px;
	top: 1px;
	width: 4px;
	height: 8px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checkbox-text a {
	color: #4a2cc4;
	text-decoration: none;
	font-weight: 600;
}

.checkbox-text a:hover {
	text-decoration: underline;
}

/* Submit Button */
.custom-reg-submit-wrapper {
	width: 100%;
}

.custom-reg-submit-btn {
	width: 100%;
	height: 52px;
	background: #4a2cc4;
	color: #ffffff;
	border: none;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: 0 4px 6px -1px rgba(74, 44, 196, 0.2), 0 2px 4px -1px rgba(74, 44, 196, 0.1);
	transition: all 0.25s ease;
}

.custom-reg-submit-btn:hover:not(:disabled) {
	background: #3c20ad;
	box-shadow: 0 6px 10px -1px rgba(74, 44, 196, 0.3), 0 4px 6px -1px rgba(74, 44, 196, 0.15);
	transform: translateY(-1px);
}

.custom-reg-submit-btn:active:not(:disabled) {
	transform: translateY(0);
}

.custom-reg-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn-arrow-icon {
	display: flex;
	align-items: center;
	transition: transform 0.2s ease;
}

.custom-reg-submit-btn:hover:not(:disabled) .btn-arrow-icon {
	transform: translateX(4px);
}

/* Errors Container */
.custom-reg-errors-container {
	margin-top: 16px;
	padding: 12px 16px;
	background-color: #fef2f2;
	border-left: 4px solid #ef4444;
	border-radius: 6px;
	text-align: left;
}

.custom-reg-error-item {
	font-size: 13px;
	color: #991b1b;
	margin-bottom: 4px;
}

.custom-reg-error-item:last-child {
	margin-bottom: 0;
}

.custom-reg-input-error-msg {
	font-size: 12px;
	color: #ef4444;
	text-align: left;
	margin-top: 4px;
	display: block;
}

.custom-reg-input-wrapper.has-error {
	border-color: #ef4444;
}

.custom-reg-input-wrapper.has-error:focus-within {
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Loading Spinner */
.btn-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: spin 0.8s linear infinite;
}

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

/* Dark Mode Overrides (if MasterStudy uses Dark Mode classes) */
.masterstudy-authorization_dark-mode .custom-reg-two-column-layout {
	background: #1e1e2e;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.masterstudy-authorization_dark-mode .custom-reg-form-col {
	background: #1e1e2e;
}

.masterstudy-authorization_dark-mode .custom-reg-banner-col {
	background: #151521;
}

.masterstudy-authorization_dark-mode .custom-reg-form-title {
	color: #f1f5f9;
}

.masterstudy-authorization_dark-mode .custom-reg-form-subtitle {
	color: #94a3b8;
}

.masterstudy-authorization_dark-mode .custom-reg-outer-container {
	background: transparent;
}

.masterstudy-authorization_dark-mode .custom-reg-label {
	color: #f1f5f9;
}

.masterstudy-authorization_dark-mode .custom-reg-input-wrapper {
	background: #151521;
	border-color: #334155;
}

.masterstudy-authorization_dark-mode .custom-reg-input {
	color: #f1f5f9;
}

.masterstudy-authorization_dark-mode .selected-code {
	color: #f1f5f9;
}

.masterstudy-authorization_dark-mode .country-dropdown-list-wrapper {
	background: #1e1e2e;
	border-color: #334155;
}

.masterstudy-authorization_dark-mode .country-search-input {
	background: #151521;
	border-color: #334155;
	color: #f1f5f9;
}

.masterstudy-authorization_dark-mode .country-dropdown-list li {
	color: #cbd5e1;
	border-color: #334155;
}

.masterstudy-authorization_dark-mode .country-dropdown-list li:hover {
	background-color: #334155;
}

.masterstudy-authorization_dark-mode .security-divider::before {
	background-color: #334155;
}

.masterstudy-authorization_dark-mode .security-divider span {
	background-color: #1e1e2e;
}

.masterstudy-authorization_dark-mode .custom-reg-banner-content,
.masterstudy-authorization_dark-mode .custom-reg-banner-security {
	background: #151521;
	color: #94a3b8;
}

.masterstudy-authorization_dark-mode .banner-lock-svg {
	color: #818cf8;
}

.masterstudy-authorization_dark-mode .custom-reg-top-switch {
	color: #94a3b8;
}

.masterstudy-authorization_dark-mode .custom-switch-link {
	color: #818cf8;
}

.masterstudy-authorization_dark-mode .custom-forgot-link {
	color: #818cf8;
}

.masterstudy-authorization_dark-mode .custom-social-divider-line {
	background-color: #334155;
}

.masterstudy-authorization_dark-mode .custom-social-divider-text {
	color: #64748b;
}

.masterstudy-authorization_dark-mode .custom-social-btn {
	background-color: #1e1e2e;
	border-color: #334155;
	color: #cbd5e1;
}

.masterstudy-authorization_dark-mode .custom-social-btn:hover {
	background-color: #334155;
	border-color: #475569;
}

.masterstudy-authorization_dark-mode .custom-help-card-container {
	background-color: #151521;
}

.masterstudy-authorization_dark-mode .help-card-headset {
	background-color: #1e1b4b;
	color: #818cf8;
}

.masterstudy-authorization_dark-mode .help-card-title {
	color: #cbd5e1;
}

.masterstudy-authorization_dark-mode .help-card-text {
	color: #64748b;
}

.masterstudy-authorization_dark-mode .help-card-btn {
	background-color: #1e1e2e;
	border-color: #334155;
	color: #818cf8;
}

.masterstudy-authorization_dark-mode .help-card-btn:hover {
	background-color: #334155;
	border-color: #818cf8;
}

/* Top Switch link (Create account / Sign In) */
.custom-reg-form-col {
	display: flex;
	flex-direction: column;
}

.custom-reg-top-switch {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
	font-size: 13px;
	color: #718096;
	width: 100%;
	margin-bottom: 24px;
}

.custom-switch-link {
	color: #4a2cc4;
	font-weight: 600;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 2px;
	transition: all 0.15s ease;
}

.custom-switch-link:hover {
	text-decoration: underline;
}

/* Inline arrow animation */
.inline-arrow-svg {
	transition: transform 0.2s ease;
}

.custom-switch-link:hover .inline-arrow-svg {
	transform: translateX(3px);
}

/* Forgot password wrapper */
.custom-reg-forgot-wrapper {
	text-align: right;
	width: 100%;
	margin-top: 8px;
}

.custom-forgot-link {
	font-size: 13px;
	font-weight: 600;
	color: #4a2cc4;
	text-decoration: none;
	transition: all 0.15s ease;
}

.custom-forgot-link:hover {
	text-decoration: underline;
}

/* Custom Social Divider */
.custom-social-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 24px 0;
	width: 100%;
}

.custom-social-divider-line {
	flex: 1;
	height: 1px;
	background-color: #e2e8f0;
}

.custom-social-divider-text {
	padding: 0 16px;
	font-size: 12px;
	color: #94a3b8;
	text-transform: lowercase;
}

/* Social Login Buttons */
.custom-social-buttons-container {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 24px;
	width: 100%;
}

.custom-social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #ffffff;
	color: #1a202c;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
	gap: 10px;
	width: 100%;
	box-sizing: border-box;
}

.custom-social-btn:hover {
	background: #f8fafc;
	border-color: #cbd5e1;
}

.social-btn-logo {
	width: 18px;
	height: 18px;
	display: block;
}

/* Support Help Card Area */
.custom-help-card-container {
	display: flex;
	align-items: center;
	padding: 16px;
	background-color: #f8fafc;
	border-radius: 12px;
	gap: 12px;
	width: 100%;
	margin-top: 24px;
	box-sizing: border-box;
	text-align: left;
}

.help-card-headset {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	background: #eef2ff;
	color: #4a2cc4;
	border-radius: 50%;
	flex-shrink: 0;
}

.help-card-content {
	flex: 1;
}

.help-card-title {
	font-size: 13px;
	font-weight: 600;
	color: #1a202c;
	margin: 0 0 2px 0;
}

.help-card-text {
	font-size: 11px;
	color: #718096;
	margin: 0;
	line-height: 1.4;
}

.help-card-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 12px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #4a2cc4;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s;
	white-space: nowrap;
	cursor: pointer;
}

.help-card-btn:hover {
	background: #f8fafc;
	border-color: #4a2cc4;
}

.help-card-btn:hover .inline-arrow-svg {
	transform: translateX(2px);
}

/* Responsive media queries */
@media (max-width: 900px) {
	.custom-reg-two-column-layout {
		flex-direction: column;
		max-width: 100% !important;
		width: 100% !important;
		margin: 0 !important;
		border-radius: 12px;
	}
	.custom-reg-banner-col {
		display: none;
	}
	.custom-reg-form-col {
		padding: 24px 15px !important; /* exactly 15px padding inside the form */
	}
	.masterstudy-authorization__wrapper {
		padding: 0 15px !important; /* exactly 15px padding outside the wrapper */
	}
	.masterstudy-authorization-modal__wrapper {
		width: calc(100% - 30px) !important;
		margin: 15px !important;
		height: auto !important;
		max-height: calc(100vh - 30px) !important;
		border-radius: 12px !important;
	}
}

/* Hide MasterStudy default headers, action buttons, and switches for login/register */
.masterstudy-authorization__header {
	display: none !important;
}

.masterstudy-authorization__wrapper > .masterstudy-authorization__actions {
	display: none !important;
}

.masterstudy-authorization > .masterstudy-authorization__switch {
	display: none !important;
}

.masterstudy-authorization__wrapper > .masterstudy-authorization__separator {
	display: none !important;
}

.masterstudy-authorization__wrapper > .masterstudy-authorization__social {
	display: none !important;
}

/* Override MasterStudy LMS Modal wrapper width on desktop */
@media (min-width: 901px) {
	.masterstudy-authorization-modal__wrapper {
		width: 1300px !important;
		max-width: 95% !important;
		height: auto !important;
		max-height: 85vh !important;
		border-radius: 16px !important;
	}
	
	.masterstudy-authorization-modal__container {
		padding-top: 0 !important;
	}
	
	.masterstudy-authorization-modal__close {
		top: 24px !important;
		right: 24px !important;
		z-index: 100 !important;
	}

	.masterstudy__login-page-form {
		max-width: 1300px !important;
		width: 100% !important;
	}
}
