/* ===== NAVBAR ROOT ===== */
.navbar,
.navbar * {
  box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 80px);
  max-width: 1600px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding: 14px 28px;

  background: linear-gradient(
    135deg,
    rgba(61, 22, 39, 0.405),
    rgba(30, 10, 25, 0.75)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(176, 116, 151, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.03);

  z-index: 1001;
}

.navbar .navbar-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: 0.2s ease;
}

.navbar .navbar-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.navbar .navbar-mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: 0.2s ease;
}

/* ===== LOGO ===== */
.navbar .navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: 0.25s;
}

.navbar .navbar-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .navbar-logo-img {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(176, 116, 151, 0.5));
  transition: 0.25s;
}

.navbar .navbar-logo-text {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #e9d5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.25s;
}

.navbar .navbar-logo:hover {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
}

.navbar .navbar-logo:hover .navbar-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(176, 116, 151, 0.8));
}

.navbar .navbar-logo:hover .navbar-logo-text {
  transform: translateX(2px);
}

/* ===== CENTER ===== */
.navbar .navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar .navbar-search {
  position: relative;
  width: 320px;
}

.navbar .navbar-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #b07497;
  font-size: 14px;
  pointer-events: none;
}

.navbar .navbar-search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border-radius: 999px;
  background: rgba(20, 20, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  outline: none;
  transition: 0.25s;
}

.navbar .navbar-search-input:focus {
  border: 1px solid #b07497;
  box-shadow: 0 0 20px rgba(176, 116, 151, 0.4);
}

/* ===== SEARCH RESULTS ===== */
.navbar .navbar-search-results {
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  max-height: 460px;
  overflow-y: auto;
  z-index: 2000;

  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(20, 20, 35, 0.98),
    rgba(10, 10, 20, 0.98)
  );
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  border: 1px solid rgba(255, 255, 255, 0.06);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(176, 116, 151, 0.15);

  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: all 0.25s ease;
}

.navbar .navbar-search-results.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.navbar .navbar-search-results::-webkit-scrollbar {
  width: 6px;
}

.navbar .navbar-search-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.navbar .navbar-search-results {
  scrollbar-width: thin;
}

/* элементы поиска */
.navbar .navbar-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbar .navbar-search-item:hover {
  background: rgba(176, 116, 151, 0.12);
}

.navbar .navbar-search-divider {
  height: 1px;
  margin: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.navbar .navbar-search-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: 0.2s;
}

.navbar .navbar-search-item:hover img {
  transform: scale(1.05);
}

.navbar .navbar-search-name {
  font-size: 14px;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.navbar .navbar-search-highlight {
  color: #b07497;
  font-weight: 600;
}

.navbar .navbar-search-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.navbar .navbar-search-meta {
  font-size: 12px;
  color: #b8aeb9;
  line-height: 1.2;
}

.navbar .navbar-search-empty {
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.navbar .navbar-search-item-user .navbar-search-avatar {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
}

.navbar .navbar-search-item-track {
  align-items: center;
}

.navbar .navbar-search-item-track .navbar-search-name,
.navbar .navbar-search-item-user .navbar-search-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar .navbar-search-item + .navbar-search-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== TRACK PREVIEW IN SEARCH ===== */
.navbar .navbar-track-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar .navbar-track-cover-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
}

.navbar .navbar-track-cover-img,
.navbar .navbar-track-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: 0.25s ease;
}

.navbar .navbar-track-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);

  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #d85ca8, #a960ee);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: 0.25s ease;
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

.navbar .navbar-track-cover-wrap:hover .navbar-track-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.navbar .navbar-track-cover-wrap:hover .navbar-track-cover-img,
.navbar .navbar-track-cover-wrap:hover img {
  filter: brightness(0.72);
  transform: scale(1.03);
}

.navbar .navbar-track-play-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(216, 92, 168, 0.95),
    rgba(169, 96, 238, 0.88)
  );
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.32),
    0 0 18px rgba(216, 92, 168, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  pointer-events: none;
}

.navbar .navbar-track-play:hover .navbar-track-play-circle {
  transform: scale(1.08);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(216, 92, 168, 0.38);
}

.navbar .navbar-play-icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  margin-left: 2px;
}

.navbar .navbar-pause-icon {
  display: none;
  align-items: center;
  gap: 3px;
}

.navbar .navbar-pause-icon span {
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: #fff;
}

.navbar .navbar-track-play.active .navbar-play-icon {
  display: none;
}

.navbar .navbar-track-play.active .navbar-pause-icon {
  display: flex;
}

/* ===== NAV ===== */
.navbar .navbar-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.navbar .navbar-links {
  position: relative;
  display: flex;
  gap: 14px;
}

