header .phpbb-ads {
  background-color: white;
}
.dark header .phpbb-ads {
  background-color: #0f172a;
}
.phpbb-ads-card {
  width: 100%;
  overflow: hidden;
}

.phpbb-ads-zeina-container {
  display: block;
  flex: 0 0 auto;
  align-self: stretch;
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

.phpbb-ads-layout {
  width: 100%;
  box-sizing: border-box;
}

#page-body .phpbb-ads-layout,
#page-footer .phpbb-ads-layout {
  padding: 0;
}

.phpbb-ads-content {
  overflow-x: auto;
}

.phpbb-ads-content .phpbb-ads,
.phpbb-ads-content .phpbb-ads > *:first-child:not(script) {
  max-width: 100%;
}

.phpbb-ads-content img,
.phpbb-ads-content iframe,
.phpbb-ads-content object,
.phpbb-ads-content embed {
  max-width: 100%;
}

.phpbb-ads-center {
	text-align: center;
}
.copyright .phpbb-ads-center {
  display: block;
  width: 100%;
}

.phpbb-ads-center > :first-child:not(script) {
	display: inline-block;
	max-width: 100%;
}

.phpbbad-slide-up {
	position: fixed;
	bottom: 0;
	width: 100%;
	transition: transform 0.3s;
	transform: translateY(100%);
}

.phpbbad-slide-up-center {
	text-align: center;
}

.phpbbad-slide-up-close {
	background-color: #ffffff;
	width: 40px;
  height: 35px;
	cursor: pointer;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  box-shadow: 0 1px 8px #ccc;
}
.dark .phpbbad-slide-up-close {
	background-color: #1e293b;
  box-shadow: 0 1px 8px #0f172a;
}

.phpbb-ads-visual-demo {
	font-size: 12px;
	font-weight: bold;
	line-height: 44px;
	text-align: center;
	background-color: #f0e68c;
	border: #ff0000 dashed 3px;
	color: #bc2a4d;
	box-sizing: border-box;
	width: 100%;
	height: 50px;
}

.phpbb-ads-visual-demo-btn {
	text-align: center;
	width: 25%;
	margin: 0 auto !important;
	padding: 10px !important;
}

.phpbb-ads-button {
	font-family: system-ui, sans-serif;
	font-size: 13px;
	vertical-align: middle;
	background: #e3e3e3;
	background: linear-gradient(to bottom, #e3e3e3 0%, #f7f7f7 100%);
	border: solid 1px #afafaf;
	box-shadow: inset 1px 1px 2px #ffffff;
	margin: 2px 0;
	padding: 3px 8px;
}

.phpbb-ads-button:link {
	color: #000000;
}

.phpbb-ads-button:link:hover {
	text-decoration: none;
}

.phpbb-ads-button:hover {
	border-color: #bc2a4d;
	color: #bc2a4d;
	cursor: pointer;
}

.phpbb-ads-button:active {
	background: #c3c3c3;
}

/* Modern Date Picker Styling */
.phpbb-ads-datepicker {
	font-size: 13px;
	background: #ffffff;
	border: 2px solid #e1e1e1;
	border-radius: 6px;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
	color: #333333;
	width: 180px;
	padding: 8px 12px;
}

.phpbb-ads-datepicker:focus,
.phpbb-ads-datepicker:hover {
	border: 2px solid #5c7099 !important;
}

.phpbb-ads-datepicker:focus {
	outline: none;
}

.phpbb-ads-datepicker::-webkit-calendar-picker-indicator {
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%235C7099" stroke-width="2"><rect x="3" y="4" width="18" height="18" rx="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') no-repeat center;
	background-size: 14px 14px;
	opacity: 0.7;
	width: 14px;
	height: 14px;
	cursor: pointer;
}

.phpbb-ads-datepicker::-webkit-calendar-picker-indicator:hover {
	opacity: 1;
}
