.rpc-cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background-color: rgba(0, 0, 0, 0.9);
	color: #ffffff;
	font-size: 14px;
}

.rpc-cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
}

.rpc-cookie-banner__message {
    flex: 1 1 auto;
    margin: 0;
    display: flex;
    gap: 15px;
    width: 60%;
}

.rpc-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 10px;
    width: 40%;
    justify-content: center;
}

.rpc-cookie-banner__button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 600;
}

.rpc-cookie-banner__button:hover,
.rpc-cookie-banner__button:focus {
	background-color: #006799;
    opacity: 0.9;
}

.rpc-cookie-banner__link {
    display: inline-block;
    padding: 8px 12px;
    color: #222;
    text-decoration: none;
    background: #fff;
    border-radius: 2px;
    font-weight: 500;
}

.rpc-cookie-banner__link:hover,
.rpc-cookie-banner__link:focus {
	opacity: 0.9;
}

@media (max-width: 600px) {
	.rpc-cookie-banner__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.rpc-cookie-banner__message {
		width: 100%;
	}

	.rpc-cookie-banner__actions {
		width: 100%;
	}
}

/* Admin status block styles */
.rpc-admin-status {
	border-left: 4px solid #46b450;
	padding: 0;
}

.rpc-admin-status__inner {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
}

.rpc-admin-status__icon {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(70, 180, 80, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.rpc-admin-status__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background-color: #46b450;
}

.rpc-admin-status__content {
	flex: 1 1 auto;
}

.rpc-admin-status__title {
	margin: 0 0 4px;
	font-weight: 600;
}

.rpc-admin-status__list {
	margin: 0 0 4px 16px;
	padding: 0;
}

.rpc-admin-status__list li {
	margin: 0 0 2px;
}

.rpc-admin-status__hint {
	margin: 4px 0 0;
	font-size: 12px;
	color: #555d66;
}

.rpc-cookie-banner__icon-svg {
    max-width: 40px;
    height: 40px;
    stroke: #fff;
}

/* Modal styles */
.rpc-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rpc-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.75);
	cursor: pointer;
}

.rpc-modal__container {
	position: relative;
	background-color: #ffffff;
	border-radius: 8px;
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	z-index: 1;
}

.rpc-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 24px 16px;
	border-bottom: 1px solid #e5e5e5;
	flex-shrink: 0;
}

.rpc-modal__title {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.3;
	padding-right: 20px;
}

.rpc-modal__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: #666;
	cursor: pointer;
	border-radius: 4px;
	transition: all 0.2s ease;
	flex-shrink: 0;
	padding: 0;
}

.rpc-modal__close:hover,
.rpc-modal__close:focus {
	background-color: #f5f5f5;
	color: #1a1a1a;
	outline: none;
}

.rpc-modal__content {
	padding: 24px;
	overflow-y: auto;
	flex: 1 1 auto;
	color: #333;
	line-height: 1.6;
}

.rpc-modal__content h1,
.rpc-modal__content h2,
.rpc-modal__content h3,
.rpc-modal__content h4,
.rpc-modal__content h5,
.rpc-modal__content h6 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
	font-weight: 600;
	line-height: 1.3;
	color: #1a1a1a;
}

.rpc-modal__content h1:first-child,
.rpc-modal__content h2:first-child,
.rpc-modal__content h3:first-child {
	margin-top: 0;
}

.rpc-modal__content h2 {
	font-size: 20px;
}

.rpc-modal__content h3 {
	font-size: 18px;
}

.rpc-modal__content p {
	margin-bottom: 1em;
}

.rpc-modal__content ul,
.rpc-modal__content ol {
	margin-bottom: 1em;
	padding-left: 24px;
}

.rpc-modal__content li {
	margin-bottom: 0.5em;
}

.rpc-modal__content a {
	color: #0073aa;
	text-decoration: underline;
}

.rpc-modal__content a:hover {
	color: #005177;
}

.rpc-modal__content strong {
	font-weight: 600;
	color: #1a1a1a;
}

/* Scrollbar styles for modal content */
.rpc-modal__content::-webkit-scrollbar {
	width: 8px;
}

.rpc-modal__content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.rpc-modal__content::-webkit-scrollbar-thumb {
	background: #c1c1c1;
	border-radius: 4px;
}

.rpc-modal__content::-webkit-scrollbar-thumb:hover {
	background: #a8a8a8;
}

/* Prevent body scroll when modal is open */
body.rpc-modal-open {
	overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
	.rpc-modal {
		padding: 0;
	}

	.rpc-modal__container {
		max-width: 100%;
		max-height: 100vh;
		border-radius: 0;
	}

	.rpc-modal__header {
		padding: 16px;
	}

	.rpc-modal__title {
		font-size: 20px;
	}

	.rpc-modal__content {
		padding: 16px;
	}
}
