@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;
  background: transparent;
  line-height: inherit;
}

:root {
  --bg-color: #1a1918;
  --card-bg: #21201f;
  --card-border: rgba(255, 255, 255, 0.08);
  --text-title: #ffffff;
  --text-sub: #94a3b8;
  --input-bg: #1a1918;
  --input-border: rgba(255, 255, 255, 0.15);
  --input-text: #ffffff;
  --input-bg-focus: #282725;
  --btn-outline-border: rgba(255, 255, 255, 0.08);
  --btn-outline-text: #94a3b8;
  --btn-outline-hover-bg: rgba(255, 255, 255, 0.05);
  --table-header-bg: #282725;
  --table-border: rgba(255, 255, 255, 0.08);
  --table-text: #d1d5db;

  --accent: #9af924;
  --accent-hover: #6ac000;
}

html,
body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-title);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* ── Canvas Layer (Light mode only) ──────────────────── */
.canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  transform: scale(1.3);
  opacity: 0.6;
  display: none;
}

[data-theme="light"] .canvas {
  display: block;
}

/* ── Shell & Views ────────────────────────────────────── */
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.view-section {
  display: none;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

.view-section.active {
  display: flex;
  animation: viewFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes viewFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Header ───────────────────────────────────────────── */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
}

.header .logo-img {
  height: 28px;
  width: auto;
}

[data-theme="dark"] .header .logo-img {
  content: url("logo-oficial.png");
}

[data-theme="light"] .header .logo-img {
  content: url("logo-light.png");
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-title);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 105;
}

.theme-toggle:hover {
  background: var(--accent);
  color: #14181f;
}

/* ── Login View ───────────────────────────────────────── */
.login-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px; /* Safe zones for header and footer */
}

.login-wrapper {
  width: 100%;
  max-width: 440px;
  margin: auto;
}

.login-card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: background 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  padding: 32px 40px;
  position: relative;
  z-index: 10;
}

.card-head {
  text-align: center;
  margin-bottom: 36px;
}

.card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
  line-height: 1.2;
  margin-bottom: 8px;
}

.highlight-pill {
  background-color: var(--accent);
  color: #14181f;
  padding: 2px 12px;
  border-radius: 8px;
  display: inline-block;
}

.card-sub {
  font-size: 14px;
  color: var(--text-sub);
  font-weight: 400;
  transition: color 0.3s ease;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Form Inputs ──────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.3s ease;
}

.input-wrap {
  display: flex;
  align-items: center;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  padding: 0 14px;
  transition: all 0.2s ease;
  position: relative;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  background: var(--input-bg-focus);
  box-shadow: 0 0 0 3px rgba(220, 243, 104, 0.3);
}

.input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--input-text);
  outline: none;
  min-width: 0;
  font-family: inherit;
}

.input-wrap input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* ── Available APKs Section ──────────────────────────────────────── */
.apks-section {
  max-width: 440px;
  margin: 32px auto 0;
  width: 100%;
}

.apks-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  position: relative;
}

.apks-divider::before,
.apks-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--card-border);
}

.apks-divider-icon {
  color: var(--text-sub);
}

.apk-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.apk-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.apk-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.apk-img {
  width: 90px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.apk-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.apk-text p {
  font-size: 12px;
  color: var(--text-sub);
  font-family: monospace;
}

.download-btn {
  background: rgba(154, 249, 36, 0.1);
  color: var(--accent);
  border: 1px solid rgba(154, 249, 36, 0.2);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(154, 249, 36, 0.3);
}

.terms-footer {
  text-align: center;
  margin-top: 32px;
  font-size: 11px;
  color: var(--text-sub);
}

.terms-footer a {
  color: #7b61ff;
  text-decoration: underline;
  font-weight: 500;
}

.eye-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  padding: 0 0 0 8px;
  transition: color 0.2s;
  line-height: 0;
}

.eye-btn:hover {
  color: #4b5563;
}

/* ── Submit Button & Spinner ───────────────────────────── */
.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #14181f;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.submit-btn span {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #14181f;
  line-height: 1;
}

.submit-btn::before,
.submit-btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0%;
  background: #6ac000;
  transition: width 0.3s ease-in-out;
  z-index: -1;
}

.submit-btn::before {
  left: 0;
}

.submit-btn::after {
  right: 0;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 243, 104, 0.4);
}

.submit-btn:hover::before,
.submit-btn:hover::after {
  width: 50%;
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(20, 24, 31, 0.2);
  border-top-color: #14181f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ── Dashboard / Playlists View ───────────────────────── */
.app-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 48px 48px;
  gap: 32px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.app-container {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.card-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--card-border);
  transition: border-color 0.3s ease;
}

.card-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  transition: color 0.3s ease;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.card-body {
  padding: 24px 32px;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.device-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.3s ease;
}

