html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden; /* Заборона прокручування */

}
h1, h2 {
    font-family: 'Jost', sans-serif;
}

.header {
    display: flex;
    align-items: center; /* Вирівнює елементи по центру вертикально */
    gap: 10px; /* Відступ між блоками */
    position: absolute;
    left: 249px;
    top: 139px;
}

.header-text.main {
    font-family: Montserrat, sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: white;
    text-align: left;
    margin: 0; /* Прибирає зайві відступи */
}

.header-text.second{
    position: absolute;
width: 326px;
height: 25px;
left: 0%;
right: 0%;
top: 95%;
bottom: 0%;
    color: rgb(183, 183, 183);
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
}

.box.small {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(97, 255, 125) -13.077%, rgb(0, 0, 0) 122.308%);
    color: aliceblue;
    font-size: 20px;
    font-weight: bold;
}


.conteiner{

}



.box.middle {
    position: absolute; /* Якщо вам потрібне абсолютне позиціонування контейнера */
    width: 425px;
    height: 595px;
    left: 245px;
    top: 324px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(2, 9, 30), rgb(13, 0, 35));
    
    display: flex;
    flex-direction: column; /* Розташування елементів по вертикалі */
    align-items: center;    /* Центрування елементів по горизонталі */
    gap: 20px;              /* Відступ між елементами */
    padding-top: 20px;      /* Додатковий внутрішній відступ зверху */
  }


.box.big {
    /* Rectangle 2 */
position: absolute;
width: 1053px;
height: 611px;
left: 699px;
right: 168px;
top: 327px;
bottom: 142px;
border-radius: 10px;

background: linear-gradient(180.00deg, rgb(2, 9, 30),rgb(13, 0, 35) 100%);
}
.box.middle2 {
  position: absolute;
  top: 16vw;
  right: 14vw;
  width: 19vw;
  height: 12vw;
  border-radius: 10px;
  color: white;
  padding: 20px;
  font-family: Montserrat, sans-serif;
}

.box.middle2 h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}

.chart-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.chart-image {
  width: 50%; /* Ширина діаграми */
  max-width: 150px;
}

.chart-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.category {
  font-weight: bold;
}

.value {
  color: white;
  font-weight: bold;
}





