/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --md-surface: #fef7ff;
  --md-surface-container: #f6f2ff;
  --md-on-surface: #1c1b1f;
  --md-outline: rgba(28, 27, 31, 0.12);
  --md-primary: #6750a4;
  --md-on-primary: #ffffff;
  --md-primary-container: #eaddff;
  --md-secondary: #625b71;
  --md-error: #b3261e;
  --md-radius: 18px;
}

:root[data-theme="blue"] {
  --md-primary: #0b5ed7;
  --md-primary-container: #d0e2ff;
  --md-secondary: #0d3b66;
  --md-surface: #f5f8ff;
  --md-surface-container: #e8f0ff;
}

:root[data-theme="green"] {
  --md-primary: #0f766e;
  --md-primary-container: #b2f5ea;
  --md-secondary: #0b3b2e;
  --md-surface: #f3fffb;
  --md-surface-container: #e0f9f2;
}

html,
body {
  background: var(--md-surface);
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--md-on-surface);
  min-height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  font: inherit;
}

main {
  min-height: 100vh;
  background: var(--md-surface);
}

.page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: var(--md-radius);
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
  border: 1px solid rgba(103, 80, 164, 0.1);
}

.surface {
  background: var(--md-surface-container);
  border-radius: var(--md-radius);
  padding: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field {
  width: 100%;
  border: 1px solid var(--md-outline);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  background: #fff;
}

.input-field:focus {
  outline: 2px solid rgba(103, 80, 164, 0.4);
}

textarea.input-field {
  min-height: 96px;
  resize: vertical;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 80, 164, 0.4);
  background: rgba(103, 80, 164, 0.12);
  color: var(--md-primary);
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--md-primary);
  color: var(--md-on-primary);
  box-shadow: 0 12px 22px rgba(103, 80, 164, 0.25);
}

.btn-tonal {
  background: var(--md-primary-container);
  color: var(--md-primary);
}

.btn-outline {
  border: 1px solid var(--md-primary);
  color: var(--md-primary);
  background: transparent;
}

.btn-text {
  background: transparent;
  color: var(--md-primary);
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.with-top-bar {
  padding-top: 72px;
}

.top-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--md-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--md-outline);
  border-radius: 999px;
  padding: 10px;
  background: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--md-on-surface);
}

.top-bar__info {
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--md-on-surface);
}

.top-bar__info span {
  font-size: 12px;
  color: #625b71;
}

.top-bar__quick {
  width: auto;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 40;
}

.drawer-backdrop--visible {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.12);
  transform: translateX(-120%);
  transition: transform 0.3s ease;
  padding: 32px 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-panel--open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.drawer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--md-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

.drawer-header p {
  margin: 0;
  font-size: 13px;
  color: #625b71;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-nav a,
.drawer-nav button {
  text-align: left;
  padding: 12px 0;
  border: none;
  background: transparent;
  font-size: 15px;
  color: var(--md-on-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.install-link {
  margin: 24px auto 40px;
  max-width: 520px;
  text-align: center;
}

.install-btn {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(103, 80, 164, 0.6);
  background: rgba(103, 80, 164, 0.08);
  color: var(--md-primary);
  font-size: 13px;
}

.notification-link {
  margin: 16px auto 32px;
  max-width: 520px;
  text-align: center;
}

.instructions-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  padding-left: 36px;
  position: relative;
  line-height: 1.4;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--md-primary-container);
  color: var(--md-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-pill {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(98, 91, 113, 0.12);
}

.status-pill--ok {
  background: rgba(0, 134, 82, 0.12);
  color: #006e42;
}

.status-pill--alert {
  background: rgba(215, 58, 46, 0.15);
  color: #b3261e;
}

.alert-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b3261e;
  font-size: 13px;
}

.alert-indicator__icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  animation: pulse 1.5s infinite;
}

.alert-indicator__icon::before {
  content: "🔔";
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.4);
    opacity: 0.4;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--md-secondary);
}

.spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(103, 80, 164, 0.15);
  border-top-color: var(--md-primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .page {
    padding-top: 48px;
  }
}

