.md-trigger{text-decoration: underline 1px dashed blue;position: inherit;width: 100%;padding:5px 5px 4px 0; display: block;margin-top: 0px;}
.md-modal div a {margin: 10px 0;display: block;}
.md-modal{max-width: 320px}
.md-content h3{font-size: 20px !important}
.md-content > div{padding: 10px 5px;}								  
.infocredd div{padding:5px 1px 4px 5px; display: block;margin: 0px;font-size: 80%;width: 100%;text-align: left;}
section .infodiv {border:none;margin-top: 0px;}
section .infodiv img{width:24px;height:24px;margin: 2px 2px 0px 10px;float: revert;}
.hanticol{margin:2px; line-height: 20px}
.okthanks, .front_action{
    display: none;
}
.front_action{font-size: 14px;padding: 5px;}
.fore{padding: 2px 0 0 0;height: 32px;}
.divtbl {width: 320px;margin-bottom: 30px;}
.divtbl div{border: 1px solid grey; padding: 10px 3px;height: auto;margin-bottom: 2px;}
.divtbl div:nth-child(even){width: 87px;display: inline-block;}
.divtbl div:nth-child(odd){width: 230px;display: inline; float: left;text-align: right; padding-right: 6px;height: 44px;}
.you{border:0.5px solid var(--TB);width: 310px;padding: 10px 0}
.foremax,.zabuvpass{height: 100%;align-content: center;height: 40px;}
.zabuvpass label{vertical-align: top;}
/* СТИЛИ ОКОШКА ПУБЛИКАЦИИ ОТЗЫВОВ */



/* Вкладки Only CSS РАССЧИТАНЫ НА 3-5 вкладок */
.tabscab {
  --tabs-count: 5;
  --indicator-offset: 200%;
}

/* Автоматично визначаємо кількість табів для налаштування ширини */
.tabscab:has(ul li:nth-child(3):last-child) { 
  --tabs-count: 3; 
  --indicator-offset: 100%;
}
.tabscab:has(ul li:nth-child(4):last-child) { 
  --tabs-count: 4; 
  --indicator-offset: 150%;
    padding-top: 12px;
}
.tabscab:has(ul li:nth-child(5):last-child) { 
  --tabs-count: 5; 
  --indicator-offset: 200%;
}

.tabscab input[name="tab-control"] {
  display: none;
}
.tabscab .content section h2, .tabscab ul li label {
  font-weight: bold;
  font-size: 18px;
  color: var(--BackgroundFonColorTwo);
  fill: #bec5cf;
  text-transform: uppercase;
}
.tabscab ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.tabscab ul li {
  box-sizing: border-box;
  flex: 1;
  width: calc(100% / var(--tabs-count));
  padding: 0 10px;
  text-align: center;
}
.tabscab ul li label {
  transition: all 0.3s ease-in-out;
  color: #929daf;
  padding: 5px auto;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.tabscab ul li label br {
  display: none;
}
.tabscab ul li svg {
	vertical-align: middle;
	margin-right: 0.2em;
	transition: all 0.2s ease-in-out;
	width: 60px;
	height: 60px;
	padding: 8px;
	margin-top: -5px;
}

@media (max-width: 600px) {
  .tabscab ul li svg {
	width: 40px;
	height: 40px;
	padding: 4px;
	margin-top: 0px;
}
}
.tabscab ul li label:hover, .tabscab ul li label:focus, .tabscab ul li label:active {
  outline: 0;
}

.tabscab .slider {
  position: relative;
  width: calc(100% / var(--tabs-count));
  transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabscab .slider .indicator {
  position: relative;
  width: 50px;
  max-width: 100%;
  margin: 0 auto;
  height: 4px;
  background: var(--BackgroundFonColorTwo);
  border-radius: 1px;
  right: var(--indicator-offset);
}
.tabscab .content {
  margin-top: 42px;
  padding: 0;
}
.tabscab .content section {
  display: none;
  -webkit-animation-name: content;
          animation-name: content;
  -webkit-animation-direction: normal;
          animation-direction: normal;
  -webkit-animation-duration: 0.3s;
          animation-duration: 0.3s;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  line-height: 1.4;
}
.tabscab .content section h2  {
  color: var(--BackgroundFonColorTwo);
  display: none;
}
.tabscab .content section h2::after  {
  content: "";
  position: relative;
  display: block;
  width: 30px;
  height: 3px;
  margin: 5px auto;
}
.tabscab .content section h2::after{background: var(--BackgroundFonColorTwo);}
.tabscab input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
  cursor: default;
  color: var(--BackgroundFonColorTwo);
}
@media (max-width: 600px) {
  .tabscab input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
    background: rgba(0, 0, 0, 0.28);
  }
}
.tabscab input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
  -webkit-transform: translateX(0%);
          transform: translateX(0%);
}
.tabscab input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
  display: block;
}
.tabscab input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
  cursor: default;
  color: var(--BackgroundFonColorTwo);
}

@media (max-width: 600px) {
  .tabscab input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
    background: rgba(0, 0, 0, 0.28);
  }
}
.tabscab input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
}
.tabscab input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
  display: block;
}
.tabscab input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
  cursor: default;
  color: var(--BackgroundFonColorTwo);
}

@media (max-width: 600px) {
  .tabscab input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
    background: rgba(0, 0, 0, 0.28);
  }
}
.tabscab input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
  -webkit-transform: translateX(200%);
          transform: translateX(200%);
}
.tabscab input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
  display: block;
}

