:root{
	--blue-600:#0b63d6; 
	--blue-500:#1570f0; 
	--black-900:#0b0b0b; 
	--card-bg:#ffffff;
}

body {
	background:#fff;
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial;
	margin:0;
	padding:24px;
	background:linear-gradient(180deg,#f7f9fc,#ffffff);
	font-size: 14px;
}

* {
	box-sizing:border-box;
	margin:0;
	padding:0
}

a {
	color:#0b63d6;
	text-decoration: dashed;
	border-bottom: 1px solid #0b63d6;
	min-width: 10px;
	display: inline-block;
	cursor:pointer;
	cursor:hand
}

.bold {
	font-weight: bold;
}

.wrap {
	/* max-width:1200px; */
	margin:0 auto;
	display:flex;
	gap:18px
}

.wrap.login {
	max-width:360px;
	margin:40px auto;
	display: block;
}

/* Collapsible left sidebar (C) */
.sidebar {
	width:200px;
	transition:width .22s;
	position:relative
}
.sidebar.collapsed{width:72px}

.card {
	background:var(--card-bg);
	border-radius:14px;padding:18px;
	box-shadow:0 6px 18px rgba(11,11,11,0.06);
	border:1px solid rgba(11,11,11,0.04);
	margin-bottom: 15px;
	padding-bottom: 30px;
}

.card h2, .card-title {
	font-size: 15px;
}

header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.brand{display:flex;align-items:center; margin-bottom: 10px;}

.card-title {
	display:flex;justify-content:space-between;align-items:center;margin-bottom:12px
}
.logo{width:54px;height:54px;border-radius:12px;background:linear-gradient(135deg,var(--blue-600),var(--blue-500));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;margin-right:12px}
.muted{color:rgba(11,11,11,0.6);font-size:13px}
.btn { display:inline-block;padding:8px 12px;border-radius:9px;font-weight:600;border:0;cursor:pointer; margin-bottom: 4px; }
.btn-ghost{background:transparent;color:var(--blue-600);border:1px solid rgba(21,112,240,0.12)}
.btn-primary{background:linear-gradient(180deg,var(--blue-500),var(--blue-600));color:#fff;border-radius:9px;padding:8px 12px}
.btn.gray { background:#f1f1f1; color:#555}
.btn-small { padding: 4px; font-size: 12px; border-radius: 4px; }
a.btn { text-decoration: none; }

.minibox {
	font-size: 12px;
	border: 1px solid #ccc;
	display: inline-block;
	padding: 3px;
	border-radius: 6px;
}

.nav-list {list-style:none;padding:0;margin:0}
.nav-list li { position:relative; padding-right: 12px; border-radius:10px;margin-bottom:8px;border:1px solid rgba(11,11,11,0.03);justify-content:space-between;align-items:center}
.nav-list li a {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 12px;
	border: 0;
}
.nav-list li.current {
	background-color: #eee;
}
.nav-list li.current a {
	font-weight: bold;
	padding-left: 18px;
}
.nav-list li a .arrow {
	position: absolute;
	top: 14px;
	right: 8px;
}

.content{flex:1}
.content-placeholder{height:320px;border-radius:10px;border:1px dashed rgba(11,11,11,0.06);display:flex;align-items:center;justify-content:center;color:rgba(11,11,11,0.45)}
.toggle{position:absolute;right:-20px;top:12px;background:#fff;border-radius:12px;padding:6px;box-shadow:0 6px 18px rgba(11,11,11,0.06);cursor:pointer;border:1px solid rgba(11,11,11,0.04)}

hr {
	height: 1px;
	color: #ddd;
	background: #ddd;
	border: 0;
	margin-bottom: 20px;
}

h1 {font-size:18px;margin:0}

div.formgroup {
	padding-top:15px;
	margin-bottom: 15px;
}
div.formgroup.nopaddingbtm {
	padding-top:15px;
	margin-bottom: 0px;
}

div.formgroup.p50 {
	float:left;
	width: 46%;
	margin-right: 2%;
}
div.formgroup.p25 {
	float:left;
	width: 22%;
	margin-right: 2%;
}

label {
	display: block;
	margin-bottom: 5px;
	font-size: 15px;
	color: rgba(11,11,11,0.7);
	font-weight: 600;
}

label.oneline-label {
	display: inline-block;
	width: 180px;
	margin-right: 10px;
}

ul.timelines {
	padding-left:20px;
	border-left: 1px solid #ccc;
	margin:0px;
}
ul.timelines li {
	list-style: none;
	padding-left: 0px;
	margin-left: -11px;
}
ul.timelines li:before {
    content: "·";
    font-size: 100px;
    vertical-align: top;
    line-height: 20px;
	margin-left: -20px;
	position: relative;
	top: 0px;
	color: #aaa
}
ul.timelines li span.time {
	color:#1d72f1;
	font-size: 13px;
	margin-left: 12px;
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
	font-weight: bold
}
ul.timelines li section.card {
	margin-left: 10px;
}

input:disabled , input:read-only {
	cursor: not-allowed;
	background: #eee
}
input[type="text"],input[type="password"],input[type="number"],input[type="tel"],input[type="date"],select {
	width:100%;
	padding:10px;
	border-radius:8px;
	border: 1px solid #aaa;
	outline: none;
	margin-bottom: 10px;
	font-size: 16px;
	transition: 0.3s;
}
input[type="date"] {
	padding: 8px 10px;
}

/* Style when the input length is valid */
input.validateborder:valid , input.validateborder:focus:valid { 
  border: 2px solid rgb(14, 234, 14);
}

/* Optional: Style when input is invalid */
input.validateborder:invalid , input.validateborder:focus:invalid {
  border: 2px solid red;
}

input[type="number"], input.numbersize, select.numbersize {
	width: 130px;
}
input.datetimepicker:read-only {
	background: inherit
}
input.datetimepicker {
	font-size: 13px;
}

.hide {
	display:none
}

input.ipinput {
	width: 200px;
}

label.bordered {
	padding: 8px;
	display: inline;
	border: 1px solid #ccc;
	border-radius:8px;
}

.clear {
	clear:both
}

.errors {
	background:#fff3f3;border:1px solid #ffd2d2;padding:14px; padding-left: 18px; 
	border-radius:14px;margin-bottom:15px;color:#7a1b1b;
}
.success {
	background:#f3fff5;border:1px solid #a2c9ac;padding:14px; padding-left: 18px; 
	border-radius:14px;margin-bottom:15px;color:#1b7a29;
}

footer, .footer {
	margin-top:22px;
	text-align:center;
	color:rgba(11,11,11,0.5);
	font-size:13px
}

table { width:100%; border-collapse:collapse; margin-top:15px; margin-bottom: 20px; }

th, td { padding:10px; border-bottom:1px solid #ddd; }
th { background:#e9eef7; text-align:left; }
th.center, td.center { text-align: center; }
td .btn {
	background:#f1f1f1
}

.pagination {
    margin-top: 1rem;
    text-align: center;
}

.pagination.nomargintop {
	margin-top:0;
}

.pagination small {
	display: block;
	margin-bottom: 20px;
	color: #777;
	float: right;
	letter-spacing: 0.2px;
	font-size: 13px;
}

.pagination a {
    padding: 8px 12px;
    background: #eee;
    margin: 0 2px;
    text-decoration: none;
    color: #333;
	border-radius: 5px;
}

.pagination .current-page {
    padding: 8px 12px;
    background: #333;
    color: #fff;
    margin: 0 2px;
	border-radius: 5px;
}

.onefilter {
	display: inline-block;
	margin-right: 35px;
	margin-bottom: 20px;
	vertical-align: top;
	width: 170px;
	font-size: 15px;
	position: relative
}

.onefilter.nolimit {
	width: auto;
}

.onefilter.nolimit .btn {
	font-size: 13px;
	padding: 8px 6px;
	margin-bottom: 2px;
}

.onefilter .filter-title {
	display: block;
	margin-bottom: 3px;
	font-size: 14px;
	letter-spacing: 0.5px;
	font-weight: 550;
}

.onefilter select {
	min-width: 150px;
	max-width: 150px
}
.onefilter input {
	min-width: 150px;
	max-width: 150px
}
.onefilter.nolimit input {
	min-width: 190px;
}

@media (max-width:900px){
	.wrap { width: 90%; flex-direction:column ; gap:18px}
	.sidebar{width: 100%}
	.sidebar.collapsed{width:100%}
	.toggle{display:none}
	.logo { display:none;}

	div.formgroup.p50, div.formgroup.p25 {
		float: none;
		width: 100%;
		margin-right: 0
	}
}

.popuplogs, .popuplogs pre {
	font-family: "courier new";

}
.popuplogs hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

.text-gray {
	color:#666
}
.text-lightgray {
	color:#aaa
}
.text-red {
	color:red !important
}
.text-green {
	color:green
}

.blinker {
  animation: blinker 0.8s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.ui-dialog-titlebar {
	padding: 8px;
}
.ui-dialog-content {
	padding: 10px;
	line-height: 17px;
	overflow-y: scroll;
}
.ui-button {
	padding: 5px;
}
.ui-resizable-handle {
	display:none; opacity:0; pointer-events: none;
}
.ui-dialog-titlebar .ui-button {
	float: right
}

.onedashbox {
	border-radius: 14px;
	padding: 18px;
	color:#111;
	line-height: 22px;
}

.onedashbox .heading {
	display: block;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 10px;
}

.onedashbox .number {
	font-weight: bold;
	font-size: 16px;
}

div.onedashbox.p25 {
	float:left;
	width: 22%;
	margin-right: 2%;
}

.bg-lightblue {
	background-color: #8dbad3;
	color:#fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
.bg-green {
	background-color: #72bf95;
	color:#fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
.bg-red {
	background-color: #c57979;
	color:#fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}
.bg-lightgray {
	background-color: #f9f9f9;
	color:#666;
	text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
}

span.one_winning_number {
	padding: 4px 6px; 
	display: inline-block;
	background: #f1f1f1;
	margin: 4px;
	border-radius: 12px;
}

span.draw-status {
	padding: 8px 12px; 
	display: inline-block;
	font-size: 14px;
	border-radius: 12px;
	white-space: nowrap;
}

span.draw-status-waiting {
	background:rgb(202, 63, 204);
	color: #fff;
}

span.draw-status-open {
	background:rgb(42, 162, 42);
	color: #fff;
}

span.draw-status-canceled {
	background: rgb(134, 162, 42);
	color: #fff;
}

span.draw-status-closed {
	background:rgb(42, 162, 42);
	color: #fff;
}

span.draw-status-processing {
	background:rgb(44, 66, 227);
	color: #fff;
}

span.draw-status-action_needed {
	background: red;
	color: #fff;
}

a.tab {
	background: transparent;
	color: #aaa;
	display:inline-block;
	padding:8px 12px;
	border-radius:9px;
	font-weight:600;
	margin-bottom: 4px;
	border: 0;
	font-weight: normal;
	margin-bottom: 12px;
}

a.tab.current {
	background:#fff;
	font-weight: bold;
	color:#0b63d6;
	text-decoration: dashed;
	box-shadow:0 6px 18px rgba(11,11,11, 0.05);
	border:1px solid #d8e1ed;
}