/* .box.confirm {
position: absolute;
width: 412px;
height: 285px;
left: 1309px;
right: 199px;
top: 613px;
bottom: 182px;
border-radius: 10px;

background: linear-gradient(61.84deg, rgb(0, 21, 51) -18.064%,rgba(5, 1, 14, 0.21) 174.745%);
    } */


    .box.confirm {
      position: absolute;
      width: 412px;
      height: 13vw;
      left: 1309px;
      top: 613px;
      border-radius: 10px;
      background: linear-gradient(
        61.84deg,
        rgb(0, 21, 51) -18.064%,
        rgba(5, 1, 14, 0.21) 174.745%
      );
      padding: 20px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      color: white;
      color: rgb(255, 255, 255);
font-family: Montserrat;
font-size: 14px;
font-weight: 700;
line-height: 17px;
letter-spacing: 0px;
text-align: left;
    }
    
    .box.confirm h2 {
      font-size: 18px;
      font-weight: bold;
      color: rgb(255, 255, 255);
font-family: Montserrat;
font-size: 14px;
font-weight: 700;
line-height: 17px;
letter-spacing: 0px;
text-align: left;
      margin: 0;
    }
    
    .box.confirm p {
      font-size: 14px;
      margin: 0 0 15px 0;
      color: rgb(165, 165, 165);
font-family: Montserrat;
font-size: 10px;
font-weight: 500;
line-height: 12px;
letter-spacing: 0px;
text-align: left;
    }
    
    .input-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 15px;
    }
    
    .input-group label {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 600;
      margin-bottom: 5px;
    }
    
    .input-group input {
    padding: 20px 14px;
    font-size: 14px;
    color: #fff;
    background: rgba(31, 0, 64, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    }
    
    .input-group input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }
    
    .result {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: white;
      margin: 10px 0 20px 0;
    }
    
    .result span {
      font-weight: bold;
    }
    
    .btn-confirm {
      width: 100%;
      height: 50px;
      padding: 10px;
      font-size: 14px;
      font-weight: 700;
      color: white;
      background: linear-gradient(49.48deg, rgba(99, 152, 255, 0.32) 11.513%, rgba(0, 23, 110, 0.32) 128.222%);
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .btn-confirm:hover {
      transition: 0.5s;
      color: #8093ff;
      background: linear-gradient(90deg, #1e004f, #0c0030);
    }
    

.bcg {
    width: 100%;
    height: 100vh;
    background: linear-gradient(42.34deg, rgba(0, 13, 24, 0.92) -2.181%, rgb(0, 14, 52) 113.922%);
}
.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    width: 320px;
    height: 180px;
    left: 280px;
    top: 341px;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(
      127.13deg,
      rgb(173, 83, 83) -1.787%,
      rgba(247, 24, 255, 0.45) 54.579%,
      rgba(0, 8, 112, 0.6) 98.712%
    );
    color: #fff;
  }
  
  .carta {
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    padding-top: 1vw;
  }
  
  .cardchip {
    width: 70px;
    height: 51px;
    border-radius: 17px;
    background: rgb(255, 174, 108);
    margin-left: auto;
  }
  
  .card-details {
    display: flex;
    flex-direction: column;
    margin-top: auto;
  }
  
  .card-owner {
    font-size: 16px;
    margin-top: 10px;
  }
  
  .card-number {
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-top: 5px;
  }
  
.balance{
    position: absolute;
    width: 169px;
    height: 24px;
    left: 9.63%;
    right: 46.06%;
    top: 40%;
    bottom: 76%;
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
}
.balance-box{
    position: absolute;
    width: 317px;
    height: 64px;
    left: 10%;
    right: 0%;
    top: 48%;
    bottom: 0%;
    border-radius: 10px;
    background: rgba(31, 0, 64, 0.33);
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
}



.balance_box, .balance_box2, .balance_box3 {
    /* Прибираємо абсолютне позиціонування */
    /* position: absolute; */
  
    width: 317px;
    height: 64px;
    border-radius: 10px;
    background: rgba(31, 0, 64, 0.33);
    
    display: flex;
    justify-content: center; /* Центруємо текст по горизонталі */
    align-items: center;     /* Центруємо текст по вертикалі */
    
    /* Можна додати margin, якщо gap в контейнері недостатній */
    /* margin: 10px 0; */
  }
  .balance-amount {
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0px;
    text-align: left;
  }
  
  .balance-change {
    color: rgba(184, 184, 184, 0.72);
    font-family: Montserrat;
    font-size: 8px;
    font-weight: 700;
    line-height: 10px;
    letter-spacing: 0px;
    margin-top: -15px;
    text-align: left;
  }


/* Стилі для контейнера INFO */
/* Контейнер INFO */
.info-box {
    position: absolute;
    width: 317px;
    height: 177px;
    left: 9.49%;
    display: flex;
    right: 9.23%;
    top: 62.32%;
    gap: 10px;
    bottom: 6.71%;
    flex-direction: column;
    flex-wrap: nowrap;
}
  
  /* Заголовок INFO */
  .info-box h1 {
    color: rgb(255, 255, 255);
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
  }
  
  /* Блок box-info1 */
  .box-info1, .box-info2 {
    width: 317px;
    height: 64px;
    border-radius: 10px;
    background: rgba(31, 0, 64, 0.33);
    padding: 15px; /* Внутрішні відступи */
    text-align: center; /* Центрування тексту */
    display: flex;
    align-items: center; /* Вирівнювання по центру вертикально */
    color: rgb(255, 255, 255);
font-family: Montserrat;
font-size: 14px;
font-weight: 700;
line-height: 17px;
letter-spacing: 0px;
text-align: left;
  }
  
  
  .box-info1 p, .box-info2 p {
    margin: 0; /* Прибираємо відступи у тексту */
    font-weight: bold;
  }
  
  .sec_Text{
    color: rgba(184, 184, 184, 0.72);
font-family: Montserrat;
font-size: 8px;
font-weight: 700;
line-height: 10px;
letter-spacing: 0px;
text-align: left;
  }


  .box.big {
    position: absolute;
    width: 1053px;
    height: 31vw;
    left: 699px;
    top: 327px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(2, 9, 30), rgb(13, 0, 35) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .action-buttons {
    width: 456px; /* Ширина групи кнопок */
    height: 404px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 35px;
  }
  
  .box.big {
    position: absolute;
    width: 1053px;
    height: 611px;
    left: 699px;
    top: 327px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgb(2, 9, 30), rgb(13, 0, 35) 100%);
    display: flex;
    justify-content: flex-start; /* Вирівнювання до лівого краю */
    align-items: center;
    padding-left: 20px; /* Відступ для естетики */
  }
  
  .action-button {
    display: flex;
    align-items: center;
    background: rgba(31, 0, 64, 0.5); /* Темний фон */
    border-radius: 10px; /* Округлені кути */
    padding: 15px 20px;
    gap: 15px; /* Відстань між іконкою та текстом */
    transition: background 0.3s ease; /* Плавний ефект наведення */
    cursor: pointer;
  }
  
  .action-button:hover {
    background: rgba(31, 0, 64, 0.7); /* Фон при наведенні */
  }
  
  .icon {
    font-size: 24px;
    color: #4CAF50; /* Зелений колір іконки */
  }
  
  .button-text h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: white; /* Колір заголовка */
  }
  
  .button-text p {
    font-size: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7); /* Світліший текст */
  }
  