/* 4 вкладка */
.tabscab input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
  cursor: default;
  color: var(--BackgroundFonColorTwo);
}

@media (max-width: 600px) {
  .tabscab input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
    background: rgba(0, 0, 0, 0.28);
  }
}
.tabscab input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
  -webkit-transform: translateX(300%);
          transform: translateX(300%);
}
.tabscab input[name="tab-control"]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
  display: block;
}

/* 5 вкладка */
.tabscab input[name="tab-control"]:nth-of-type(5):checked~ul>li:nth-child(5)>label {
  cursor: default;
  color: var(--BackgroundFonColorTwo);
}
@media (max-width: 600px) {
  .tabscab input[name="tab-control"]:nth-of-type(5):checked~ul>li:nth-child(5)>label {
    background: rgba(0, 0, 0, 0.28);
  }
}
.tabscab input[name="tab-control"]:nth-of-type(5):checked~.slider {
  -webkit-transform: translateX(400%);
  transform: translateX(400%);
}
.tabscab input[name="tab-control"]:nth-of-type(5):checked~.content>section:nth-child(5) {
  display: block;
}



@-webkit-keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@keyframes content {
  from {
    opacity: 0;
    -webkit-transform: translateY(5%);
            transform: translateY(5%);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
  }
}
@media (max-width: 1000px) {
  .tabscab ul li label {
    white-space: initial;
  }
  .tabscab ul li label br {
    display: initial;
  }
}
@media (max-width: 600px) {
  .tabscab ul li label {
    padding: 5px;
    border-radius: 5px;
  }
  .tabscab ul li label span {
    display: none;
  }
  .tabscab .slider {
    display: none;
  }
  .tabscab .content {
    margin-top: 0px;
  }
  .tabscab .content section h2 {
    display: block;margin-top: 0px;
  }
}

/* НОВІ СТИЛІ ПЛАТІЖНИХ РЕКВІЗИТІВ */
.pay-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.pay-card {
    background: #333;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s, background 0.2s;
    border: 1px solid #444;
}

.pay-card:hover {
    background: #3a3a3a;
}

.pay-card.status-pause {
    opacity: 0.6;
    border-style: dashed;
}

.pay-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    overflow: hidden;
}

.pay-card-type-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #444;
    border-radius: 6px;
}

.pay-card-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pay-card-name {
    font-size: 14px;
    font-weight: bold;
    color: #eee;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pay-card-number {
    font-size: 13px;
    color: #aaa;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.pay-card-actions {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.pay-btn-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #444;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.pay-btn-icon:hover {
    background: #555;
    color: #fff;
}

.pay-btn-icon i {
    font-size: 16px;
    margin: 0 !important; /* Прибираємо дефолтні маргіни icono */
}

/* Специфічне центрування для трикутника play, бо він геометрично не симетричний */
.pay-btn-icon i.icono-play {
    transform: translateX(2px);
}

/* Кольори статусів */
.pay-btn-icon.btn-pause:hover { color: #ffeb3b; }
.pay-btn-icon.btn-copy:hover { color: #03a9f4; }
.pay-btn-icon.btn-view:hover { color: #4caf50; }

.pay-card.status-pause .btn-pause {
    color: #ffeb3b;
    background: #555;
}

/* Анімація завантаження */
.pay-card-loading {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* USER TASKS (Технічні завдання) */
.user-tasks-container { max-width: 600px; margin: 0 auto; } 
.user-tasks-container h3 { text-align: left; opacity: 0.7; font-size: 14px; letter-spacing: 1px; } 
.user-tasks-list .user-tasks-done, .coming-soon {color: var(--BackgroundFonColorTwo);border: 1px dashed;background: none;margin: 0 5px;} 
.user-task-card {margin-bottom: 15px; position: relative; background: rgba(255,255,255,0.05); text-align: left; backdrop-filter: blur(5px); } 
.user-task-card .at-type { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; } 
.user-task-card .at-date { opacity: 0.5; font-size: 11px; margin-left: auto; } 
.user-task-card .at-title { font-size: 16px; font-weight: 500; } 
.user-task-card .at-desc { opacity: 0.8; line-height: 1.5; font-size: 13px; } 
.user-task-card .btn { padding: 7px 14px; font-size: 12px; cursor: pointer; } 


.mode-2fa-item { transition: all 0.2s ease; border-bottom: 2px solid transparent; padding-bottom: 5px; }
.mode-2fa-item.active { border-bottom-color: var(--BackgroundFonColorTwo); }
.mode-2fa-item.active .icon-2fa { opacity: 1 !important; color: var(--BackgroundFonColorTwo); }
.mode-2fa-item:hover .icon-2fa { opacity: 0.8 !important; }
.qr-container img { margin: 0 auto; }
.pane-2fa { animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
   


.admin-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
}
.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 110px);
    justify-content: center;
    gap: 20px 10px;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}
.admin-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.admin-menu-icon {
    width: 110px;
    height: 100px;
    background-color:var(--BackgroundFonColor);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 6px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Легка тінь замість рамки */
}
.admin-menu-item:hover .admin-menu-icon {
    transform: scale(1.05);
}
.admin-menu-icon img, .admin-menu-icon svg {
    width: 60%;
    height: 70%;
    object-fit: contain;
}
.admin-menu-title {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.2;
    overflow: hidden;
    word-break: break-word;
    color: var(--TB);
}