.dash-container {
  display: flex;
  align-items: center;
  width: 90%;
  justify-content: center;
  max-width: 600px;
  margin: 60px auto;
  padding: 20px;
  flex-direction: column;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dash-container .title {
  font-size: 48px;
  font-weight: 800;
  color: white;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.dash-container .block {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin: 20px;
  padding: 50px 40px;
  width: 100%;
  max-width: 600px;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.dash-container .block:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.dash-container .block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.dash-container input,
.dash-container textarea {
  padding: 16px 20px;
  border-radius: 16px;
  border: 2px solid #e8e8f0;
  font-size: 16px;
  width: 100%;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  background: #fafafa;
  color: #1a1a2e;
}

.dash-container input:focus,
.dash-container textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.dash-container input::placeholder,
.dash-container textarea::placeholder {
  color: #a0a0b0;
}

.dash-container textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

.dash-container label {
  display: block;
  font-weight: 600;
  color: #2a2a3e;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

.form-group {
  margin-bottom: 28px;
}

.dash-container .btn-holder {
  text-align: center;
  margin-top: 35px;
}

.btn {
  padding: 18px 50px;
  background: #2f3ac3;
  color: white;
  cursor: pointer;
  border-radius: 50px;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.btn:active {
  transform: translateY(-1px);
}

#error-text {
  font-size: 15px;
  text-align: center;
  color: #ef4444;
  margin: 20px 0 10px;
  padding: 12px;
  background: #fee;
  border-radius: 12px;
  font-weight: 500;
  display: none;
}

#error-text:not(:empty) {
  display: block;
  animation: shake 0.5s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}

/* Loading Overlay */
.loading {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(5px);
  opacity: 0;
  display: none;
  z-index: 10;
  border-radius: 24px;
}

.loading img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Notifications */
.notifications {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.notifications .notification {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 350px;
  padding: 18px 24px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  font-size: 15px;
  user-select: none;
  cursor: pointer;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid #667eea;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notifications .notification:hover {
  transform: translateX(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.notifications .notification span {
  margin-left: 12px;
  font-weight: 500;
  color: #2a2a3e;
}

.notifications .notification i {
  font-size: 24px;
  color: #667eea;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar i {
    display: block;
  }

  .navbar .item {
    display: none;
  }

  .dash-container .title {
    font-size: 36px;
  }

  .dash-container .block {
    padding: 35px 25px;
    margin: 10px;
  }

  .notifications {
    right: 10px;
    left: 10px;
    top: 10px;
  }

  .notifications .notification {
    max-width: 100%;
  }

  .dash-container input,
  .dash-container textarea {
    font-size: 16px;
  }
}

.dash-loaded {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 24px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.menu-hld .items {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: 400px;
}

.menu-hld .items .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #d1dfff;
  gap: 4px;
  transition: all 0.3s;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  width: 100%;
}

.menu-hld .items .filler {
  height: 100%;
}

.menu-hld .items .item:hover,
.menu-hld .items .item.active {
  background: rgba(255, 255, 255, 0.2);
}

.dash-loaded .items .item .icon.summary {
  background: url("../img/summary-icon.png") no-repeat;
  width: 28px;
  height: 28px;
}

.dash-loaded .items .item .icon.history {
  background: url("../img/history-icon.png") no-repeat;
  width: 28px;
  height: 28px;
}

.dash-loaded .items .item .icon.api {
  background: url("../img/api-icon.png") no-repeat;
  width: 28px;
  height: 28px;
}

.dash-loaded .menu-hld {
  width: 80px;
  border-radius: 20px;
  background: #0d214d;
  padding: 16px 8px;
  margin: 20px 12px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dash-loaded .balance-hld {
  border-radius: 20px;
  background: #0d214d;
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  padding: 8px;
  padding-top: 32px;
  margin: 20px 12px;
}

.dash-loaded .btns-hld {
  padding: 8px;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: space-around;
}

.dash-loaded .recent-activity {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  padding: 32px;
  margin: 20px 12px;
  border-radius: 24px;
  background: #fff;
}

.recent-activity .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 256px;
}

.recent-activity .body {
  margin-top: 40px;
}

.dash-loaded .recent-activity .header .title {
  font-weight: bold;
  color: #0d214d;
}

.dash-loaded .recent-activity .header .more-btn {
  font-size: 12px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.4);
  user-select: none;
  cursor: pointer;
}

.dash-loaded .recent-activity .ract {
  display: flex;
  justify-content: space-between;
  margin: 20px 8px;
  gap: 12px;
}

.dash-loaded .recent-activity .ract.in .icon {
  width: 48px;
  height: 48px;
  background: url("../img/ract-in.png") no-repeat;
  background-size: 100%;
}

.dash-loaded .recent-activity .ract.out .icon {
  width: 48px;
  height: 48px;
  background: url("../img/ract-out.png") no-repeat;
  background-size: 100%;
}

.ract .txt .title {
  font-weight: bold;
}

.ract .txt .desc {
  font-size: 12px;
}

.ract .txt {
  min-width: 300px;
}

.dash-loaded .btns-hld .button {
  padding: 4px 8px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 16px;
}

.dash-loaded .btns-hld .button .material-icons {
  font-size: 16px;
}

.dash-loaded .btns-hld .button:hover {
  background: #fff;
  color: #0d214d;
}

.balance-hld .bitgate-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  background: url(../img/wallet-lgo.png);
  width: 82px;
  height: 18px;
  opacity: 0.2;
}

.balance-hld .amount {
  text-align: center;
  font-size: 64px;
  font-weight: bold;
  margin: 0 48px;
}

.balance-hld .txt {
  color: #94a4da;
  font-size: 16px;
  font-weight: bold;
  margin: 20px;
}

.menu-hld .menu-lgo {
  background: url("../img/dash-menu.png") no-repeat;
  width: 45px;
  height: 21px;
  background-size: 100%;
  opacity: 0.7;
}

.dash-loaded .btn-holder {
  text-align: center;
  margin: 20px;
}

.dash-loaded .main-contain {
  position: relative;
}

.main-contain .loading {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 1;
  z-index: 20;
}

.main-contain .loading img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.dash-loaded .main-contain {
  display: flex;
  gap: 24px;
}

@media (max-width: 985px) {
  .dash-loaded {
    display: block;
  }

  .dash-loaded .menu-hld {
    width: unset;
    height: 80px;
    flex-direction: row;
    gap: 24px;
  }

  .dash-loaded .menu-hld .menu-lgo {
    margin-left: 8px;
  }

  .menu-hld .items {
    flex-direction: row;
    margin-top: 0;
    min-height: 20px;
  }
  .dash-loaded .main-contain {
    display: block;
  }

  .menu-hld .items .item {
    width: 100%;
  }
}