.navbar .navbar-right-extra {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.navbar .navbar-guest {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .navbar-link,
.navbar .navbar-nav a {
  position: relative;
  text-decoration: none;
  color: #bbb;
  font-weight: 600;
  background: none;
  border: none;
  transition: all 0.25s ease;
}

.navbar .navbar-link:hover,
.navbar .navbar-nav a:hover {
  color: #fff;
}

.navbar .navbar-link.active-link,
.navbar .navbar-nav a.active-link {
  color: #fff;
}

.navbar .navbar-telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.navbar .navbar-telegram-icon {
  color: #2aabee;
  font-size: 15px;
  line-height: 1;
  transform: translateY(1px);
}

.navbar .navbar-telegram-link:hover .navbar-telegram-icon {
  color: #45c2ff;
}

/* ===== INDICATOR ===== */
.navbar .navbar-indicator {
  position: absolute;
  bottom: -2px;
  height: 3px;
  width: 0;
  border-radius: 10px;
  background: #b07497;
  box-shadow:
    0 0 10px #b07497,
    0 0 20px rgba(176, 116, 151, 0.6);
  transition:
    left 0.35s ease,
    width 0.35s ease;
}

/* ===== QUEUE ===== */
.navbar .navbar-queue-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar .navbar-queue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #666;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
  transition: 0.25s;
}

.navbar .navbar-queue-dot.active {
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: navbar-pulse 1.5s infinite;
}

.navbar .navbar-queue-dot.closed {
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

@keyframes navbar-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ===== USER ===== */
.navbar .navbar-hidden {
  display: none;
}

.navbar .navbar-user-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.navbar .navbar-icon-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #ffe5f1;
  font-size: 19px;
  text-decoration: none;
  transition: 0.2s ease;
}

.navbar .navbar-icon-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 154, 199, 0.22);
}

.navbar .navbar-notifications-wrap {
  position: relative;
}

.navbar .navbar-notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5ea8, #a76bff);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar .navbar-notifications-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  max-height: 460px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(29, 20, 34, 0.96), rgba(17, 12, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1200;
}

.navbar .navbar-notifications-dropdown.active {
  display: block;
}

.navbar .navbar-notifications-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff3f8;
  font-weight: 700;
}

.navbar .navbar-notifications-read {
  border: none;
  background: transparent;
  color: #ffb9d6;
  cursor: pointer;
  font-size: 12px;
}

.navbar .navbar-notifications-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 390px;
  overflow-y: auto;
}

.navbar .navbar-notification-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.navbar .navbar-notification-item.is-unread {
  border-color: rgba(255, 154, 199, 0.2);
  background: rgba(255, 94, 168, 0.08);
}

.navbar .navbar-notification-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.navbar .navbar-notification-copy {
  min-width: 0;
}

.navbar .navbar-notification-text {
  color: #fff1f7;
  line-height: 1.4;
}

.navbar .navbar-notification-time,
.navbar .navbar-notification-empty {
  margin-top: 4px;
  color: rgba(255, 225, 238, 0.58);
  font-size: 12px;
}

.navbar .navbar-user {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.navbar .navbar-user:hover {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  transform: translateY(-1px);
}

.navbar .navbar-user:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.04);
}

.navbar .navbar-user:active .navbar-avatar {
  transform: scale(0.95);
}

.navbar .navbar-avatar {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

.navbar .navbar-user:hover .navbar-avatar {
  transform: scale(1.06);
}

/* ===== DROPDOWN ===== */
.navbar .navbar-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 10px;
  border-radius: 18px;

  background:
    radial-gradient(circle at top right, rgba(255, 110, 182, 0.14), transparent 38%),
    radial-gradient(circle at top left, rgba(176, 116, 151, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(47, 28, 43, 0.97), rgba(22, 14, 26, 0.99));

  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  border: 1px solid rgba(255, 182, 212, 0.12);

  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(255, 110, 182, 0.12);

  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: all 0.2s ease;
}

.navbar .navbar-dropdown.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.navbar .navbar-dropdown-item {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: #ffe8f2;
  cursor: pointer;
  transition: all 0.18s ease;
}

.navbar .navbar-dropdown-item:hover {
  background: rgba(255, 110, 182, 0.12);
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: inset 0 0 0 1px rgba(255, 182, 212, 0.08);
}

.navbar .navbar-dropdown-divider {
  height: 1px;
  margin: 8px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 182, 212, 0.14),
    transparent
  );
}

.navbar .navbar-dropdown-item-logout {
  color: #ff9ca7;
}

.navbar .navbar-dropdown-item-logout:hover {
  background: rgba(255, 108, 150, 0.14);
  color: #ffd0d8;
  transform: translateX(3px);
}

/* ===== AUTH NAVBAR ===== */
.navbar.auth-navbar {
  justify-content: space-between;
  padding: 14px 40px;
}

.navbar.auth-navbar .navbar-center {
  display: none !important;
}

.navbar.auth-navbar .navbar-search {
  display: none !important;
}

.navbar.auth-navbar .nav-headphones {
  display: none !important;
}