.stat-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  transition: color 0.3s ease;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
}

.actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  outline: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #14181f;
  font-weight: 700;
}

.btn-primary:hover {
  background: #c5e04b;
}

.btn-outline {
  background: transparent;
  border-color: var(--btn-outline-border);
  color: var(--btn-outline-text);
}

.btn-outline:hover {
  border-color: var(--text-title);
  color: var(--text-title);
  background: var(--btn-outline-hover-bg);
}

.btn-edit {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--btn-outline-border);
  color: var(--text-title);
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  transition: all 0.2s;
}

.btn-edit:hover {
  background: var(--btn-outline-hover-bg);
  border-color: var(--text-title);
}

.btn-delete {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  transition: all 0.2s;
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.5);
}

/* ── Table ────────────────────────────────────────────── */
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table thead {
  background: var(--table-header-bg);
  transition: background 0.3s ease;
}

.table th {
  padding: 16px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-sub);
  border-bottom: 1px solid var(--table-border);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--table-border);
  transition: border-color 0.3s ease;
  vertical-align: middle;
  color: var(--table-text);
}

.table-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.table-url {
  color: var(--text-sub);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

.table-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.empty-state {
  padding: 64px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: var(--text-sub);
}

.empty-state svg {
  color: var(--btn-outline-border);
  margin-bottom: 8px;
}

.protected-badge {
  background: #14181f;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

/* ── Modals ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  width: 100%;
  max-width: 580px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 32px 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 0 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-alert {
  background: #fef08a;
  color: #854d0e;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-row {
  display: flex;
  gap: 16px;
}

.modal-row>* {
  flex: 1;
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 4px;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--input-border);
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-title);
  user-select: none;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.btn-cancel {
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: var(--btn-outline-hover-bg);
}

.btn-submit {
  background: var(--accent);
  color: #14181f;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 10px 24px;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: #c5e04b;
}

/* ── Next.js Exact Toast Component ───────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 9999;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.toast.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.toast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFEBEB;
  color: #FF4D4F;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}

.toast-message {
  color: #1f1f1f;
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 12px;
  font-family: inherit;
}

.toast-close-btn {
  background: none;
  border: none;
  color: #9e9e9e;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin-left: auto;
}

.toast-close-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #FF4D4F;
  width: 100%;
  transform-origin: left;
}

.toast.active .toast-progress {
  animation: shrink 5s linear forwards;
}

@keyframes shrink {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .app-main {
    padding: 20px 16px 32px;
  }

  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .table th,
  .table td {
    padding: 12px 16px;
  }

  .actions-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .login-main {
    padding: 70px 16px 20px;
  }

  .login-card {
    padding: 24px 20px;
  }

  .card-head {
    margin-bottom: 20px;
  }

  .card-title {
    font-size: 22px;
  }

  .form {
    gap: 12px;
  }

  .input-wrap {
    height: 42px;
  }

  .submit-btn {
    padding: 12px 20px;
  }

  .apks-section {
    margin-top: 24px !important;
  }

  .apk-card {
    padding: 10px 12px;
  }

  .apk-img {
    width: 64px;
    height: auto;
    border-radius: 4px;
  }

  .apk-text h3 {
    font-size: 13px;
  }

  .apk-text p {
    font-size: 11px;
  }

  .download-btn {
    width: 32px;
    height: 32px;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .modal-row {
    flex-direction: column;
    gap: 12px;
  }

  .header-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }

  .header-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
  }
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Telegram Toast ────────────────────────────────────── */
.tg-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 300px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 191, 255, 0.2);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 191, 255, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: 
    slideInTg 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    slideOutTg 0.4s ease forwards;
  animation-delay: 0s, 10s;
  overflow: hidden;
}

.tg-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00bfff, transparent);
  opacity: 0.5;
}

.tg-toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00bfff;
  box-shadow: 0 -1px 8px #00bfff;
  animation: tgProgress 10s linear forwards;
}

@keyframes tgProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

@keyframes slideInTg {
  from { opacity: 0; transform: translateX(100px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideOutTg {
  from { opacity: 1; transform: translateX(0) scale(1); visibility: visible; }
  to { opacity: 0; transform: translateX(100px) scale(0.95); visibility: hidden; }
}

.tg-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.tg-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 24px;
}

.tg-icon-wrapper {
  background: #00bfff;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
  flex-shrink: 0;
}

.tg-title-area {
  display: flex;
  flex-direction: column;
}

.tg-subtitle {
  font-size: 10px;
  font-weight: 700;
  color: #00bfff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.tg-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.tg-body {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.4;
}

.tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #00bfff;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

.tg-btn:hover {
  background: #00a3e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 191, 255, 0.3);
}

@media (max-width: 480px) {
  .tg-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
}