/* ========== Trang Thông Tin Của Tôi ========== */
.page-info {
  background: linear-gradient(180deg, #1a2d42 0%, #2d4a6f 25%, #1e3d2a 70%, #0f2618 100%);
  min-height: 100vh;
}

.info-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Nền bokeh + 2026 */
.info-bg {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 40% 50%, rgba(251, 191, 36, 0.15) 0%, transparent 45%),
              radial-gradient(circle at 70% 75%, rgba(34, 197, 94, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 20% 85%, rgba(120, 80, 40, 0.1) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.info-year {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(251, 191, 36, 0.22);
  letter-spacing: 0.08em;
  text-shadow: 0 0 40px rgba(251, 191, 36, 0.15);
  user-select: none;
}

/* Thanh tiêu đề */
.info-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(8px);
}

.info-back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
}

.info-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.info-header-placeholder {
  width: 40px;
}

/* Danh sách mục thông tin */
.info-list {
  position: relative;
  z-index: 1;
  margin: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 56px;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.info-item-name {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.info-item-status {
  font-size: 0.8rem;
  color: #22c55e;
  font-weight: 600;
  margin-right: 8px;
}

.info-item-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* Form 4 mục điền thông tin */
.info-item--field {
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 16px;
}
.info-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #1f2937;
  box-sizing: border-box;
}
.info-input:focus {
  outline: none;
  border-color: #2563eb;
}
.info-item-status--empty {
  color: #94a3b8;
  font-weight: 500;
}
.info-item-status--done {
  color: #22c55e;
  font-weight: 600;
}
.info-form-actions {
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.info-btn-save {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.info-btn-save:hover {
  opacity: 0.95;
}
.info-btn-save:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.info-btn-edit {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #2563eb;
  border-radius: 10px;
  background: #fff;
  color: #2563eb;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.info-btn-edit:hover {
  background: #eff6ff;
}
.info-input[readonly] {
  background: #f1f5f9;
  color: #475569;
}

/* Ô ảnh CCCD / selfie */
.info-item--photo .info-item-body {
  width: 100%;
}
.info-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3/2;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-photo-preview {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.85rem;
  padding: 12px;
}
.info-photo-placeholder i {
  font-size: 1.5rem;
}
.info-item--photo .info-file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.info-item--photo .info-photo-wrap {
  cursor: pointer;
}
