/* ==========================================================================
   aboutPage Component Styles
   About / Profile Page Layout matching reference UI:
   - Header & Subtitle
   - Profile Picture with Tip Banner
   - Personal Information List (Name, Headline, About me, Email, Phone Number)
   - Achievements Grid & "+ Add Achievement" link
   - Certificates Grid & "+ Add Certificate" link
   - Intact Series of Form Cards
   - Bottom Log Out button
   ========================================================================== */

/* Main Container */
.about-page-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 24px;
}

/* Page Top Header */
.about-main-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.about-main-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  margin: 0;
}

.about-main-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
}

/* Profile Picture Section */
.about-pic-section {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
}

.about-avatar-wrapper {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.about-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #e2e8f0;
  background-color: #f1f5f9;
}

.about-avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s ease, transform 0.1s ease;
  outline: none;
}

.about-avatar-edit-btn:hover {
  background-color: #f8fafc;
  color: #111827;
}

.about-pic-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.about-pic-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.about-pic-sub {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

.about-tip-banner {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 6px;
  width: 100%;
  box-sizing: border-box;
}

.about-tip-icon {
  display: flex;
  align-items: center;
  margin-top: 1px;
  flex-shrink: 0;
}

.about-tip-text {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.35;
}

/* Personal Information Rows List */
.about-info-list {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.about-info-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 14px;
  border-bottom: 1px solid #f3f4f6;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

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

.about-info-label {
  width: 95px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-info-value {
  flex: 1;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.4;
  word-break: break-word;
}

.about-info-edit-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
  outline: none;
}

.about-info-edit-btn:hover {
  color: #111827;
  background-color: #f3f4f6;
}

/* Section Header Rows (Achievements & Certificates) */
.about-ach-section,
.about-cert-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  width: 100%;
}

.about-sec-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.about-sec-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-sec-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.about-sec-sub {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
}

.about-sec-add-btn {
  background: none;
  border: none;
  color: var(--color-primary, #5170FF);
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  outline: none;
}

.about-sec-add-btn:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Feature Cards 2-Column Grid (Achievements & Certificates) */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.about-feature-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
  width: 100%;
}

.about-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.about-card-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #374151;
}

/* Shield Badge Graphic Container */
.about-shield-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.about-shield-badge-svg {
  display: block;
  user-select: none;
}

.about-card-menu-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
  outline: none;
}

.about-card-menu-btn:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.about-card-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  margin: 2px 0 0 0;
  line-height: 1.3;
}

.about-card-sub,
.about-card-issuer {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10.5px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.35;
}

.about-card-date {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 400;
  color: #9ca3af;
  margin-top: auto;
  padding-top: 2px;
}

/* Intact Series of Forms Container */
.about-forms-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}

.about-page-section-header {
  text-align: left;
  margin-bottom: 2px;
}

.about-page-section-title {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 2px 0;
}

.about-page-section-subtitle {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
}

.about-forms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* Bottom Log Out Section */
.about-logout-wrapper {
  margin-top: 14px;
  width: 100%;
}

.about-logout-btn {
  width: 100%;
  height: 42px;
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #dc2626;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.about-logout-btn:hover {
  background-color: #fee2e2;
  border-color: #f87171;
}

.about-logout-btn:active {
  transform: scale(0.99);
  background-color: #fecaca;
}