/* Для екранів із шириною до 1280px */
@media (max-width: 1024px) {
  .header { flex-direction: column; text-align: center; }
  .box.middle, .box.big, .box.confirm { width: 90%; margin: 10px auto; }
  .action-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 768px) {
  .header-text.main { font-size: 24px; }
  .header-text.second { font-size: 14px; }
  .balance, .info-box h1 { font-size: 18px; }
}
@media (max-width: 480px) {
  .header { padding: 10px; }
  .box.middle, .box.big, .box.confirm { width: 100%; }
  .action-button { font-size: 14px; padding: 8px; }
}

.login-screen {
  position: fixed; /* Завжди поверх */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(42.34deg, rgb(0, 13, 24) -2.181%, rgb(0, 7, 25) 113.922%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  z-index: 9999; /* Найвищий пріоритет */
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* PIN точки */
.pin-input-container {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.pin-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #666;
  opacity: 0.3;
  transition: background-color 0.3s, opacity 0.3s;
}

.pin-dot.filled {
  background-color: #fff;
  opacity: 1;
}

/* Приховане поле вводу */
#pin-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Кнопка */
.btn-login {
  padding: 10px 20px;
  font-size: 1rem;
  color: white;
  background: #4caf50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-login:hover {
  background: #45a049;
}

/* Помилка */
#error-message {
  color: red;
  font-size: 1rem;
  margin-top: 10px;
}

.pin-input-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pin-dot {
  width: 15px;
  height: 15px;
  background-color: #555; /* Початковий колір крапок */
  border-radius: 50%;
  transition: background-color 0.3s;
}

.pin-dot.filled {
  background-color: #000; /* Колір заповненої крапки */
}

#pin-input {
  opacity: 1;
  position: relative;
  z-index: 10;
}


#main-content {
  text-align: center;
  color: white;
}

#welcome-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9); /* Темний фон, який покриває весь екран */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  z-index: 10;
  animation: fade-out-bg 4s ease forwards; /* Фон зникає через прозорість */
}

#welcome-message h1 {
  animation: text-zoom 1.5s ease forwards; /* Анімація для тексту */
}

