:root {
  --color-bg: #ecf5fd;
  --color-container-bg: #f8fbff;
  --color-accent: #3178c6;
  --color-text-strong: #193055;
  --color-text-weak: #5d6e85;
  --font: Arial, sans-serif;
}

body {
  background-color: var(--color-bg);
  font-family: var(--font);
}

.container {
  width: 70%;
  height: auto;
  background-color: var(--color-container-bg);
  margin: 60px auto;
  border: 1px solid #d2e6ee;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 #d3e5f3;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    margin: 0;
  }
  .profile-info {
    width: 100%;
  }
}

.toggle-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.back-link {
  display: inline-block;
  color: var(--color-accent);
  text-decoration: none;
  font-weight: bold;
  background: linear-gradient(90deg, #e3f1ff 95%, transparent 100%);
  border-radius: 4px;
  padding: 3px 10px;
}

.back-link:hover {
  text-decoration: underline;
  background-color: #c0e2fa;
}

.profile-card {
  padding: 32px;
  border-bottom: 1px solid #e0eaf3;
  display: flex;
  gap: 24px;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
}

.profile-photo {
  width: 200px;
  height: 260px;
  border-radius: 10px;
  object-fit: cover;
  display: inline-block;
  margin-right: 32px;
  border: 3px solid #aac6e6;
  box-shadow: 0px 2px 16px #e4edf8;
  background-color: #f8fbff;
}

.profile-info {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 232px);
}

.profile-info h2 {
  margin-top: 0;
  color: var(--color-text-strong);
  font-size: 24px;
}

.profile-info p {
  margin-top: 0;
  color: var(--color-text-weak);
  font-size: 16px;
  line-height: 145%;
}

.section {
  padding: 32px;
}

.section h3 {
  margin-top: 0;
  color: var(--color-text-strong);
  font-size: 18px;
}

.section p {
  margin-top: 0;
  color: var(--color-text-weak);
  font-size: 14px;
  line-height: 145%;
}

.role-box {
  width: 100%;
  background-color: #e3f0fa;
  height: auto;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #cde0ef;
}

.role-box h3 {
  margin-top: 0;
  color: var(--color-text-strong);
  font-size: 16px;
}

.role-box p {
  margin-top: 0;
  color: var(--color-text-weak);
  font-size: 14px;
  line-height: 145%;
}
