﻿* { outline: none; }
.transition { transition: all .3s ease-in-out; }
.flex { display: flex; align-items: flex-start; gap: 10px; }
.flex-stretch { align-items: stretch; }
.flex-center { align-items: center; }
.flex-bottom { align-items: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex1 { flex: 1; }
.flex2 { flex: 2; }
.flex-column { display: flex; flex-direction: column; height: 100%; }
.red { color: #ee0047; }
.green { color: #28a909; }
.green1 { color: #33DB02; }
.gray { color: #ffffff80; }
.yellow { color: #ffb100; }
.nowrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.nowrap-container { display: table; table-layout: fixed; width: 100%; }
.center { text-align: center; }
.right { text-align: right; }
.center-items { display: flex; align-items: center; justify-content: center; }
.center-div { margin: 0 auto; }
.m5 { margin: 5px 0; }
.m10 { margin: 10px 0; }
.m20 { margin: 20px 0; }
.m40 { margin: 40px 0; }
.w100 { width: 100%; }
.h100 { height: 100%; }
.overflow { overflow: auto; }
.relative { position: relative; }
.coming-soon { font-size: 50px; font-weight: bold; color: #d6d6d6; }
.dashed-underline { text-decoration: underline; text-decoration-style: dashed; }
.left { text-align: left; }
.right { text-align: right; }
.f12 { font-size: 12px; }
.f13 { font-size: 13px; }
.f14 { font-size: 14px; }
.f16 { font-size: 16px; }
.f18 { font-size: 18px; }
.f20 { font-size: 20px; }
.f24 { font-size: 24px; }
.bold { font-weight: bold; }
.clear { clear: both; }
.mobile { display: none; }
progress { width: 200px; height: 5px; border-radius: 4px; }
progress::-webkit-progress-bar { background-color: #333; border-radius: 4px; }
progress::-webkit-progress-value { background-color: #ee0047; border-radius: 4px; }
a { color: #e30c32; }

::placeholder { color: var(--placeholder); font-style: italic; }
::-webkit-scrollbar { width: 5px; height: 7px; }
::-webkit-scrollbar-track { background-color: transparent; display: none; }
::-webkit-scrollbar-thumb { border-radius: 4px; background-color: var(--scroll); }
::-webkit-scrollbar-button { background-color: transparent; display: none; }
::-webkit-scrollbar-corner { background-color: transparent; display: none; }

.panel { background: #2c2d30; margin: 20px; box-shadow: 0 2px 10px var(--box-shadow); border-radius: 8px; position: relative; display: flex; flex-direction: column; }
.panel > h1 { border-bottom: 1px solid #242424; padding: 0 10px; height: 36px; line-height: 36px; font-size: 16px; background: #2c2d30; border-top-left-radius: 8px;
              border-top-right-radius: 8px; text-transform: uppercase; margin: 0; }
.panel > div { overflow: auto; }
.panel ul { list-style: disc; }
.panel h3 { margin-top: 10px; }
.panel p, .panel li { margin: 5px 0; }
.flex1 > .panel { margin: 20px 0; }
.grid-form { display: grid; grid-template-columns: 30% 70%; width: 100%; }
.grid-form > div { display: contents; }
.grid-form > div > div { display: flex; align-items: center; }
.grid-form input[type="text"], .grid-form input[type="password"], .grid-form input[type="number"], .grid-form textarea, .grid-form select { width: 100%; }
.grid-form input[type="checkbox"] { margin: 5px; }
.modal { display: none; }
.fade1 { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, .7); z-index: 99999; display: flex; justify-content: center; align-items: flex-start; }
.fade1 .panel { min-width: 500px; max-height: 95%; overflow: hidden; max-width: 80%; font-size: 14px; }
#form { width: 350px; padding: 20px 40px; }

.tabs { display: inline-block; width: 100%; }
.tabs > ul { max-width: 400px; margin: 0 auto; display: flex; background: #141516; border-radius: 64px; padding: 0; }
.tabs > ul li { cursor: pointer; display: block; float: left; padding: 3px 15px; color: #a3a3a3; transition: all .3s ease-in-out; flex: 1; text-align: center; white-space: nowrap; }
.tabs > ul li.active, .tabs ul li.active:hover { background: #2c2d30; color: #ebebeb; border-radius: 32px; }
.tabs > ul li:hover { color: #ee0047; }

.pagination a { display: inline-block; color: var(--pag-text); padding: 12px; font-size: 14px; font-weight: 400; position: relative; }
.pagination a:before { background: var(--pag-bg); border-radius: 50%; content: ""; cursor: pointer; left: 50%; position: absolute;
                       transform: translate(-50%, -50%); transition: all 170ms linear; top: 50%; width: 0; height: 0; }
.pagination a.active:before, .pagination a:hover:before { width: 30px; height: 30px; }

.editable-select { position: relative; display: inline-block; }
.select-input { width: 200px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; background: var(--input-bg) url('../../img/dropdown.svg') no-repeat right / 10% 50% !important; }
.options-container { display: none; position: absolute; width: 100%; max-height: 150px; overflow-y: auto; border-radius: 0 0 4px 4px;
                     background-color: var(--edit-select-bg); z-index: 10; box-shadow: 0 2px 5px 0 rgba(0,0,0,0.2); }
.option { padding: 8px; cursor: pointer; transition: all .3s ease-in-out; }
.option:hover { background-color: var(--edit-select-hover); }

.accordion-item { margin-bottom: 10px; }
.accordion-header { padding: 10px; cursor: pointer; border: 1px solid var(--input-border); font-weight: bold;
                    background: var(--input-bg) url('../../img/dropdown.svg') no-repeat right / 15% 50% !important; }
.accordion-content { padding: 10px; display: none; border: 1px solid var(--td-border); border-top: none; border-radius: 0 0 5px 5px; }
.accordion-item.active .accordion-header { background: var(--input-bg) url('../../img/dropdown-up.svg') no-repeat right / 15% 50% !important; }

@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.rotate { animation: rotate 30s linear infinite; }


@media screen and (max-width: 991px) and (orientation: portrait) {
    .flex, body > nav li, .table-form, .table-form > div, .table-form > div > div { display: block; }
    .flex-mobile { display: flex !important; }
    .panel, #form { width: 90%; margin: 20px auto; }
    .mobile { display: block; }
    .nomobile { display: none; }
    .fade1 .panel { min-width: auto; }
}