/* Registration Requests Plugin Styles */

.rr-form-wrap,
.rr-status-wrap,
.rr-admin-wrap,
.rr-detail-wrap {
	max-width: 720px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.rr-status-wrap {
	max-width: 380px;
	padding: 1rem 0 2rem;
}

.rr-admin-wrap {
	max-width: 1100px;
}

.rr-form-title,
.rr-status-title,
.rr-admin-title,
.rr-detail-title {
	margin-bottom: 1.5rem;
	font-size: 1.75rem;
	font-weight: 600;
	color: #1d2327;
}

.rr-notice {
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	border-radius: 6px;
	border-left: 4px solid;
}

.rr-notice-title {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 1rem;
	font-weight: 700;
}

.rr-notice-text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.rr-notice-error {
	background: #fcf0f1;
	border-color: #d63638;
	color: #8a1f1f;
}

.rr-notice-success {
	background: #edfaef;
	border-color: #00a32a;
	color: #1e4620;
}

.rr-notice-success a {
	color: #007017;
	word-break: break-all;
}

.rr-field {
	margin-bottom: 1.25rem;
}

.rr-field label {
	display: block;
	margin-bottom: 0.4rem;
	font-weight: 500;
	color: #1d2327;
}

.rr-asterisk {
	color: #d63638;
}

.rr-optional {
	font-weight: 400;
	color: #646970;
}

.rr-field input[type="text"],
.rr-field input[type="email"],
.rr-field input[type="tel"],
.rr-field input[type="file"],
.rr-field select,
.rr-field textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	font-size: 1rem;
	box-sizing: border-box;
}

.rr-field input:focus,
.rr-field select:focus,
.rr-field textarea:focus {
	border-color: #2271b1;
	outline: none;
	box-shadow: 0 0 0 1px #2271b1;
}

.rr-searchable-select,
.rr-country-select {
	position: relative;
}

