:root { --blue: #009fe3; --background : #555;  --color: #403b3b;  --ink:  #b6b6b6;  }




.dcl-component { width: 100%; position: relative; border-radius: 5px; height: 50px; margin-bottom: 15px; border: 1px solid #e1e1e1; transition: 0.3s; }
.dcl-component:hover, .dcl-component[active=true] { border: 1px solid #009fe3; }
.dcl-component[error=true] { border: 1px solid #e30044; }
.dcl-component[col="2"] { width: calc(50% - 4px); }

.dcl-edit { display: flex; flex-wrap: wrap; flex-direction: column-reverse; justify-content: center; align-items: left; height: 50px; padding-left: 12px; padding-right: 12px; }
.dcl-edit>input { width: 100%; font-size: 0.9rem; padding-right: 20px; height: 20px; padding: 0; margin: 0; outline: none; border: 0; background-color: transparent; }
.dcl-edit>input::-webkit-inner-spin-button, .dcl-edit>input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.dcl-edit>input:placeholder-shown { height: 100%; }
.dcl-edit>input:placeholder-shown+.caption { display: none; }
.dcl-edit>input:not(:placeholder-shown) { background-color: transparent; }
.dcl-edit>input:not(:placeholder-shown)+.caption { color: #bbb; padding: 0; font-size: 0.8rem; height: 20px; }

.dcl-checkbox { width: 100%; font-size: 0.9rem; cursor: pointer; display: flex; justify-content: left; align-items: center; user-select: none; padding-left: 0; border-radius: 5px; margin-bottom: 10px; transition: 0.3s; }
.dcl-checkbox>img { max-width: 100%; max-height: 1.5rem; margin-right: 10px; margin-left: 10px; }
.dcl-checkbox>.radio>.false { width: 1.5rem; height: 1.5rem; background-image: url('/static/css/radio-button-false.svg'); background-size: 1.5rem 1.5rem; }
.dcl-checkbox>.radio>.true { width: 1.5rem; height: 1.5rem; background-image: url('/static/css/radio-button-true.svg'); background-size: 1.5rem 1.5rem; }
.dcl-checkbox>.check>.false { width: 1.5rem; height: 1.5rem; background-image: url('/static/css/check-button-false.svg'); background-size: 1.5rem 1.5rem; }
.dcl-checkbox>.check>.true { width: 1.5rem; height: 1.5rem; background-image: url('/static/css/check-button-true.svg'); background-size: 1.5rem 1.5rem; }
.dcl-checkbox>.cena { margin-left: auto; font-size: 0.8rem; }

.bdropdown.border { border: 1px solid #e1e1e1; outline: 0 solid transparent; transition: 0.3s; outline: 1px solid transparent; }
.bdropdown.border:hover { border: 1px solid var(--blue); outline: 1px solid var(--blue); }
.bdropdown { display: inline-block; position: relative; margin-bottom: 10px; margin-bottom: 10px!important; border-radius: 5px; width: 100%; height: 50px; }

.dd-button { display: inline-block; padding: 15px 35px 15px 10px!important; background-color: transparent; cursor: pointer; white-space: nowrap; }
.dd-button:after { content: ''; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid #000; }

.dd-input { display: none; }
.dd-menu { position: absolute; top: 100%; border: 1px solid #ccc; border-radius: 4px; padding: 0; margin: 2px 0 0 0; box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1); background-color: #fff; list-style-type: none; z-index: 1; }
.dd-input+.dd-menu { display: none; }
.dd-input:checked+.dd-menu { display: block; }

.dd-menu li { padding: 10px 20px; cursor: pointer; white-space: nowrap; }
.dd-menu li:hover { background-color: #f6f6f6; }
.dd-menu li a { display: block; margin: -10px -20px; padding: 10px 20px; }
.dd-menu li a { text-decoration: none; color: #000; }
.dd-menu li a:hover { text-decoration: none; color: #000; color: #222; }
.dd-menu li.divider { padding: 0; border-bottom: 1px solid #ccc; }

.dd-textarea { height: 300px; width: 100%; padding: 9px; outline: none; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; cursor: pointer; user-select: none; font-family: Helvetica,Arial,sans-serif; font-size: 0.9rem; -webkit-font-smoothing: antialiased; letter-spacing: -0.5px; }

.dd-tab { cursor: pointer; display: flex; justify-content: center; align-items: center; justify-content: space-around; }
.dd-tab>div { width: 100%; height: 40px; font-size: 1rem; cursor: pointer; user-select: none; font-family: Helvetica,Arial,sans-serif; font-size: 0.8rem; display: flex; justify-content: center; align-items: center; border: 1px solid #ddd; border-left: 1px solid transparent; border-top: 1px solid transparent; }
.dd-tab>div[selectedx=true] { border-bottom: 1px solid transparent; border-top: 1px solid #ddd; }




/*.dcl {color: var(--ink); background: var(--color); border-width : 0px; } */

.dcl {  color: var(--ink);   border-width : 0px;   }
/*.dcl:nth-child(2n) {filter: brightness(.5);} */

.dcl[opt~=hover]:hover { backdrop-filter: brightness(1.2); }
.dcl[opt~=flex] { display: flex; }


.dcl[opt~=bc] { border-color: var(--background);}

.dcl[opt~=bs-solid] { border-style: solid; }


.dcl[opt~=b] { border-width: 1px; }
.dcl[opt~=b1] { border-width: 2px; }
.dcl[opt~=b2] { border-width: 5px; }

.dcl[opt~=bt] { border-top-width: 1px; }
.dcl[opt~=bt1] { border-top-width: 2px; }
.dcl[opt~=bt2] { border-top-width: 5px; }

.dcl[opt~=bb] { border-bottom-width: 1px; }
.dcl[opt~=bb1] { border-bottom-width: 2px; }
.dcl[opt~=bb2] { border-bottom-width: 5px;}

.dcl[opt~=bl] { border-left-width: 1px; }
.dcl[opt~=bl1] { border-left-width: 2px; }
.dcl[opt~=bl2] { border-left-width: 5px; }


.dcl[opt~=br] { border-right-width: 1px; }
.dcl[opt~=br1] { border-right-width: 2px; }
.dcl[opt~=br2] { border-right-width: 5px; }

.dcl[opt~=bx] { border-left: 1px; border-right: 1px; }
.dcl[opt~=bx1] { border-left: 2px; border-right:  2px; }
.dcl[opt~=bx2] { border-left: 5px; border-right: 5px; }

.dcl[opt~=by] { border-top: 1px; border-bottom: 1px; }
.dcl[opt~=by1] { border-top: 2px; border-bottom: 2px; }
.dcl[opt~=by2] { border-top: 5px; border-bottom: 5px; }







/*----------------------------------------------------------------*/
.dcl[opt~=p] { padding: 0.5rem; }
.dcl[opt~=p1] { padding: 1rem; }
.dcl[opt~=p2] { padding: 1.5rem; }

.dcl[opt~=pt] { padding-top: 0.5rem; }
.dcl[opt~=pt1] { padding-top: 1rem; }
.dcl[opt~=pt2] { padding-top: 1.5rem; }

.dcl[opt~=pb] { padding-bottom: 0.5rem; }
.dcl[opt~=pb1] { padding-bottom: 1rem; }
.dcl[opt~=pb2] { padding-bottom: 1.5rem; }

.dcl[opt~=pl] { padding-left: 0.5rem; }
.dcl[opt~=pl1] { padding-left: 1rem; }
.dcl[opt~=pl2] { padding-left: 1.5rem; }

.dcl[opt~=pr] { padding-right: 0.5rem; }
.dcl[opt~=pr1] { padding-right: 1rem; }
.dcl[opt~=pr2] { padding-right: 1.5rem; }

.dcl[opt~=px] { padding-left: 0.5rem; padding-right: 0.5rem; }
.dcl[opt~=px1] { padding-left: 1rem; padding-right: 1rem; }
.dcl[opt~=px2] { padding-left: 1.5rem; padding-right: 1.5rem; }

.dcl[opt~=py] { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.dcl[opt~=py1] { padding-top: 1rem; padding-bottom: 1rem; }
.dcl[opt~=py2] { padding-top: 1.5rem; padding-bottom: 1.5rem; }
/*----------------------------------------------------------------*/
.dcl[opt~=m] { margin: 0.5rem; }
.dcl[opt~=m1] { margin: 1rem; }
.dcl[opt~=m2] { margin: 1.5rem; }

.dcl[opt~=mt] { margin-top: 0.5rem; }
.dcl[opt~=mt1] { margin-top: 1rem; }
.dcl[opt~=mt2] { margin-top: 1.5rem; }

.dcl[opt~=mb] { margin-bottom: 0.5rem; }
.dcl[opt~=mb1] { margin-bottom: 1rem; }
.dcl[opt~=mb2] { margin-bottom: 1.5rem; }

.dcl[opt~=ml] { margin-left: 0.5rem; }
.dcl[opt~=ml1] { margin-left: 1rem; }
.dcl[opt~=ml2] { margin-left: 1.5rem; }
.dcl[opt~=mla] { margin-left: auto; }


.dcl[opt~=mr] { margin-right: 0.5rem; }
.dcl[opt~=mr1] { margin-right: 1rem; }
.dcl[opt~=mr2] { margin-right: 1.5rem; }

.dcl[opt~=mx] { margin-left: 0.5rem; margin-right: 0.5rem; }
.dcl[opt~=mx1] { margin-left: 1rem; margin-right: 1rem; }
.dcl[opt~=mx2] { margin-left: 1.5rem; margin-right: 1.5rem; }

.dcl[opt~=my] { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.dcl[opt~=my1] { margin-top: 1rem; margin-bottom: 1rem; }
.dcl[opt~=my2] { margin-top: 1.5rem; margin-bottom: 1.5rem; }
/*----------------------------------------------------------------*/





.dcl[opt~=shadow] {box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }

.dcl[opt~=at] { align-items: start; }
.dcl[opt~=ab] { align-items: end; }
.dcl[opt~=gap] { gap: 20px; }
.dcl[opt~=valt] { flex: 1; }
.dcl[opt~=valc] { align-items: center; }
.dcl[opt~=pointer] { cursor: pointer; user-select: none; }
.dcl[selected] {/* background: #585761; */border-left: 5px solid var(--blue); 

    filter: brightness(1.1);}



.dcl[opt~=br5] { border-right: 5px solid #6a6975; }
.dcl[opt~=bl5] { border-left: 5px solid #6a6975; }
.dcl[opt~=bl1] { border-left: 1px solid #6a6975; }

.dcl[opt~=stickytop] { border-bottom: 2px solid #444; position: sticky; top: 0; }
.dcl-detail-item { background: #aef0f7; padding: 5px; }
.lastnone:last-child { display: none; }

.dcl-modal { background-color: #000000FF; position: fixed; width: 100%; height: 100%; top: 0; left: 0; backdrop-filter: blur(10px); z-index: 999; }
.dcl-modal-content {background-color: 403b3b;  position: fixed; top: 40px; left: 0;   bottom : 30px; right : 0; overflow-y: scroll;   } 
/*.dcl-modal-content { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; overflow-y: scroll; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),0 6px 20px 0 rgba(0, 0, 0, 0.19); } */




/* Custom scrollbar styling for WebKit-based browsers */
::-webkit-scrollbar { width: 4px!important; /* Adjust the width to be thin like Facebook's scrollbar */ height: 6px!important; /* Adjust the width to be thin like Facebook's scrollbar */ }

/* The scrollbar track (background) */
::-webkit-scrollbar-track { background: #4b4a5100!important; /* Light background */ }

/* The scrollbar handle (thumb) */
::-webkit-scrollbar-thumb { background-color: #c1c1c1!important; /* Neutral light gray color */ border-radius: 10px!important; /* Rounded edges for modern look */ }

/* When hovering over the scrollbar */
::-webkit-scrollbar-thumb:hover { background-color: #fff!important; /* Darker gray when hovered */ }

