html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Inter", Arial, sans-serif;
  background: #f9f9fb;
}

#root {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 480px;
  min-height: 100%; /* завжди займає весь контейнер */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-img {
  max-width: 120px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.card h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #1c1c1e;
}

.card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
}

.card-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.card-buttons button {
  flex: 1;
  padding: 14px;
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-profile { background: linear-gradient(135deg, #4c9fff, #0088cc); }
.btn-payment { background: linear-gradient(135deg, #28a745, #45c85a); }
.btn-orders  { background: linear-gradient(135deg, #ff6b6b, #ff4c4c); }
.btn-settings{ background: linear-gradient(135deg, #6f42c1, #a678ff); }

button:hover { opacity: 0.9; transform: translateY(-2px); }
button:active { transform: translateY(0); }