.rr-searchable-list,
.rr-country-list {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 200px;
	overflow-y: auto;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-top: none;
	border-radius: 0 0 4px 4px;
	z-index: 100;
	display: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rr-searchable-list.rr-open,
.rr-country-list.rr-open {
	display: block;
}

.rr-searchable-list li,
.rr-country-list li {
	padding: 0.5rem 0.75rem;
	cursor: pointer;
}

.rr-searchable-list li:hover,
.rr-searchable-list li.rr-highlighted,
.rr-country-list li:hover,
.rr-country-list li.rr-highlighted {
	background: #f0f6fc;
}

.rr-field input[disabled] {
	background: #f6f7f7;
	color: #646970;
	cursor: not-allowed;
}

.rr-btn {
	display: inline-block;
	padding: 0.5rem 1rem;
	font-size: 0.9rem;
	font-weight: 500;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.4;
}

.rr-btn-primary {
	background: #2271b1;
	color: #fff;
}

.rr-btn-primary:hover {
	background: #135e96;
	color: #fff;
}

.rr-btn-secondary {
	background: #f0f0f1;
	color: #1d2327;
	border: 1px solid #c3c4c7;
}

.rr-btn-secondary:hover {
	background: #e0e0e0;
}

.rr-btn-success {
	background: #00a32a;
	color: #fff;
}

.rr-btn-success:hover {
	background: #008a20;
}

.rr-btn-danger {
	background: #d63638;
	color: #fff;
}

.rr-btn-danger:hover {
	background: #b32d2e;
}

.rr-btn-warning {
	background: #dba617;
	color: #fff;
}

.rr-btn-warning:hover {
	background: #c69200;
}

.rr-btn-sm {
	padding: 0.3rem 0.6rem;
	font-size: 0.8rem;
	margin: 0.1rem;
}

.rr-submit-wrap {
	margin-top: 1.5rem;
}

.rr-status-card,
.rr-detail-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rr-status-badge {
	display: inline-block;
	padding: 0.35rem 0.85rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.rr-status-under_review {
	background: #f0f6fc;
	color: #2271b1;
}

.rr-status-accepted {
	background: #edfaef;
	color: #00a32a;
}

.rr-status-rejected {
	background: #fcf0f1;
	color: #d63638;
}

.rr-status-hold {
	background: #fcf9e8;
	color: #996800;
}

.rr-attended-badge {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	border-radius: 4px;
	font-size: 0.8rem;
	font-weight: 600;
}

.rr-attended-yes {
	background: #edfaef;
	color: #00a32a;
}

.rr-attended-no {
	background: #f0f0f1;
	color: #50575e;
}

.rr-detail-list {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 0.5rem 1rem;
	margin: 0;
}

.rr-detail-list dt {
	font-weight: 600;
	color: #50575e;
	margin: 0;
}

.rr-detail-list dd {
	margin: 0;
	color: #1d2327;
}

.rr-detail-image {
	margin: 1rem 0;
}

.rr-detail-image img {
	max-width: 100%;
	max-height: 300px;
	border-radius: 6px;
	border: 1px solid #c3c4c7;
}

.rr-status-message {
	margin-top: 1rem;
	color: #50575e;
	line-height: 1.6;
}

/* Conference badge layout — forest green theme */
.rr-conference-badge {
	position: relative;
	background: #f6fbf7;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(27, 67, 50, 0.15);
	border: 1px solid #b7d4c3;
	text-align: center;
}

.rr-badge-header,
.rr-badge-footer {
	background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
	color: #d8f3dc;
	padding: 0.85rem 1rem;
}

.rr-badge-header-title {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rr-badge-footer {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.95;
}

.rr-badge-content {
	padding: 1.5rem 1.35rem 1.1rem;
	background: #fff;
}

.rr-badge-photo-wrap {
	margin: 0 auto;
	width: 140px;
	height: 140px;
}

.rr-badge-photo {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #40916c;
	box-shadow: 0 4px 14px rgba(27, 67, 50, 0.18);
	background: #d8f3dc;
}

.rr-badge-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.2rem;
	font-weight: 700;
	color: #1b4332;
	background: linear-gradient(145deg, #d8f3dc, #b7e4c7);
}

.rr-badge-id {
	margin: 0.75rem 0 0;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #2d6a4f;
	text-transform: uppercase;
}

.rr-badge-body {
	padding: 1rem 0 0;
}

.rr-badge-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #40916c;
	line-height: 1.4;
}

.rr-badge-called {
	margin: 0.4rem 0 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: #52796f;
}

.rr-badge-name {
	margin: 0.35rem 0 0;
	font-size: 1.6rem;
	line-height: 1.2;
	font-weight: 800;
	color: #1b4332;
	word-break: break-word;
}

.rr-badge-phone,
.rr-badge-email {
	margin: 0.55rem 0 0;
	font-size: 0.95rem;
	color: #2d6a4f;
	line-height: 1.4;
}

.rr-badge-qr-section {
	margin-top: 1.25rem;
	display: flex;
	justify-content: center;
}

.rr-badge-qr-section .rr-status-qr-code {
	display: inline-block;
	padding: 0.5rem;
	border: 1px solid #b7d4c3;
	border-radius: 10px;
	background: #f6fbf7;
	line-height: 0;
}

.rr-badge-qr-section .rr-status-qr-code svg {
	width: 180px;
	height: 180px;
	display: block;
}

.rr-badge-status-text {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	font-weight: 500;
	color: #52796f;
	letter-spacing: 0.02em;
}

.rr-badge-status-text.rr-status-under_review {
	color: #2d6a4f;
}

.rr-badge-status-text.rr-status-accepted {
	color: #1b4332;
}

.rr-badge-status-text.rr-status-rejected {
	color: #9b2226;
}

.rr-badge-status-text.rr-status-hold {
	color: #774d00;
}

.rr-status-qr {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

.rr-status-qr-label {
	margin-bottom: 1rem;
	color: #50575e;
	font-size: 0.95rem;
}

.rr-status-qr-code {
	display: inline-block;
	padding: 0.75rem;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
}

.rr-status-qr-code img {
	display: block;
}

.rr-status-qr-url {
	margin-top: 0.75rem;
	font-size: 0.85rem;
	word-break: break-all;
}

.rr-status-qr-url a {
	color: #2271b1;
}

.rr-bulk-actions {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	align-items: center;
}

.rr-bulk-actions select {
	padding: 0.4rem 0.6rem;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
}

.rr-table-responsive {
	overflow-x: auto;
}

.rr-admin-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
}

.rr-admin-table th,
.rr-admin-table td {
	padding: 0.75rem;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}

.rr-admin-table th {
	background: #f6f7f7;
	font-weight: 600;
	color: #1d2327;
}

.rr-admin-table tbody tr:hover {
	background: #f9f9f9;
}

.rr-col-check {
	width: 40px;
}

.rr-actions {
	white-space: nowrap;
}

.rr-empty {
	text-align: center;
	color: #50575e;
	padding: 2rem !important;
}

.rr-pagination {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.rr-page-link,
.rr-page-current {
	display: inline-block;
	padding: 0.4rem 0.75rem;
	border-radius: 4px;
	text-decoration: none;
}

.rr-page-link {
	background: #f0f0f1;
	color: #2271b1;
	border: 1px solid #c3c4c7;
}

.rr-page-link:hover {
	background: #e0e0e0;
}

.rr-page-current {
	background: #2271b1;
	color: #fff;
	font-weight: 600;
}

.rr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rr-modal[hidden] {
	display: none;
}

.rr-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.rr-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	max-width: 600px;
	width: 90%;
	max-height: 85vh;
	overflow-y: auto;
	padding: 1.5rem;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.rr-modal-close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #50575e;
	line-height: 1;
}

.rr-modal-close:hover {
	color: #1d2327;
}

.rr-email-modal-content {
	max-width: 640px;
}

.rr-email-modal-title {
	margin: 0 2rem 0.5rem 0;
	font-size: 1.25rem;
}

.rr-email-selected-count {
	margin: 0 0 1rem;
	color: #50575e;
}

.rr-email-modal-actions {
	display: flex;
	gap: 0.75rem;
	justify-content: flex-end;
	margin-top: 1rem;
}

.rr-email-status {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border-radius: 6px;
}

.rr-email-status-pending {
	background: #f0f6fc;
	color: #1d2327;
}

.rr-email-status-success {
	background: #edfaef;
	color: #1e4620;
}

.rr-email-status-error {
	background: #fcf0f1;
	color: #8a1f1f;
}

.rr-no-image {
	color: #50575e;
	font-style: italic;
}

@media (max-width: 600px) {
	.rr-status-wrap {
		max-width: 100%;
		padding: 0.5rem 0.75rem 1.5rem;
	}

	.rr-conference-badge {
		border-radius: 14px;
	}

	.rr-badge-name {
		font-size: 1.35rem;
	}

	.rr-detail-list {
		grid-template-columns: 1fr;
	}

	.rr-detail-list dt {
		margin-top: 0.5rem;
	}

	.rr-actions .rr-btn-sm {
		display: block;
		width: 100%;
		margin: 0.2rem 0;
	}
}
