/*
 * Copyright (c) 2026 Apurva Nakade. All rights reserved.
 * Released under Apache 2.0 license as described in the file LICENSE.
 * Authors: Apurva Nakade
 */

/* The one-time phone notice (mobile-warning.js). */

.vm-mobile-warning {
  position: fixed;
  z-index: 1080;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.vm-mobile-warning[hidden] {
  display: none;
}

.vm-mobile-warning-inner {
  pointer-events: auto;
  max-width: 32rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius);
  background: var(--vm-surface);
  color: var(--vm-text);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.18);
}

.vm-mobile-warning-title {
  margin: 0 0 0.4rem;
  padding: 0;
  border: none;
  font-size: 1rem;
  font-weight: 700;
}

.vm-mobile-warning-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.vm-mobile-warning-buttons {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

.vm-mobile-warning-btn {
  padding: 0.4rem 1rem;
  border: 1px solid var(--vm-accent);
  border-radius: var(--vm-radius-sm);
  background: var(--vm-accent);
  color: var(--vm-on-accent);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.vm-mobile-warning-btn:hover {
  background: var(--vm-accent-hover);
  border-color: var(--vm-accent-hover);
}
