body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

#explore-multiple-pathways-1 {
  --primary-blue: #003366;
  --primary-orange: #d35400;
  --primary-pink: #d62464;
  --light-orange-bg: #fff5ee;
  --border-grey: #ccc;
  --error-red: #d32f2f;

  min-height: 100vh;
  display: flex;
  flex-direction: column;

  header,
  footer {
    flex-shrink: 0;
  }

  .content {
    flex: 1;
    padding: 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
  }

  .intro-text {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .link-text {
    color: var(--primary-blue);
    font-size: 18px;
    margin-bottom: 20px;
  }

  .link-text a {
    color: var(--primary-blue);
    font-weight: bold;
  }

  .plan-section {
    margin-bottom: 15px;
  }

  .plan-label {
    color: var(--primary-pink);
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 6px;
    display: block;
  }

  .input-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
  }

  .input-container {
    flex: 1;
    position: relative;
    z-index: 1;
  }

  .textarea-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-right: 10px;
  }

  textarea {
    flex: 1;
    border: none;
    resize: none;
    outline: none;
    font-family: inherit;
    font-size: 16px;
    color: #555;
    padding: 10px;
    padding-bottom: 0;
    background: transparent;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
  }

  textarea::placeholder {
    color: #aaa;
  }

  .char-counter {
    position: absolute;
    bottom: 5px;
    right: 15px;
    font-size: 13px;
    color: #666;
    font-weight: bold;
    display: none;
    z-index: 6;
  }

  .char-counter.is-focused {
    display: block;
  }

  .char-counter.limit-reached {
    color: var(--error-red);
  }

  .example-box {
    width: 300px;
    position: absolute;
    right: 10px;
    top: 0;

    height: auto;
    min-height: 80px;
    border: 2px solid var(--primary-orange);
    border-radius: 10px;
    padding: 12px;
    background-color: var(--light-orange-bg);
    font-size: 13px;
    color: black;
    display: none;
    align-items: flex-start;
    gap: 8px;
    box-sizing: border-box;
    z-index: 20;
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
  }

  .example-box.active {
    display: flex !important;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateX(10px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .example-icon {
    color: var(--primary-orange);
    font-size: 18px;
    margin-top: 2px;
    width: 20px;
    height: 20px;
  }

  .example-content strong {
    display: block;
    margin-bottom: 4px;
  }

  .close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
  }

  .close-btn:hover {
    color: #a04000;
  }

  .tips-btn {
    display: inline-block;
    cursor: pointer;
    line-height: 0;
    transition: transform 0.2s ease;
    user-select: none;
  }

  .tips-btn img {
    width: 45px;
    height: 45px;
    display: block;
    object-fit: contain;
  }

  .tips-btn:hover {
    filter: brightness(1.1);
  }

  .tips-btn:active {
    transform: scale(0.92);
  }

  textarea[class^="answer-"] {
    width: 100%;
    height: 80px;
    border: 2px solid var(--border-grey);
    border-radius: 10px;
    padding: 10px;
    font-family: inherit;
    resize: none;
    box-sizing: border-box;
    outline: none;
    transition:
      border-color 0.2s,
      background-color 0.2s;
  }

  textarea[class^="answer-"].error {
    border-color: var(--error-red);
    background-color: #fff8f8;
  }

  .footer-action-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 40px 0;
    width: 100%;
  }

  .error-msg {
    color: var(--error-red);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #ffeded;
    border: 1px solid var(--error-red);
    border-radius: 8px;
    display: none;
    width: fit-content;
  }

  .continue-btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 15px 80px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.1s ease;
  }

  .continue-btn:active {
    transform: scale(0.98);
  }
}