/* Анімація для тексту */
@keyframes text-zoom {
  0% {
      transform: scale(0.5);
      opacity: 0;
  }
  50% {
      transform: scale(1.2);
      opacity: 1;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

/* Анімація для зникнення фону */
@keyframes fade-out-bg {
  0% {
      opacity: 1;
  }
  100% {
      opacity: 0;
  }
}

body.dark-theme {
  background-color: #121212;
  color: #ffffff;
}


body.dark-theme .box.confirm {
  background: linear-gradient(42.34deg, rgba(72, 113, 148, 0.92) -2.181%, rgb(81, 124, 255) 113.922%);

  color: #ffffff;
}



body.dark-theme .box.middle {
  background: linear-gradient(42.34deg, rgba(72, 113, 148, 0.92) -2.181%, rgb(81, 124, 255) 113.922%);

  color: #ffffff;
}

body.dark-theme .box.small {
  background: linear-gradient(42.34deg, rgba(72, 113, 148, 0.92) -2.181%, rgb(81, 124, 255) 113.922%);

  color: #ffffff;
}

body.dark-theme .box.big {
  background: linear-gradient(42.34deg, rgba(72, 113, 148, 0.92) -2.181%, rgb(81, 124, 255) 113.922%);

  color: #ffffff;
}

body.dark-theme .btn-confirm {
  background: linear-gradient(90deg, #1c86ee, #009acd);

  color: #ffffff;
}

body.dark-theme .transaction-menu {
  background: linear-gradient(42.34deg, rgba(72, 113, 148, 0.92) -2.181%, rgb(81, 124, 255) 113.922%);

  color: #ffffff;
}

body.dark-theme .card {
  background: linear-gradient(
    127.13deg,
    rgb(119, 98, 255) -1.787%,
    rgba(253, 185, 255, 0.45) 54.579%,
    rgba(0, 143, 225, 0.718) 98.712%
  );

  color: #ffffff;
}



body.dark-theme .bcg {
  background: linear-gradient(42.34deg, rgba(0, 23, 43, 0.92) -2.181%, rgb(206, 219, 255) 113.922%);

  color: #ffffff;
}

body.dark-theme .btn-login {
  background: #444;
  color: #ffffff;
}

/* Загальний стиль кнопки */
.theme-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}

/* Сам перемикач */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background-color: #d3d3d3; /* Світлий фон для "світлої теми" */
  border-radius: 50px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 3px rgba(0, 0, 0, 0.1);
  outline: none;
  border: 2px solid transparent; /* Активний стан */
}

/* Кнопка всередині перемикача */
.theme-toggle::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background-color: #000; /* Темна кнопка */
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Темна тема */
.theme-toggle.dark {
  background-color: #2c2c2c; /* Темний фон для "темної теми" */
}

.theme-toggle.dark::before {
  background-color: #d3d3d3; /* Світла кнопка */
  transform: translateX(30px); /* Зміщення вправо */
}

/* Темна тема */
body.dark-theme .theme-toggle {
  background: linear-gradient(90deg, #444, #666);
}

body.dark-theme .theme-toggle .toggle-indicator {
  transform: translateX(25px); /* Переміщення вправо */
}

body.dark-theme ul::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #688ea1, #2ea7f8); /* Градієнт */
  
}


body.dark-theme .theme-toggle {
  background-color: #444;
  color: #fff;
  border-color: #fff;
}
 /* меню статус  */



 
/* Основний стиль меню транзакцій */
.transaction-menu {

      background: linear-gradient(180deg, rgb(2, 9, 30), rgb(13, 0, 35));
      position: fixed;
      top: 20%;
      right: 5%;
      width: 300px;
      color: white;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
      cursor: move; /* Додаємо курсор "рука" */
      z-index: 1000;
      user-select: none; /* Забороняємо виділення тексту */
    }


/* Анімація для відкриття */
.transaction-menu.open {
  display: block; /* Показуємо меню */
  opacity: 1; /* Змінюємо прозорість */
  transform: translateY(0); /* Повертаємо в початкове положення */
}

/* Внутрішній стиль списку */
.transaction-menu ul {
  list-style: none;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 10px;
}

/* Елементи списку */
.transaction-menu ul li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: background 0.3s ease;
}

/* Ефект наведення на елементи списку */
.transaction-menu ul li:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Заголовок */
.transaction-menu h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

/* Плавне зникнення */
.transaction-menu.closing {
  opacity: 0; /* Прозорість */
  transform: translateY(-20px); /* Зсув */
  transition: all 0.4s ease; /* Плавна анімація */
}
.btn-confirm {
  color: white;
  font-weight: bold;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}


.transaction-button {
  cursor: pointer;
}

.transaction-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 200px;
  overflow-y: auto;
}

.transaction-menu ul li {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.transaction-menu ul::-webkit-scrollbar {
  width: 8px; /* Ширина скрола */
}

.transaction-menu ul::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #24212d, #220135); /* Градієнт */
  border-radius: 10px; /* Округлені кути */
}

.transaction-menu ul::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1); /* Тло треку */
  border-radius: 10px;
}

.transaction-menu ul li:hover {
  background: rgba(255, 255, 255, 0.1); /* Підсвічування при наведенні */
  padding: 5px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}



/* loader */
/* loader */
/* loader */
/* loader */
/* loader */
/* loader */



.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none; /* Спочатку прихований */
}

.loader {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

/* Анімація обертання */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* notification */
/* notification */
/* notification */
/* notification */
/* notification */
/* notification */

/* Контейнер для сповіщень */
/* Контейнер для сповіщень */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Окреме сповіщення */
.notification {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
  animation: neonSlideIn 0.4s ease-out forwards, neonFadeOut 0.5s 3s forwards;
}

/* Анімація появи */
@keyframes neonSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Анімація зникнення */
@keyframes neonFadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
}

