/* Mobile Experience Notice Styles */

/* Mobile notice banner - only show on mobile */
.mobile-notice {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-top: 2px solid var(--color-accent-cyan);
  padding: 12px 16px;
  z-index: 900;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@media (max-width: 767px) {
  .mobile-notice {
    display: block;
  }

  /* Hide if dismissed */
  .mobile-notice.dismissed {
    display: none;
  }
}

.mobile-notice__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 100%;
}

.mobile-notice__text {
  flex: 1;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-text-secondary);
}

.mobile-notice__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-accent-cyan);
  margin-bottom: 4px;
  font-size: 13px;
}

.mobile-notice__title .icon {
  font-size: 16px;
}

.mobile-notice__description {
  color: var(--color-text-tertiary);
  font-size: 11px;
}

.mobile-notice__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mobile-notice__dismiss {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: var(--color-text-secondary);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-notice__dismiss:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-primary);
}

.mobile-notice__close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-text-tertiary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.mobile-notice__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
}

/* Animation */
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Adjust FAB position when notice is visible */
@media (max-width: 767px) {
  .mobile-notice:not(.dismissed) ~ .fab,
  body:has(.mobile-notice:not(.dismissed)) .fab {
    bottom: 80px !important;
  }
}

/* Alternative top banner style (optional) */
.mobile-notice--top {
  bottom: auto;
  top: 60px; /* Below header */
  border-top: none;
  border-bottom: 2px solid var(--color-accent-cyan);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Subtle pill style (alternative) */
.mobile-notice--pill {
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 12px;
  border: 1px solid var(--color-border-primary);
  background: var(--color-bg-secondary);
}

.mobile-notice--pill .mobile-notice__title {
  color: var(--color-accent-purple);
}
