﻿/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background-color: #2c3e50;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  padding: 24px;
}

.page-title {
  color: white;
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 600;
}

.page-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-shell {
  position: relative;
}

.phone {
  width: 390px;
  height: 844px;
  background-color: var(--app-bg, #deeaf1);
  border-radius: 55px;
  position: relative;
  box-shadow:
    0 0 0 14px #1a1a1a,
    0 0 0 16px #333,
    0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.notch {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 35px;
  background-color: #000;
  border-radius: 20px;
  z-index: 100;
}

.screen {
  height: 100%;
  width: 100%;
  background: transparent;
}

.app {
  height: 100%;
  width: 100%;
  background-color: var(--app-bg, #deeaf1);
  overflow: hidden;
  padding: 52px 14px 18px;
}

.screen-panel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 6px 12px;
}

.screen-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.table {
  display: grid;
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-items: stretch;
}

.table.center {
  justify-items: center;
}

.ai-label {
  color: black;
  margin: 6px 4px;
  line-height: 1.2;
}

.ai-button {
  background-color: #e2e2e2;
  border: 1px solid black;
  padding: 8px 12px;
  font-size: 14px;
  color: black;
  cursor: default;
  border-radius: 2px;
  line-height: 1.15;
}

.ai-button:active {
  background-color: #cccccc;
}

.ai-image {
  display: block;
  object-fit: fill;
  max-width: 100%;
  height: auto;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.align-center {
  align-items: center;
}

.align-right {
  align-items: flex-end;
}

.font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.font-sans {
  font-family: Arial, sans-serif;
}

.font-mono {
  font-family: Consolas, "Courier New", monospace;
}

.shape-round {
  border-radius: 999px;
}

.small-gap {
  gap: 6px;
}

.dance-grid {
  grid-template-columns: 140px 1fr !important;
  column-gap: 12px;
  row-gap: 18px;
  align-items: start;
}

.dance-grid .ai-image {
  width: 195px;
  height: 135px;
  object-fit: cover;
  justify-self: start;
}

.dance-grid-top .ai-image {
  object-position: top;
}

.dance-grid .ai-button {
  font-size: 14px;
  padding: 6px 10px;
  justify-self: start;
}

@media (max-width: 600px) {
  .phone {
    width: 92vw;
    height: calc(92vw * 844 / 390);
  }
}
