/* Auth ekranları */
.auth-layout {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--color-background);
}

.auth-layout__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--page-padding);
  padding-bottom: var(--space-8);
}

.auth-brand {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-brand__icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
}

.auth-brand__icon .material-symbols-outlined {
  font-size: 2rem;
}

.auth-brand__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.auth-brand__subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.auth-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.auth-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.auth-footer {
  text-align: center;
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.auth-footer a {
  color: var(--color-primary);
  font-weight: 600;
}

.auth-demo {
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--color-surface-muted);
  border-radius: var(--radius-lg);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.5;
}

.auth-demo strong {
  color: var(--color-text);
}

/* Bebek seçim */
.babies-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.babies-header h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.babies-header p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.babies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.baby-card-select {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  color: inherit;
  position: relative;
}

.baby-card-select__ring {
  position: relative;
  width: 6.5rem;
  height: 6.5rem;
  padding: 3px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-border);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.baby-card-select:hover .baby-card-select__ring,
.baby-card-select--active .baby-card-select__ring {
  border-color: var(--color-primary);
}

.baby-card-select:active .baby-card-select__ring {
  transform: scale(0.96);
}

.baby-card-select__avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.baby-card-select__placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.baby-card-select__name {
  font-weight: 700;
  font-size: var(--text-base);
}

.baby-card-select__age {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.baby-card-select__menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}

.baby-card-select__menu:hover {
  color: var(--color-primary);
  border-color: rgba(0, 97, 255, 0.3);
}

.babies-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}

.auth-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-muted);
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}

.auth-account-bar__info {
  min-width: 0;
}

.auth-account-bar__name {
  font-weight: 600;
  font-size: var(--text-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-account-bar__email {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