/* 🟢 Успішне повідомлення (зелений неон) */
.notification.success {
  background: linear-gradient(45deg, #00ff99, #009966);
  box-shadow: 0 0 15px #00ff99;
  border: 1px solid #00ff99;
}

/* 🔴 Помилка (червоний неон) */
.notification.error {
  background: linear-gradient(45deg, #ff1a1a, #cc0000);
  box-shadow: 0 0 15px #ff1a1a;
  border: 1px solid #ff1a1a;
}

/* 🔵 Інформація (синій неон) */
.notification.info {
  background: linear-gradient(45deg, #007bff, #0044cc);
  box-shadow: 0 0 15px #007bff;
  border: 1px solid #007bff;
}

/* 🟡 Попередження (жовтий неон) */
.notification.warning {
  background: linear-gradient(45deg, #ffcc00, #ff9900);
  box-shadow: 0 0 15px #ffcc00;
  border: 1px solid #ffcc00;
}

/* Додатковий ефект світіння */
.notification::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 10px;
  opacity: 0.7;
  filter: blur(10px);
  z-index: -1;
}

.notif-icon {
  font-size: 18px;
  margin-right: 8px;
}


.card-container {
  position: absolute;
  width: 320px;
  height: 210px;
  left: 0;
  right: -219px;
  top: 0;
  bottom: 57px;
}

.card {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(0deg);
  border-radius: 12px;
  background: linear-gradient(135deg, #743ad5, #d53a9d);
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.back-card {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #101010, #424242);
}

.card-container.flipped .card {
  transition: transform 0.6s ease;
}

.card-container.flipped .card {
  transform: rotateY(180deg);
}

.card-container.flipped .back-card {
  transform: rotateY(0deg);
}

.change-card-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 25vw;
  right: 2.5vw;
  transform: translateY(-50%) rotate(90deg);
}

.icon-arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(45deg);
}

.change-card-btn:hover .icon-arrow {
  border-color: #FFD881;
}

.unlock-card-btn {
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #444;
  color: #FFD881;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.unlock-card-btn:hover {
  background-color: #555;
}


.chart-container {
  top: -3vw;
  width: 100%;
  height: 300px;
  position: relative;
}

canvas {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* Dark theme styling for inputs */
body.dark-theme .input-group input {
  background: rgba(20, 20, 40, 0.7);
  border: 1px solid rgba(100, 100, 150, 0.3);
}

/* Style for the transfer form */
.box.confirm[data-form-type="transfer"] {
  background: linear-gradient(180deg, rgba(7, 1, 39, 0.9) 0%, rgba(14, 0, 49, 0.9) 100%);
  border-radius: 10px;
  padding: 20px;
  position: absolute;
  width: 370px;
  height: auto;
  right: 5%;
  top: 50%;
  color: white;
}

.box.confirm[data-form-type="transfer"] h2 {
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.box.confirm[data-form-type="transfer"] p {
  color: #ffffff;
  opacity: 0.8;
  margin-bottom: 20px;
  text-align: center;
  font-size: 12px;
}

/* Input styling for transfer form */
.box.confirm[data-form-type="transfer"] .input-group {
  margin-bottom: 20px;
}

.box.confirm[data-form-type="transfer"] .input-group input {
  background: rgba(16, 3, 38, 0.7);
  border: 1px solid rgba(59, 51, 97, 0.7);
  padding: 15px;
  height: 45px;
  font-size: 14px;
}

.box.confirm[data-form-type="transfer"] .input-group label {
  text-transform: uppercase;
  color: white;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Result styling for transfer form */
.box.confirm[data-form-type="transfer"] .result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 20px 0;
}

.box.confirm[data-form-type="transfer"] .result label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

/* Button styling for transfer form */
.box.confirm[data-form-type="transfer"] .btn-confirm {
  background: linear-gradient(180deg, rgba(56, 45, 118, 0.7) 0%, rgba(32, 26, 79, 0.7) 100%);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  height: 45px;
  font-size: 12px;
  border-radius: 5px;
  padding: 0;
}

.box.confirm[data-form-type="transfer"] .btn-confirm:hover {
  background: linear-gradient(180deg, rgba(76, 65, 138, 0.8) 0%, rgba(52, 46, 99, 0.8) 100%);
  color: white;
}


