/* PAGE: DATOS */
#page-datos {
  padding: 10px 20px 0 20px;
  animation: fadeIn 0.3s;
}

.datos-art-preview {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-height: 180px;
}
.photo-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
.datos-art-preview .art-emoji {
  font-size: 90px;
}
.datos-art-preview .art-preview-img {
  width: 100%;
  max-width: 460px;
  max-height: 260px;
  border-radius: 14px;
  object-fit: cover;
  display: none;
}
.datos-art-preview .art-preview-img.show {
  display: block;
}
.datos-art-preview .edit-float {
  position: relative;
  background: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  z-index: 2;
}
.datos-art-preview .edit-float-camera {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.datos-art-preview .edit-float-gallery {
  background: var(--primary);
}
.datos-art-preview .foto-input {
  display: none;
}
.foto-status {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin: -6px 0 18px;
}
.is-hidden {
  display: none !important;
}

.datos-title {
  font-family: "Fredoka", sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 6px;
}
.datos-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
  line-height: 1.4;
}

.field-group {
  margin-bottom: 18px;
}

/* center form and provide visible area */
#datos-content {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 10px;
}
.field-label {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.field-input {
  width: 100%;
  background: var(--card);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  outline: none;
}
.field-input:focus {
  box-shadow: 0 0 0 2px var(--primary);
}
.field-input::placeholder {
  color: #bbb;
}

.field-err {
  min-height: 18px;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--red);
}

.vamos-btn {
  display: inline-block;
  text-decoration: none;
  width: 100%;
  text-align: center;
  background: var(--primary);
  border: none;
  border-radius: 50px;
  padding: 18px;
  font-family: "Fredoka", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-right: 0;
  flex-shrink: 0;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.back-btn:hover,
.back-btn:focus-visible {
  transform: translateY(-50%) translateX(-1px);
}

/* Ensure button isn't overlapped by bottom nav on small screens */
@media (max-width: 520px) {
  .photo-actions {
    right: 10px;
    bottom: 10px;
  }

  .datos-art-preview .edit-float {
    width: 40px;
    height: 40px;
  }

  .vamos-btn {
    margin-bottom: 26px;
    padding: 14px;
    font-size: 20px;
  }
}
