.doc-tasy-profile-page {
  background: #f5f6fb;
  box-sizing: border-box;
  min-height: calc(100vh - 8rem);
  padding: 2rem 2.5rem 3rem;
}

.doc-tasy-profile-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.doc-tasy-profile-header h1 {
  color: #1f1f1f;
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}

.doc-tasy-profile-header p,
.doc-tasy-profile-muted {
  color: #555;
  margin: 0.35rem 0 0;
}

.doc-tasy-profile-panel {
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 1rem;
}

.doc-tasy-profile-panel h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
}

.doc-tasy-profile-card {
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: auto minmax(0, 1fr);
}

.doc-tasy-profile-avatar {
  align-items: center;
  background: linear-gradient(135deg, #0f766e, #134e4a);
  border-radius: 999px;
  color: #fff;
  display: flex;
  font-size: 2.4rem;
  font-weight: 800;
  height: 8rem;
  justify-content: center;
  overflow: hidden;
  width: 8rem;
}

.doc-tasy-profile-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.doc-tasy-profile-card-body h2 {
  margin-bottom: 0.35rem;
}

.doc-tasy-profile-details {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin: 1rem 0 0;
}

.doc-tasy-profile-details div {
  background: #f7f8fb;
  border: 1px solid #e1e5ee;
  border-radius: 4px;
  padding: 0.75rem;
}

.doc-tasy-profile-details dt {
  color: #606a78;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.doc-tasy-profile-details dd {
  margin: 0;
}

.doc-tasy-profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.doc-tasy-profile-wide {
  grid-column: 1 / -1;
}

.doc-tasy-profile-field {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 0.35rem;
}

.doc-tasy-profile-field input,
.doc-tasy-profile-field select,
.doc-tasy-profile-field textarea {
  border: 1px solid #b9c0cc;
  border-radius: 4px;
  font: inherit;
  min-height: 2.5rem;
  padding: 0.5rem;
}

.doc-tasy-profile-field textarea {
  min-height: 6rem;
  resize: vertical;
}

.doc-tasy-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.doc-tasy-profile-button,
.doc-tasy-profile-link {
  align-items: center;
  background: #1473e6;
  border: 1px solid #1473e6;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.doc-tasy-profile-link {
  background: #fff;
  color: #1473e6;
}

.doc-tasy-profile-file {
  overflow: hidden;
  position: relative;
}

.doc-tasy-profile-file input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.doc-tasy-profile-button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

.doc-tasy-profile-row {
  border-top: 1px solid #e3e6ee;
  padding: 0.9rem 0;
  white-space: pre-wrap;
}

.doc-tasy-profile-row:first-child {
  border-top: 0;
}

.doc-tasy-profile-row-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.doc-tasy-profile-error {
  background: #fff4f2;
  border: 1px solid #f2b8ad;
  border-radius: 4px;
  color: #7a1f12;
  margin-bottom: 1rem;
  padding: 1rem;
}

.doc-tasy-profile-feedback {
  border-radius: 4px;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
}

.doc-tasy-profile-feedback.is-info {
  background: #eef4ff;
  border: 1px solid #b8cdfa;
  color: #173b74;
}

.doc-tasy-profile-feedback.is-success {
  background: #eef9f2;
  border: 1px solid #9bd6ac;
  color: #1d5f2f;
}

.doc-tasy-profile-feedback.is-error {
  background: #fff4f2;
  border: 1px solid #f2b8ad;
  color: #7a1f12;
}

@media (max-width: 720px) {
  .doc-tasy-profile-page {
    padding: 1.25rem;
  }

  .doc-tasy-profile-header,
  .doc-tasy-profile-row-head {
    display: block;
  }

  .doc-tasy-profile-card {
    grid-template-columns: 1fr;
  }

  .doc-tasy-profile-avatar {
    height: 6.5rem;
    width: 6.5rem;
  }

  .doc-tasy-profile-actions {
    margin-top: 0.75rem;
  }
}
