@import url('https://fonts.googleapis.com/css2?family=Futura+PT&display=swap');

    body {
      font-family: 'Futura PT', sans-serif;
      margin: 0;
      background: #f7f6fa;
    }

    #ascend-chat-bubble {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background:#1d1321;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      cursor: pointer;
      z-index: 10000;
    }

    #ascend-chat-bubble svg {
      width: 28px;
      height: 28px;
      fill: white;
    }

    #ascend-chat-widget {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 400px;
      height: 500px;
      border: 1px solid #ccc;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      background: #f7f6fa;
      display: none;
      flex-direction: column;
      overflow: hidden;
      z-index: 9999;
    }

    #ascend-chat-header {
      background: #f1eff6;
      color: #272727;
      padding: 10px 12px;
      font-size: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    #ascend-chat-header .icons {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    #ascend-chat-close, #ascend-chat-restart {
      cursor: pointer;
      font-size: 20px;
      font-weight: 400;
      background: none;
      border: none;
      color: #555;
    }

    #ascend-chat-restart svg,
    #ascend-chat-restart img
     {
      width: 14px;
      height: 14px;
      fill: #5C5366;
    }

    #ascend-chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 10px;
      display: flex;
      flex-direction: column;
    }

    .ascend-chat-msg-wrapper {
      display: flex;
      align-items: center;
      margin: 10px 0;
    }

    .ascend-avatar-img {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      overflow: hidden;
      margin-right: 8px;
      flex-shrink: 0;
    }

    .ascend-avatar-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .ascend-chat-content {
      display: flex;
      flex-direction: column;
    }

    .ascend-bot-meta {
      font-size: 12px;
      color: #666;
      margin-bottom: 2px;
      font-weight: 500;
    }

    .ascend-chat-msg {
      line-height: 1.5;
      padding: 8px 12px;
      border-radius: 12px;
      max-width: 90%;
      margin: 5px 0;
      font-size: 16px;
      color: #272727;
      background: #ffffff;
    }
    .ascend-chat-msg p {
      font-size: 16px;
      line-height: 1.5;
    }
    .ascend-chat-msg.user {
      align-self: flex-end;
      margin-left: auto;
      background: #e0dcf0;
      color: #272727;
    }

    .ascend-chat-msg ul {
      margin: 0.5em 0;
      list-style: disc;
      padding-left: 20px;
    }

    .ascend-chat-msg li {
      margin-bottom: 4px;
    }

    .typing-indicator {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #999;
      padding: 10px;
      font-size: 16px;
    }

    .typing-indicator .spinner {
      width: 16px;
      height: 16px;
      border: 3px solid #ccc;
      border-top: 3px solid #5C5366;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    #ascend-chat-input {
      display: flex;
      align-items: center;
      border-top: 1px solid #ddd;
      height: 56px;
      background: white;
    }

    #ascend-user-input {
      flex: 1;
      padding: 10px;
      border: none;
      font-size: 16px;
      height: 100%;
    }

    #ascend-user-input:disabled {
      background: #f4f4f4;
      cursor: not-allowed;
    }

    #ascend-chat-input button {
      width: 56px;
      height: 100%;
      background: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #ascend-chat-input button svg {
      width: 20px;
      height: 20px;
      fill: #5C5366;
    }
    #ascend-free-class-form {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 400px;
      height: 500px;
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      display: none;
      z-index: 10001;
      overflow-y: auto;
      padding-top: 40px;
    }
.ascend-chat-msg:has(.wpcf7-form) {
        max-width: 100%;
        padding: 15px;
        position: relative;
}
.ascend-chat-msg:has(.wpcf7-form) label.form-label {
    display: none;
}
.ascend-chat-msg:has(.wpcf7-form) .form-control::placeholder {
    font-size: 14px;
    opacity: 1;
}
.ascend-chat-msg:has(.wpcf7-form) .form-control, .ascend-chat-msg:has(.wpcf7-form) select {
    height: 40px !important;
    width: 100%;
    background-position: right 10px center;
    padding: 5px 15px !important;
    font-size: 14px;
    margin: 5px 0px;
}
.ascend-chat-msg:has(.wpcf7-form) textarea.form-control {
    height: 95px !important;
    width: 100%;
    resize: none;
}
.ascend-chat-msg:has(.wpcf7-form) .btn {
    line-height: 1;
    height: 40px;
}
.ascend-chat-msg:has(.wpcf7-form) .btn:hover {
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25)!important;
    -webkit-box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25) !important;
}
.ascend-chat-msg:has(.wpcf7-form) .btn {
    padding: 8px 16px;
    background: #5C5366;
    color: white;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
.ascend-chat-msg:has(.wpcf7-form) .form-control::-webkit-input-placeholder {
    color: #8a8a8a !important;
    opacity: 1 !important;
}
.ascend-chat-msg:has(.wpcf7-form) .form-control::-moz-placeholder {
    color: #8a8a8a !important;
    opacity: 1 !important;
}
.ascend-membership-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #e0dcf0;
    color: #272727;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
}

.ascend-membership-btn:hover {
    opacity: 0.9;
    color: #272727;
}

.ascend-chat-msg:has(.wpcf7-form) .btn:hover {
    box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25)!important;
    -webkit-box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.25) !important;
}
.ascend-chat-msg:has(.wpcf7-form) .btn {
    padding: 8px 16px;
    background: #5C5366;
    color: white;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}
    #ascend-free-class-form h3 {
      text-align: center;
      margin-top: 0;
      font-size: 16px;
      background: #f1eff6;
      color: #272727;
      padding: 10px 12px;
      position: absolute;
      top: 0;
      width: 100%;
      border-top-left-radius: 10px;
      border-top-right-radius: 10px;
    }

    #ascend-free-class-form input,
    #ascend-free-class-form select {
      width: calc(100% - 32px);
      margin: 10px 16px 0 16px;
      padding: 8px;
      border-radius: 6px;
      border: 1px solid #ccc;
      font-size: 16px;
    }

    #ascend-free-class-form button[type="submit"] {
      margin: 15px 16px;
      width: calc(100% - 32px);
      padding: 10px;
      background: #5C5366;
      color: white;
      font-weight: bold;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 16px;
    }

    #ascend-free-class-form .close-btn {
      position: absolute;
      top: -6px;
      right: 10px;
      background: none;
      border: none;
      font-size: 20px;
      color: #555;
      cursor: pointer;
      font-weight: bold;
    }

    @media (max-width: 480px) {
      #ascend-chat-widget,
      #ascend-free-class-form {
        width: calc(100% - 40px);
        right: 20px;
        height: 80vh;
      }
    }
/* CTA Animations */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

#ascend-chat-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  animation: bounceIn 0.6s ease-out;
}

#ascend-chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.ascend-close-button {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #3A2F42;
}
#ascend-journey-bar {
  flex-wrap: wrap;
}
button.ascend-journey-chip {
    padding: 8px 16px;
    background: #5C5366;
    color: white;
    margin: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.ascend-chat-msg.bot .wpcf7 form .wpcf7-response-output, 
.ascend-chat-msg.bot .wpcf7 form.invalid .wpcf7-response-output {
  font-size: 12px;
  bottom: 50px;
}
.ascend-chat-msg .ascend-form .wpcf7-form-control-wrap[data-name="check"],
.ascend-chat-msg .ascend-form p {
    margin-bottom: 0 !important;
}