.navbar.auth-navbar .navbar-nav {
  margin-left: auto;
  gap: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar {
    top: 12px;
    width: calc(100% - 18px);
    gap: 14px;
    padding: 12px 16px;
    border-radius: 20px;
  }

  .navbar .navbar-center {
    min-width: 0;
  }

  .navbar .navbar-search {
    width: min(100%, 260px);
  }

  .navbar .navbar-links {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .navbar .navbar-logo-text {
    font-size: 23px;
  }
}

@media (max-width: 700px) {
  .navbar {
    width: calc(100% - 12px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0;
    padding: 12px 14px;
  }

  .navbar .navbar-mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .navbar .navbar-center {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 12px;
    justify-content: stretch;
  }

  .navbar .navbar-search {
    width: 100%;
  }

  .navbar .navbar-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 12px;
  }

  .navbar .navbar-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .navbar .navbar-right-extra {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .navbar .navbar-dropdown {
    right: 0;
  }

  .navbar .navbar-logo {
    padding: 4px 0;
  }

  .navbar .navbar-logo-text {
    font-size: 21px;
  }

  .navbar .navbar-link,
  .navbar .navbar-nav a {
    font-size: 14px;
    line-height: 1.2;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  .navbar .navbar-queue-link {
    justify-content: space-between;
  }

  .navbar .navbar-right-extra,
  .navbar .navbar-guest {
    align-items: center;
    justify-content: space-between;
  }

  .navbar .navbar-user-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .navbar .navbar-user {
    padding: 0;
  }

  .navbar .navbar-dropdown {
    top: calc(100% + 10px);
    right: auto;
    left: 0;
    width: min(260px, calc(100vw - 52px));
    max-width: 100%;
  }

  .navbar.mobile-open .navbar-center,
  .navbar.mobile-open .navbar-nav {
    display: flex;
  }

  .navbar.mobile-open .navbar-mobile-toggle {
    background: rgba(176, 116, 151, 0.16);
    border-color: rgba(255, 255, 255, 0.12);
  }

  .navbar.mobile-open .navbar-mobile-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar.mobile-open .navbar-mobile-toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar.mobile-open .navbar-mobile-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar .navbar-indicator {
    display: none;
  }
}

@media (max-width: 520px) {
  .navbar {
    gap: 8px;
    border-radius: 18px;
  }

  .navbar .navbar-logo-wrap {
    gap: 8px;
  }

  .navbar .navbar-logo-img {
    height: 32px;
  }

  .navbar .navbar-logo-text {
    font-size: 18px;
  }

  .navbar .navbar-search-input {
    padding: 11px 14px 11px 36px;
    font-size: 14px;
  }

  .navbar .navbar-search-icon {
    left: 12px;
  }

  .navbar .navbar-links {
    gap: 6px;
  }

  .navbar .navbar-right-extra,
  .navbar .navbar-guest {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .navbar .navbar-mobile-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .navbar .navbar-link,
  .navbar .navbar-nav a {
    padding: 9px 11px;
    font-size: 13px;
  }

  .navbar .navbar-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
  }

  .navbar .navbar-dropdown {
    width: min(240px, calc(100vw - 36px));
    padding: 8px;
    border-radius: 14px;
  }

  .navbar .navbar-dropdown-item {
    padding: 10px 11px;
    font-size: 13px;
  }
}

.app-confirm-modal,
.app-confirm-modal * {
  box-sizing: border-box;
}

.app-confirm-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(10, 8, 16, 0.72), rgba(8, 7, 14, 0.82)),
    radial-gradient(circle at top, rgba(255, 94, 168, 0.12), transparent 34%);
  backdrop-filter: blur(16px);
  z-index: 1000000;
}

.app-confirm-modal.active {
  display: flex;
}

body.app-confirm-open {
  overflow: hidden;
}

.app-confirm-dialog {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(44, 28, 46, 0.96), rgba(20, 16, 32, 0.98)),
    radial-gradient(circle at top left, rgba(255, 110, 182, 0.18), transparent 38%),
    radial-gradient(circle at top right, rgba(167, 107, 255, 0.14), transparent 34%);
  border: 1px solid rgba(255, 154, 199, 0.18);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(255, 94, 168, 0.12);
  color: #fff2f8;
}

.app-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: #ffb3d6;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.app-confirm-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  color: #fff4fa;
}

.app-confirm-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 230, 240, 0.76);
}

.app-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.app-confirm-btn {
  min-width: 132px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 154, 199, 0.16);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s ease;
}

.app-confirm-btn:hover {
  transform: translateY(-1px);
}

.app-confirm-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffe8f3;
}

.app-confirm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.app-confirm-btn-primary {
  background: linear-gradient(135deg, rgba(255, 94, 168, 0.96), rgba(167, 107, 255, 0.88));
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 94, 168, 0.18);
}

.app-confirm-modal.is-danger .app-confirm-icon {
  color: #ff94b3;
  background: rgba(255, 108, 150, 0.12);
}

.app-confirm-modal.is-danger .app-confirm-btn-primary {
  background: linear-gradient(135deg, rgba(255, 108, 150, 0.96), rgba(255, 79, 111, 0.92));
  box-shadow: 0 14px 30px rgba(255, 79, 111, 0.22);
}

@media (max-width: 520px) {
  .app-confirm-modal {
    padding: 16px;
  }

  .app-confirm-dialog {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .app-confirm-title {
    font-size: 24px;
  }

  .app-confirm-actions {
    flex-direction: column-reverse;
  }

  .app-confirm-btn {
    width: 100%;
  }
}
