/* ---------- Razenet Login Popup: shared form styles ---------- */
.rzlp-auth { max-width: 420px; margin: 0 auto; font-family: inherit; }
.rzlp-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid #e2e2e2; }
.rzlp-tab-btn {
	flex: 1; padding: 10px 12px; background: none; border: none; cursor: pointer;
	font-size: 15px; font-weight: 600; color: #777; border-bottom: 2px solid transparent;
}
.rzlp-tab-btn.active { color: #1d2327; border-bottom-color: #2271b1; }
.rzlp-field { margin-bottom: 14px; }
.rzlp-field label { display: block; margin-bottom: 4px; font-weight: 500; }
.rzlp-field input[type="text"],
.rzlp-field input[type="email"],
.rzlp-field input[type="password"],
.rzlp-field input[type="number"],
.rzlp-field select,
.rzlp-field textarea {
	width: 100%; padding: 9px 10px; border: 1px solid #ccd0d4; border-radius: 4px; box-sizing: border-box; font-size: 14px;
}
.rzlp-field-checkbox label { font-weight: 400; }
.rzlp-req { color: #d63638; }
.rzlp-remember label { font-weight: 400; display: flex; align-items: center; gap: 6px; }
.rzlp-submit button.rzlp-btn {
	width: 100%; padding: 11px; border: none; border-radius: 4px; cursor: pointer; font-size: 15px; font-weight: 600;
}
.rzlp-btn-primary { background: #2271b1; color: #fff; }
.rzlp-btn-primary:hover { background: #135e96; }
.rzlp-btn-primary[disabled] { opacity: .6; cursor: not-allowed; }
.rzlp-links { text-align: center; margin-top: 10px; }
.rzlp-links a { text-decoration: none; }
.rzlp-messages { min-height: 0; }
.rzlp-messages .rzlp-notice {
	padding: 10px 12px; border-radius: 4px; margin-bottom: 14px; font-size: 14px;
}
.rzlp-notice-error { background: #fcf0f1; border-left: 4px solid #d63638; color: #442; }
.rzlp-notice-success { background: #edfaef; border-left: 4px solid #00a32a; color: #133; }

/* ---------- Popup / Modal ---------- */
.rzlp-modal { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; }
.rzlp-modal.rzlp-open { display: flex; }
.rzlp-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.rzlp-modal-dialog {
	position: relative; background: #fff; border-radius: 8px; max-width: 460px; width: 92%;
	max-height: 90vh; overflow: auto; padding: 32px 28px; box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.rzlp-modal-dialog.rzlp-orientation-horizontal { max-width: 460px; }
.rzlp-modal-dialog.rzlp-orientation-vertical { max-width: 780px; display: flex; gap: 0; padding: 0; align-items: stretch; }
.rzlp-modal-dialog.rzlp-orientation-vertical .rzlp-modal-form-panel { padding: 32px 28px; flex: 1; }
.rzlp-modal-dialog.rzlp-orientation-vertical .rzlp-modal-banner { flex: 1; }
.rzlp-modal-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rzlp-orientation-horizontal .rzlp-modal-banner { margin: -32px -28px 20px; }
.rzlp-orientation-horizontal .rzlp-modal-banner img { max-height: 160px; }
.rzlp-modal-close {
	position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 26px;
	line-height: 1; cursor: pointer; color: #555; z-index: 2;
}
body.rzlp-modal-active { overflow: hidden; }

/* Already logged in notice on the shortcode */
.rzlp-already-logged-in { padding: 14px; background: #f6f7f7; border-radius: 4px; }

@media (max-width: 600px) {
	.rzlp-modal-dialog.rzlp-orientation-vertical { flex-direction: column; }
}

/* ---------- Admin ---------- */
.rzlp-admin-wrap .form-table th { width: 260px; }
.rzlp-status { padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.rzlp-status-success, .rzlp-status-registered { background: #edfaef; color: #00782a; }
.rzlp-status-failed { background: #fcf0f1; color: #b32d2e; }
.rzlp-pagination a { margin-right: 4px; }
#rzlp_banner_preview img { max-width: 240px; height: auto; display: block; margin-bottom: 10px; }
