/* Reset & base */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9fafb;
  margin: 0;
  padding: 0;
  color: #1f2937;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Container */
.container {
  max-width: 720px;
  margin: 60px auto;
  padding: 24px;
}

/* Profile Card */
.profile-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  padding: 40px 32px;
  transition: box-shadow 0.3s ease;
}

/* Header with Avatar */
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #e5e7eb;
  border: 4px solid #FA5000;
}

.profile-name {
  font-size: 26px;
  font-weight: 600;
  color: #2d3748;
}

/* Info Display */
.profile-info {
  margin-top: 24px;
}

.info-item {
  background-color: #f3f4f6;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.info-item:hover {
  background-color: #eef1f6;
}

.info-label {
  font-weight: 600;
  color: #6b7280;
  font-size: 15px;
}

.info-value {
  font-weight: 500;
  color: #111827;
  font-size: 15px;
  text-align: right;
}

/* Input Field Style */
.info-input {
  width: 80%;
  padding: 12px 16px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #111827;
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: right;
}

.info-input:focus {
  border-color: #FA5000;
  outline: none;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

/* Buttons */
.edit-button {
  margin-top: 32px;
  text-align: right;
}

.edit-button a,
.edit-button button {
  background-color: #FA5000;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25);
  transition: all 0.3s ease;
}

.edit-button a:hover,
.edit-button button:hover {
  background-color: #FB6A26;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 133, 51, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  .profile-card {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .avatar {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 22px;
  }

  .info-item {
    padding: 16px 16px;
  }

  .info-label {
    font-size: 14px;
  }

.info-value {
  width: 100%;
}

.info-input {
  width: 90%;
  max-width: calc(100% - 4px); /* 預留 border/padding 空間 */
  text-align: right;
}

  .edit-button {
    margin-top: 24px;
  }

  .edit-button button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}
