/*!
 * Alya Business Plan - Main Stylesheet
 * Copyright (c) 2025 LogixGrid Technologies (Canada) Inc.
 * All rights reserved.
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: #fff;
    color: #111827;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Ensure all containers fit within viewport */
  .alya-brd__section {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  .alya-brd__section-content {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  /* ==========================================================================
     Animations & Keyframes
     ========================================================================== */
  
  @keyframes alya-spin {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes alya-fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes alya-typing {
  
    0%,
    60%,
    100% {
      transform: translateY(0);
      opacity: 0.4;
    }
  
    30% {
      transform: translateY(-10px);
      opacity: 1;
    }
  }
  
  /* ==========================================================================
     Admin Navigation
     ========================================================================== */
  
  .alya-admin-nav {
    background-color: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
  }
  
  .alya-admin-nav__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .alya-admin-nav__title {
    font-weight: 600;
    color: #495057;
  }
  
  .alya-admin-nav__links {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .alya-admin-nav__link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .alya-admin-nav__link:hover {
    color: #0056b3;
  }
  
  .alya-admin-nav__welcome {
    color: #6c757d;
  }
  
  /* ==========================================================================
     Sections & Layout
     ========================================================================== */
  
  .alya-section {
    padding: 60px 20px;
    text-align: center;
  }
  
  .alya-section--how-it-works {
    background-color: #00b4b4;
    color: white;
  }
  
  .alya-section__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .alya-section__description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  /* ==========================================================================
     Steps Container
     ========================================================================== */
  
  .alya-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto 0;
    gap: 20px;
  }
  
  .alya-step {
    width: 220px;
    padding: 20px;
    text-align: center;
  }
  
  .alya-step__icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .alya-step__number {
    font-weight: 700;
    color: #00b4b4;
    margin-bottom: 10px;
  }
  
  .alya-step__title {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 600;
  }
  
  .alya-step__description {
    font-size: 14px;
    color: #e2f7f7;
    line-height: 1.5;
  }
  
  /* ==========================================================================
     Onboarding Container
     ========================================================================== */
  
  .alya-onboarding {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .alya-onboarding__logo {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: alya-fadeIn 1s ease-out;
  }
  
  .alya-onboarding__title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 600;
  }
  
  /* ==========================================================================
     Loading Spinner
     ========================================================================== */
  
  .alya-loading {
    display: none;
    text-align: center;
    padding: 20px;
  }
  
  .alya-loading__spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: alya-spin 2s linear infinite;
    margin: 0 auto;
  }
  
  .alya-loading__text {
    margin-top: 10px;
    color: #666;
    font-weight: 500;
  }
  
  /* ==========================================================================
     Error Messages
     ========================================================================== */
  
  .alya-error {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    text-align: left;
  }
  
  .alya-error__icon {
    font-weight: bold;
  }
  
  /* ==========================================================================
     Forms
     ========================================================================== */
  
  .alya-form {
    text-align: left;
  }
  
  .alya-form__group {
    margin-bottom: 20px;
  }
  
  .alya-form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
  }
  
  .alya-form__input,
  .alya-form__select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
  }
  
  .alya-form__input:focus,
  .alya-form__select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  .alya-form__help {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #6c757d;
    font-style: italic;
  }
  
  .alya-form__validation {
    color: #28a745;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
  }
  
  /* ==========================================================================
     Buttons
     ========================================================================== */
  
  .alya-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
  }
  
  .alya-btn--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .alya-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  }
  
  .alya-btn--primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  .alya-btn--full {
    width: 100%;
  }
  
  .alya-btn--large {
    padding: 15px 30px;
    font-size: 18px;
  }
  
  /* ==========================================================================
     reCAPTCHA Container
     ========================================================================== */
  
  .alya-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
  }
  
  /* ==========================================================================
     Business Details Form
     ========================================================================== */
  
  .alya-business-form {
    animation: alya-fadeIn 0.5s ease-in;
    text-align: left;
  }
  
  .alya-business-form__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
  }
  
  .alya-business-form__subtitle {
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
  }
  
  /* Business Steps */
  .alya-business-step {
    text-align: center;
  }
  
  .alya-business-step__title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
  }
  
  /* Business Type Selection */
  .alya-business-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .alya-business-type {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .alya-business-type:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
  }
  
  .alya-business-type--active {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
  }
  
  .alya-business-type--active:hover {
    background-color: #0056b3;
    border-color: #0056b3;
  }
  
  .alya-business-type__text {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
  }
  
  /* Form Actions */
  .alya-form__actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
  }
  
  .alya-form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 100px;
  }
  
  .alya-form__textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  /* Secondary Button */
  .alya-btn--secondary {
    background: #6c757d;
    color: white;
  }
  
  .alya-btn--secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
  }
  
  .alya-btn--secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  /* ==========================================================================
     Chat Interface - New Design
     ========================================================================== */
  
  .alya-chat-new {
    height: 100vh;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
  }
  
  .alya-chat-new__container {
    display: flex;
    height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  /* Left Panel - Chat */
  .alya-chat-new__left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e1e5e9;
    max-width: 800px;
    min-width: 400px;
    position: relative;
  }
  
  .alya-chat-new__header {
    padding: 30px;
    border-bottom: 1px solid #e1e5e9;
    background: white;
  }
  
  .alya-chat-new__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
  }
  
  .alya-chat-new__subtitle {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .alya-chat-new__assistant-info {
    display: inline-block;
  }
  
  .alya-chat-new__assistant-label {
    background: #f1f3f4;
    color: #5f6368;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
  }
  
  /* Chat Messages */
  .alya-chat-new__messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    background: #fafbfc;
  }
  
  .alya-message {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  
  .alya-message--bot {
    justify-content: flex-start;
  }
  
  .alya-message--user {
    justify-content: flex-end;
  }
  
  .alya-message__avatar {
    margin-right: 12px;
    flex-shrink: 0;
  }
  
  .alya-message__avatar-circle {
    width: 36px;
    height: 36px;
    background: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .alya-message__content {
    max-width: 80%;
  }
  
  .alya-message__bubble {
    background: white;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--user .alya-message__bubble {
    background: #f8f9fa;
    color: #333;
    border-color: #e1e5e9;
  }
  
  .alya-message__greeting {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.05rem;
  }
  
  .alya-message__bubble p {
    margin: 0 0 12px 0;
    line-height: 1.5;
  }
  
  .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* Chat Instruction */
  .alya-chat-new__instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    margin: 20px 0;
    background: #f8f9fa;
    border-radius: 12px;
    color: #666;
    font-size: 0.9rem;
  }
  
  .alya-chat-new__instruction-icon {
    margin-right: 8px;
    color: #999;
  }
  
  /* Typing Indicator */
  .alya-typing {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }
  
  .alya-typing__content {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid #e1e5e9;
    margin-left: 12px;
  }
  
  .alya-typing__dots {
    display: flex;
    gap: 4px;
  }
  
  .alya-typing__dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: alya-typing 1.4s infinite;
  }
  
  .alya-typing__dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .alya-typing__dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  /* Chat Input */
  .alya-chat-new__input-container {
    padding: 20px 30px;
    border-top: 1px solid #e1e5e9;
    background: white;
  }
  
  .alya-chat-new__input-wrapper {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 4px;
    border: 1px solid #e1e5e9;
  }
  
  .alya-chat-new__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
  }
  
  .alya-chat-new__input::placeholder {
    color: #999;
  }
  
  .alya-chat-new__send-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .alya-chat-new__send-btn:hover {
    background: #0056b3;
  }
  
  /* Resizable Divider */
  .alya-chat-new__resizer {
    width: 5px;
    background: #e1e5e9;
    cursor: col-resize;
    position: relative;
    transition: background-color 0.2s ease;
  }
  
  .alya-chat-new__resizer:hover {
    background: #007bff;
  }
  
  .alya-chat-new__resizer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 30px;
    background: #ccc;
    border-radius: 2px;
  }
  
  .alya-chat-new__resizer:hover::before {
    background: white;
  }
  
  /* Right Panel - Process Flow */
  .alya-chat-new__right-panel {
    flex: 1;
    padding: 30px;
    background: #fafbfc;
    overflow-y: auto;
    min-width: 400px;
    max-width: 800px;
  }
  
  .alya-chat-new__status-badge {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .alya-chat-new__status-text {
    font-size: 0.9rem;
    color: #666;
  }
  
  .alya-chat-new__status-highlight {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
  }
  
  .alya-chat-new__flow-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  
  .alya-chat-new__process-flow {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .alya-chat-new__flow-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
  }
  
  /* Process Steps */
  .alya-process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
  }
  
  .alya-process-step--last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .alya-process-step::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 45px;
    bottom: -20px;
    width: 2px;
    background: #e1e5e9;
  }
  
  .alya-process-step--last::before {
    display: none;
  }
  
  .alya-process-step__icon {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
    background: white;
  }
  
  .alya-process-step__content {
    flex: 1;
    padding-top: 2px;
  }
  
  .alya-process-step__title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
  }
  
  .alya-process-step__description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
  }
  
  /* ==========================================================================
     Chat Interface - Legacy (keeping for backward compatibility)
     ========================================================================== */
  
  .alya-chat {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  
  .alya-chat__container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  }
  
  /* Chat Header */
  .alya-chat__header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .alya-chat__header-left {
    display: flex;
    align-items: center;
  }
  
  .alya-chat__avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    color: white;
  }
  
  .alya-chat__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
  }
  
  .alya-chat__subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
  }
  
  .alya-chat__user-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
  }
  
  .alya-chat__user-info i {
    margin-right: 5px;
  }
  
  /* Chat Messages */
  .alya-chat__messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
  }
  
  .alya-message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
  }
  
  .alya-message--user {
    flex-direction: row-reverse;
  }
  
  .alya-message__avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin: 0 10px;
    flex-shrink: 0;
  }
  
  .alya-message--bot .alya-message__avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .alya-message--user .alya-message__avatar {
    background: #007bff;
    color: white;
  }
  
  .alya-message__content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
  }
  /*
  .alya-message--bot .alya-message__content {
    
    background: white;
    color: #333;
    border: 1px solid #e1e5e9;
    
    }
  */
  
  .alya-message--user .alya-message__content {
    /* background: #007bff; */
    color: white;
  }
  
  .alya-message__time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
  }
  
  /* Chat Input */
  .alya-chat__input-container {
    padding: 20px;
    background: white;
    border-top: 1px solid #e1e5e9;
  }
  
  .alya-chat__input-form {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .alya-chat__input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
  }
  
  .alya-chat__input:focus {
    border-color: #007bff;
  }
  
  .alya-chat__send-btn {
    width: 45px;
    height: 45px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .alya-chat__send-btn:hover {
    background: #0056b3;
    transform: scale(1.05);
  }
  
  .alya-chat__send-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
  }
  
  /* Welcome Message */
  .alya-welcome {
    text-align: center;
    padding: 40px 20px;
    color: #666;
  }
  
  .alya-welcome__title {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
  }
  
  .alya-welcome__list {
    text-align: left;
    display: inline-block;
    margin-top: 10px;
  }
  
  /* Typing Indicator */
  .alya-typing {
    display: none;
    align-items: center;
    padding: 10px 16px;
    background: white;
    border-radius: 18px;
    margin-left: 45px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e9;
  }
  
  .alya-typing__dots {
    display: flex;
    gap: 4px;
  }
  
  .alya-typing__dot {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: alya-typing 1.4s infinite;
  }
  
  .alya-typing__dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  
  .alya-typing__dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  .alya-typing__text {
    margin-left: 10px;
    font-size: 14px;
    color: #666;
  }
  
  /* ==========================================================================
     Footer
     ========================================================================== */
  
  .alya-footer {
    background: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
  }
  
  .alya-footer__title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .alya-footer__description {
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
  }
  
  .alya-footer__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .alya-footer__logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .alya-footer__logo:hover {
    opacity: 1;
  }
  
  /* ==========================================================================
     Responsive Design
     ========================================================================== */
  
  @media (max-width: 768px) {
    .alya-section__title {
      font-size: 2rem;
    }
  
    .alya-steps {
      flex-direction: column;
      align-items: center;
    }
  
    .alya-step {
      width: 100%;
      max-width: 300px;
    }
  
    .alya-onboarding {
      margin: 20px;
      padding: 30px 20px;
    }
  
    .alya-onboarding__title {
      font-size: 1.5rem;
    }
  
    .alya-business-form {
      padding: 0 10px;
    }
  
    .alya-form__input,
    .alya-form__select {
      font-size: 16px;
      /* Prevents zoom on iOS */
    }
  
    .alya-business-types {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 10px;
    }
  
    .alya-business-type {
      padding: 12px 20px;
      min-height: 50px;
    }
  
    .alya-business-step__title {
      font-size: 1.5rem;
    }
  
    .alya-form__actions {
      flex-direction: column;
      gap: 10px;
    }
  
    .alya-form__actions .alya-btn {
      width: 100%;
    }
  
    .alya-chat__container {
      height: 100vh;
    }
  
    .alya-message__content {
      max-width: 85%;
    }
  
    .alya-chat__header {
      padding: 12px 15px;
    }
  
    .alya-chat__title {
      font-size: 16px;
    }
  
    .alya-chat__user-info {
      display: none;
    }
  
    .alya-footer__logos {
      gap: 20px;
    }
  
    .alya-footer__logo {
      height: 30px;
    }
  }
  
  @media (max-width: 480px) {
    .alya-onboarding {
      margin: 10px;
      padding: 20px 15px;
    }
  
    .alya-btn {
      padding: 14px 20px;
      font-size: 16px;
    }
  
    /* New Chat Interface Responsive */
    .alya-chat-new__container {
      flex-direction: column;
      height: 100vh;
    }
  
    .alya-chat-new__left-panel {
      max-width: none;
      flex: 1;
    }
  
    .alya-chat-new__right-panel {
      min-width: auto;
      max-height: 40vh;
      border-right: none;
      border-top: 1px solid #e1e5e9;
    }
  
    .alya-chat-new__header {
      padding: 20px;
    }
  
    .alya-chat-new__title {
      font-size: 1.3rem;
    }
  
    .alya-chat-new__messages {
      padding: 15px 20px;
    }
  
    .alya-chat-new__input-container {
      padding: 15px 20px;
    }
  
    .alya-message__content {
      max-width: 90%;
    }
  
    .alya-process-step {
      margin-bottom: 15px;
      padding-bottom: 15px;
    }
  
    .alya-process-step__title {
      font-size: 0.95rem;
    }
  
    .alya-process-step__description {
      font-size: 0.85rem;
    }
  
    .alya-chat-new__flow-title {
      font-size: 1.1rem;
    }
  
    .alya-chat-new__process-flow {
      padding: 20px;
    }
  
    .alya-chat-new__right-panel {
      padding: 20px;
    }
  }
  
  /* ==========================================================================
     Interesting Fact Display
     ========================================================================== */
  
  .alya-interesting-fact {
    margin: 20px 0;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-left: 4px solid #8b5cf6;
    border-radius: 8px;
    animation: alya-fadeIn 0.5s ease-out;
  }
  
  .alya-interesting-fact__content {
    color: #7c3aed;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
  }
  
  .alya-interesting-fact__content::before {
    content: "💡 ";
    margin-right: 8px;
  }
  
  /* ==========================================================================
     Alpine.js + HTMX Chat Enhancements
     ========================================================================== */
  
  .alya-chat-new__send-btn--loading {
    opacity: 0.7;
    cursor: not-allowed;
  }
  
  .alya-chat-new__send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #ccc;
  }
  
  .alya-chat-new__input:disabled {
    opacity: 0.7;
    background-color: #f5f5f5;
    cursor: not-allowed;
  }
  
  .alya-message--user {
    justify-content: flex-end;
  }
  
  .alya-message--user .alya-message__bubble {
    background: #f8f9fa;
    color: #333;
    border-color: #e1e5e9;
    margin-left: auto;
  }
  
  .alya-message--user .alya-message__avatar {
    order: 2;
    margin-left: 12px;
    margin-right: 0;
  }
  
  .alya-message--user .alya-message__content {
    order: 1;
    text-align: right;
  }
  
  .alya-message__time {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    opacity: 0.7;
  }
  
  .alya-message--user .alya-message__time {
    color: #666;
  }
  
  /* Alpine.js transitions */
  [x-cloak] {
    display: none !important;
  }
  
  .alya-typing {
    animation: alya-fadeIn 0.3s ease-out;
  }
  
  /* HTMX loading indicators */
  .htmx-request .alya-chat-new__send-btn {
    opacity: 0.7;
  }
  
  .htmx-request .alya-chat-new__input {
    opacity: 0.7;
  }
  
  /* ==========================================================================
     Chat Message Chips
     ========================================================================== */
  
  .alya-message__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 5px;
  }
  
  .alya-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-blueprint);
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
  }
  
  .alya-chip:hover {
    background: var(--accent-teal);
    color: white;
    border-color: var(--accent-teal);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(50, 155, 163, 0.2);
  }
  
  .alya-chip:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.3);
  }
  
  .alya-chip:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
  }
  
  /* ==========================================================================
     Greeting Message Styles
     ========================================================================== */
  
  .alya-greeting {
    margin-bottom: 20px;
  }
  
  .alya-greeting__time {
    background: #f0f4f8;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #334155;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #64748b;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  
  .alya-greeting__intro {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
  }
  
  .alya-greeting__intro p {
    margin-bottom: 12px;
  }
  
  .alya-greeting__intro ul {
    margin: 10px 0 10px 20px;
    padding: 0;
  }
  
  .alya-greeting__intro li {
    margin-bottom: 6px;
  }
  
  /* ==========================================================================
     Chat Message Types - Question, Answer, Query/Regular
     ========================================================================== */
  
  /* Question Message - AI asking a question */
  .alya-message--question .alya-message__bubble {
    /*background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%);
    border: 1px solid #b3d9e8;
    border-left: 4px solid #0ea5e9;
    color: #0c4a6e;
    */
    position: relative;
  }
  
  .alya-message--question .alya-message__bubble::before {
    content: "❓";
    position: absolute;
    top: -8px;
    right: 12px;
    /*background: #0ea5e9;*/
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--question .alya-message__content {
    max-width: 85%;
  }
  
  .alya-message--question .alya-message__bubble p {
    font-weight: 500;
    margin-bottom: 8px;
  }
  
  .alya-message--question .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* Answer Message - AI providing detailed answers/information */
  .alya-message--answer .alya-message__bubble {
    /*
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    color: #14532d;
    */
    position: relative;
  }
  
  .alya-message--answer .alya-message__bubble::before {
    content: "💡";
    position: absolute;
    top: -8px;
    right: 12px;
    /*background: #22c55e;*/
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--answer .alya-message__content {
    max-width: 90%;
  }
  
  .alya-message--answer .alya-message__bubble h3,
  .alya-message--answer .alya-message__bubble h4 {
    /*color: #15803d;*/
    margin: 12px 0 8px 0;
    font-size: 1.1em;
  }
  
  .alya-message--answer .alya-message__bubble ul {
    margin: 8px 0 8px 20px;
    padding: 0;
  }
  
  .alya-message--answer .alya-message__bubble li {
    margin-bottom: 4px;
    line-height: 1.5;
  }
  
  .alya-message--answer .alya-message__bubble strong {
    /*color: #15803d;*/
  }
  
  /* Query/Regular Message - Standard conversational responses */
  .alya-message--query .alya-message__bubble {
    background: white;
    border: 1px solid #e1e5e9;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--query .alya-message__content {
    max-width: 80%;
  }
  
  .alya-message--query .alya-message__bubble p {
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  .alya-message--query .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* User Messages - Keep existing styling but ensure consistency */
  .alya-message--user .alya-message__bubble {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  /* Avatar styling for different message types */
  .alya-message--question .alya-message__avatar-circle {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
  }
  
  .alya-message--answer .alya-message__avatar-circle {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
  }
  
  .alya-message--query .alya-message__avatar-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  /* Chips styling for different message types */
  .alya-message--question .alya-chip {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0c4a6e;
  }
  
  .alya-message--question .alya-chip:hover {
    background: #0ea5e9;
    color: white;
  }
  
  .alya-message--answer .alya-chip {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #14532d;
  }
  
  .alya-message--answer .alya-chip:hover {
    background: #22c55e;
    color: white;
  }
  
  .alya-message--query .alya-chip {
    background: #f8f9fa;
    border-color: #e1e5e9;
    color: #495057;
  }
  
  .alya-message--query .alya-chip:hover {
    background: #007bff;
    color: white;
  }
  
  /* ==========================================================================
     Greeting Message Styles
     ========================================================================== */
  
  .alya-greeting {
    margin-bottom: 20px;
  }
  
  .alya-greeting__time {
    background: #f0f4f8;
    padding: 12px 20px;
    border-radius: 12px;
    font-family: 'Georgia', serif;
    font-size: 16px;
    color: #334155;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #64748b;
    font-weight: 500;
    letter-spacing: 0.3px;
  }
  
  .alya-greeting__intro {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    line-height: 1.6;
  }
  
  .alya-greeting__intro p {
    margin-bottom: 12px;
  }
  
  .alya-greeting__intro ul {
    margin: 10px 0 10px 20px;
    padding: 0;
  }
  
  .alya-greeting__intro li {
    margin-bottom: 6px;
  }
  
  /* ==========================================================================
     Chat Message Types - Question, Answer, Query/Regular
     ========================================================================== */
  
  /* Question Message - AI asking a question */
  .alya-message--question .alya-message__bubble {
    background: linear-gradient(135deg, #e8f4fd 0%, #d1ecf1 100%);
    border: 1px solid #b3d9e8;
    border-left: 4px solid #0ea5e9;
    color: #0c4a6e;
    position: relative;
  }
  
  .alya-message--question .alya-message__bubble::before {
    content: "❓";
    position: absolute;
    top: -8px;
    right: 12px;
    background: #0ea5e9;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--question .alya-message__content {
    max-width: 85%;
  }
  
  .alya-message--question .alya-message__bubble p {
    font-weight: 500;
    margin-bottom: 8px;
  }
  
  .alya-message--question .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* Answer Message - AI providing detailed answers/information */
  .alya-message--answer .alya-message__bubble {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    color: #14532d;
    position: relative;
  }
  
  .alya-message--answer .alya-message__bubble::before {
    content: "💡";
    position: absolute;
    top: -8px;
    right: 12px;
    background: #22c55e;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--answer .alya-message__content {
    max-width: 90%;
  }
  
  .alya-message--answer .alya-message__bubble h3,
  .alya-message--answer .alya-message__bubble h4 {
    color: #15803d;
    margin: 12px 0 8px 0;
    font-size: 1.1em;
  }
  
  .alya-message--answer .alya-message__bubble ul {
    margin: 8px 0 8px 20px;
    padding: 0;
  }
  
  .alya-message--answer .alya-message__bubble li {
    margin-bottom: 4px;
    line-height: 1.5;
  }
  
  .alya-message--answer .alya-message__bubble strong {
    color: #15803d;
  }
  
  /* Query/Regular Message - Standard conversational responses */
  .alya-message--query .alya-message__bubble {
    background: white;
    border: 1px solid #e1e5e9;
    color: #374151;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .alya-message--query .alya-message__content {
    max-width: 80%;
  }
  
  .alya-message--query .alya-message__bubble p {
    line-height: 1.6;
    margin-bottom: 8px;
  }
  
  .alya-message--query .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* User Messages - Keep existing styling but ensure consistency */
  .alya-message--user .alya-message__bubble {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e1e5e9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  /* Avatar styling for different message types */
  .alya-message--question .alya-message__avatar-circle {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
  }
  
  .alya-message--answer .alya-message__avatar-circle {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
  }
  
  .alya-message--query .alya-message__avatar-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  /* Chips styling for different message types */
  .alya-message--question .alya-chip {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0c4a6e;
  }
  
  .alya-message--question .alya-chip:hover {
    background: #0ea5e9;
    color: white;
  }
  
  .alya-message--answer .alya-chip {
    background: #f0fdf4;
    border-color: #22c55e;
    color: #14532d;
  }
  
  .alya-message--answer .alya-chip:hover {
    background: #22c55e;
    color: white;
  }
  
  .alya-message--query .alya-chip {
    background: #f8f9fa;
    border-color: #e1e5e9;
    color: #495057;
  }
  
  .alya-message--query .alya-chip:hover {
    background: #007bff;
    color: white;
  }
  /* ===
  =======================================================================
     Alpine.js + HTMX Business Form Enhancements
     ========================================================================== */
  
  /* Loading states */
  .alya-loading-fact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 8px;
    margin: 15px 0;
    color: #667eea;
    font-size: 14px;
  }
  
  .alya-loading-fact__spinner {
    animation: alya-spin 1s linear infinite;
  }
  
  .alya-form-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 8px;
    margin: 20px 0;
    color: #0369a1;
    font-weight: 500;
  }
  
  .alya-form-loading__spinner {
    animation: alya-spin 1s linear infinite;
  }
  
  .alya-form-error {
    padding: 15px 20px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    color: #dc2626;
    font-weight: 500;
    margin: 15px 0;
  }
  
  /* Button loading states */
  .alya-btn--loading {
    opacity: 0.8;
    cursor: not-allowed;
    position: relative;
  }
  
  .alya-btn--loading:hover {
    transform: none;
    box-shadow: none;
  }
  
  /* Form validation states */
  .alya-form__input:invalid,
  .alya-form__select:invalid,
  .alya-form__textarea:invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  }
  
  .alya-form__input:valid,
  .alya-form__select:valid,
  .alya-form__textarea:valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  /* Alpine.js transitions */
  [x-cloak] {
    display: none !important;
  }
  
  /* Business type selection enhancements */
  .alya-business-type {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  
  .alya-business-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
  }
  
  .alya-business-type:hover::before {
    left: 100%;
  }
  
  .alya-business-type--active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  }
  
  /* Step transitions */
  .alya-business-step {
    min-height: 400px;
  }
  
  /* HTMX loading indicators */
  .htmx-loading {
    opacity: 0.7;
    pointer-events: none;
  }
  
  .htmx-loading .alya-btn {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  /* Responsive enhancements */
  @media (max-width: 768px) {
    .alya-business-types {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    
    .alya-business-type {
      padding: 15px;
    }
    
    .alya-business-type__text {
      font-size: 14px;
    }
    
    .alya-loading-fact,
    .alya-form-loading {
      padding: 15px;
      font-size: 13px;
    }
  }
  
  /* Enhanced interesting fact display */
  .alya-interesting-fact {
    position: relative;
    overflow: hidden;
  }
  
  .alya-interesting-fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #7c3aed, #6d28d9);
    animation: alya-shimmer 2s infinite;
  }
  
  @keyframes alya-shimmer {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  
  /* Form step indicators */
  .alya-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  
  .alya-step-indicator__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: all 0.3s ease;
  }
  
  .alya-step-indicator__dot--active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.2);
  }
  
  .alya-step-indicator__line {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
  }
  
  .alya-step-indicator__line--active {
    background: linear-gradient(90deg, #667eea, #764ba2);
  }/* ====
  ======================================================================
     Dynamic Process Flow Enhancements
     ========================================================================== */
  
  /* Process step number styling when no icon is provided */
  .alya-process-step__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
  }
  
  /* Process duration indicator */
  .alya-process-step__duration {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
    width: fit-content;
  }
  
  .alya-process-step__duration i {
    font-size: 11px;
  }
  
  /* Parallel process indicator */
  .alya-process-step__parallel {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #ff8f00;
    font-weight: 500;
    width: fit-content;
  }
  
  .alya-process-step__parallel i {
    font-size: 11px;
  }
  
  /* Process substeps container */
  .alya-process-substeps {
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid #e9ecef;
    position: relative;
  }
  
  .alya-process-substeps::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
  }
  
  /* Individual substep styling */
  .alya-substep {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    transition: all 0.2s ease;
  }
  
  .alya-substep:last-child {
    border-bottom: none;
  }
  
  .alya-substep:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }
  
  /* Substep marker (automation indicator) */
  .alya-substep__marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .alya-substep__marker i[title="Automated"] {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px;
    border-radius: 50%;
  }
  
  .alya-substep__marker i[title="Manual"] {
    color: #6c757d;
    background: rgba(108, 117, 125, 0.1);
    padding: 4px;
    border-radius: 50%;
  }
  
  /* Substep content */
  .alya-substep__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .alya-substep__name {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    line-height: 1.3;
  }
  
  .alya-substep__description {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
  }
  
  /* Default process step styling for when no processes exist */
  .alya-process-step .alya-process-step__icon i.fa-cog {
    color: #6c757d;
    animation: alya-spin 3s linear infinite;
  }
  
  .alya-process-step .alya-process-step__icon i.fa-lightbulb {
    color: #ffc107;
    animation: alya-pulse 2s ease-in-out infinite;
  }
  
  @keyframes alya-pulse {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.7;
      transform: scale(1.1);
    }
  }
  
  /* Enhanced process step styling */
  .alya-process-step {
    position: relative;
    transition: all 0.3s ease;
  }
  
  .alya-process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  }
  
  .alya-process-step:hover .alya-process-step__icon {
    transform: scale(1.1);
  }
  
  /* Process flow title enhancement */
  .alya-chat-new__flow-title {
    position: relative;
    padding-bottom: 15px;
  }
  
  .alya-chat-new__flow-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
  }
  
  /* Status badge enhancement for dynamic business category */
  .alya-chat-new__status-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-left: 3px solid #667eea;
    padding-left: 12px;
  }
  
  /* Responsive enhancements */
  @media (max-width: 768px) {
    .alya-process-substeps {
      padding-left: 12px;
      margin-top: 10px;
    }
    
    .alya-substep {
      gap: 8px;
      padding: 6px 0;
    }
    
    .alya-substep__name {
      font-size: 12px;
    }
    
    .alya-substep__description {
      font-size: 11px;
    }
    
    .alya-process-step__duration,
    .alya-process-step__parallel {
      font-size: 11px;
      padding: 3px 6px;
    }
  }
  
  /* Loading state for when processes are being fetched */
  .alya-process-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 14px;
  }
  
  .alya-process-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: alya-spin 1s linear infinite;
    margin-right: 10px;
  }
  
  /* Empty state styling */
  .alya-process-step .alya-process-step__description {
    line-height: 1.6;
  }
  
  /* Enhanced icon styling for different process types */
  .alya-process-step__icon i.fa-box { color: #8b5a2b; }
  .alya-process-step__icon i.fa-truck { color: #dc3545; }
  .alya-process-step__icon i.fa-warehouse { color: #6f42c1; }
  .alya-process-step__icon i.fa-user-tie { color: #20c997; }
  .alya-process-step__icon i.fa-calendar-check { color: #fd7e14; }
  .alya-process-step__icon i.fa-qrcode { color: #6610f2; }
  .alya-process-step__icon i.fa-map-marker-alt { color: #e83e8c; }
  .alya-process-step__icon i.fa-plane { color: #17a2b8; }
  .alya-process-step__icon i.fa-ship { color: #007bff; }
  .alya-process-step__icon i.fa-train { color: #28a745; }
  /* 
  ==========================================================================
     Progress Bar Styles for Process Specification
     ========================================================================== */
  
  .alya-chat-new__progress {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  }
  
  .alya-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
  }
  
  .alya-progress-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    opacity: 0.95;
  }
  
  .alya-progress-process {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
  }
  
  .alya-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  
  .alya-progress-fill {
    background: linear-gradient(90deg, #10b981, #34d399);
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
  }
  
  .alya-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: 0.9;
  }
  
  .alya-progress-percentage {
    font-weight: 600;
  }
  
  .alya-progress-step {
    font-style: italic;
  }
  
  /* Enhanced message styles for process specification */
  .alya-message__bubble {
    position: relative;
  }
  
  .alya-message__bubble h4,
  .alya-message__bubble h3 {
    color: #1f2937;
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  .alya-message__bubble strong {
    color: #374151;
    font-weight: 600;
  }
  
  .alya-message__bubble em {
    color: #6b7280;
    font-style: italic;
  }
  
  /* Question formatting styles */
  .alya-question-section {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 12px 16px;
    margin: 8px 0;
    border-radius: 0 8px 8px 0;
  }
  
  .alya-question-title {
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 8px;
  }
  
  .alya-question-help {
    color: #64748b;
    font-size: 14px;
    margin-top: 8px;
    font-style: italic;
  }
  
  .alya-question-example {
    background: #e0f2fe;
    border: 1px solid #b3e5fc;
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 14px;
    color: #0277bd;
  }
  
  .alya-validation-hint {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 6px 10px;
    border-radius: 4px;
    margin-top: 6px;
    font-size: 13px;
    color: #856404;
  }
  
  /* Process completion celebration */
  .alya-completion-celebration {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    margin: 12px 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  }
  
  .alya-completion-celebration h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }
  
  .alya-completion-celebration p {
    opacity: 0.95;
    margin-bottom: 0;
  }
  
  /* Enhanced typing indicator for process mode */
  .alya-typing--process {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
  }
  
  .alya-typing--process .alya-typing__dots .alya-typing__dot {
    background: rgba(255, 255, 255, 0.8);
  }
  
  /* Responsive adjustments for progress bar */
  @media (max-width: 768px) {
    .alya-chat-new__progress {
      padding: 12px 16px;
      margin-bottom: 12px;
    }
    
    .alya-progress-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
    
    .alya-progress-info {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }
  }
  
  /* Enhanced message bubble for better question display */
  .alya-message--bot .alya-message__bubble {
    max-width: none;
    width: 100%;
  }
  
  .alya-message--bot .alya-message__bubble p {
    margin-bottom: 12px;
  }
  
  .alya-message--bot .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* Process specification specific styles */
  .alya-process-spec-header {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  .alya-process-spec-header h4 {
    color: #334155;
    margin-bottom: 4px;
    font-size: 16px;
  }
  
  .alya-process-spec-header p {
    color: #64748b;
    margin: 0;
    font-size: 14px;
  }
  
  /* Success/Error message styles */
  .alya-message-success {
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
  }
  
  .alya-message-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
  }
  
  .alya-message-info {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
  }/* ========
  ==================================================================
     Full Page Business Form Styles
     ========================================================================== */
  
  .alya-fullpage-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f8fafb;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .alya-fullpage-form__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .alya-fullpage-form__logo {
    font-size: 24px;
    font-weight: 700;
  }
  
  .alya-logo-text {
    color: #374151;
  }
  
  .alya-logo-accent {
    color: #10b981;
  }
  
  .alya-fullpage-form__cta-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .alya-fullpage-form__cta-btn:hover {
    background: #059669;
    transform: translateY(-1px);
  }
  
  .alya-fullpage-form__content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
  }
  
  .alya-fullpage-form__container {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  
  .alya-fullpage-form__intro {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .alya-fullpage-form__title {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .alya-fullpage-form__section {
    margin-bottom: 32px;
  }
  
  .alya-fullpage-form__section-title {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 24px;
  }
  
  /* Business Tags */
  .alya-business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
  }
  
  .alya-business-tag {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .alya-business-tag:hover {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
  }
  
  .alya-business-tag--active {
    background: #10b981;
    border-color: #10b981;
    color: white;
  }
  
  .alya-business-tag__remove {
    background: none;
    border: none;
    color: inherit;
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .alya-business-tag__remove:hover {
    opacity: 1;
  }
  
  /* Business Search */
  .alya-business-search {
    position: relative;
    margin-bottom: 24px;
  }
  
  .alya-business-search__input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #374151;
    background: white;
    transition: all 0.3s ease;
  }
  
  .alya-business-search__input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  .alya-business-search__input::placeholder {
    color: #10b981;
    font-style: italic;
  }
  
  .alya-business-search__results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .alya-business-search__result {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
  }
  
  .alya-business-search__result:hover {
    background: #f9fafb;
  }
  
  .alya-business-search__result:last-child {
    border-bottom: none;
  }
  
  /* Form Divider */
  .alya-form-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
  }
  
  .alya-form-divider::before,
  .alya-form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
  }
  
  .alya-form-divider__text {
    padding: 0 16px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
  }
  
  /* Custom Business Description */
  .alya-custom-business {
    margin-bottom: 32px;
  }
  
  .alya-custom-business__textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #374151;
    background: white;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    font-family: inherit;
  }
  
  .alya-custom-business__textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  .alya-custom-business__textarea::placeholder {
    color: #9ca3af;
  }
  
  /* Country Select */
  .alya-country-select {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
  }
  
  .alya-country-select:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  .alya-country-select__flag {
    font-size: 24px;
    padding: 12px 16px;
    border-right: 1px solid #e5e7eb;
  }
  
  .alya-country-select__dropdown {
    flex: 1;
    border: none;
    background: none;
    padding: 16px 20px;
    font-size: 16px;
    color: #374151;
    outline: none;
    cursor: pointer;
  }
  
  /* Volume Input */
  .alya-volume-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: #374151;
    background: white;
    transition: all 0.3s ease;
  }
  
  .alya-volume-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  }
  
  .alya-volume-input::placeholder {
    color: #9ca3af;
  }
  
  /* Form Actions */
  .alya-fullpage-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
  }
  
  /* Teal Button Style */
  .alya-btn--teal {
    background: #10b981;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .alya-btn--teal:hover:not(:disabled) {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
  }
  
  .alya-btn--teal:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  .alya-btn--large {
    padding: 18px 36px;
    font-size: 18px;
  }
  
  /* Step Transitions */
  .alya-fullpage-form__step {
    min-height: 400px;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .alya-fullpage-form__header {
      padding: 16px 20px;
      flex-direction: column;
      gap: 16px;
      text-align: center;
    }
  
    .alya-fullpage-form__container {
      margin: 20px;
      padding: 24px;
    }
  
    .alya-fullpage-form__title {
      font-size: 24px;
    }
  
    .alya-fullpage-form__section-title {
      font-size: 18px;
    }
  
    .alya-business-tags {
      gap: 8px;
    }
  
    .alya-business-tag {
      font-size: 13px;
      padding: 6px 12px;
    }
  
    .alya-country-select {
      flex-direction: column;
    }
  
    .alya-country-select__flag {
      border-right: none;
      border-bottom: 1px solid #e5e7eb;
      width: 100%;
      text-align: center;
    }
  
    .alya-fullpage-form__actions {
      justify-content: center;
    }
  
    .alya-btn--large {
      width: 100%;
      justify-content: center;
    }
  }
  
  @media (max-width: 480px) {
    .alya-fullpage-form__content {
      padding: 20px 10px;
    }
  
    .alya-fullpage-form__container {
      margin: 10px;
      padding: 20px;
    }
  
    .alya-business-tags {
      flex-direction: column;
    }
  
    .alya-business-tag {
      justify-content: center;
    }
  }
  
  /* Animation Enhancements */
  .alya-fullpage-form {
    animation: slideInUp 0.5s ease-out;
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Focus States */
  .alya-business-search__input:focus + .alya-business-search__results {
    border-color: #10b981;
  }
  
  /* Loading States */
  .alya-btn--teal.loading {
    opacity: 0.8;
    cursor: not-allowed;
  }
  
  .alya-btn--teal.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* ==========================================================================
     Multi-Category Chip Input Styles
     ========================================================================== */
  
  /* Selected Categories Display */
  .alya-selected-categories {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
  }
  
  .alya-selected-categories__label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
  }
  
  .alya-selected-categories__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .alya-selected-chip {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
  }
  
  .alya-selected-chip__remove {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }
  
  .alya-selected-chip__remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  /* Chip Input Field */
  .alya-chip-input {
    position: relative;
    margin-bottom: 20px;
  }
  
  .alya-chip-input__container {
    position: relative;
  }
  
  .alya-chip-input__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 48px;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    gap: 6px;
  }
  
  .alya-chip-input__field-wrapper:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  .alya-chip-input__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
  }
  
  .alya-input-chip {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    gap: 6px;
    white-space: nowrap;
  }
  
  .alya-input-chip__remove {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }
  
  .alya-input-chip__remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .alya-chip-input__field {
    flex: 1;
    min-width: 200px;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 4px 0;
    background: transparent;
  }
  
  .alya-chip-input__field::placeholder {
    color: #6c757d;
  }
  
  /* Dropdown */
  .alya-chip-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
  }
  
  .alya-chip-dropdown__item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f8f9fa;
  }
  
  .alya-chip-dropdown__item:last-child {
    border-bottom: none;
  }
  
  .alya-chip-dropdown__item:hover {
    background-color: #f8f9fa;
  }
  
  .alya-chip-dropdown__item--selected {
    background-color: #e3f2fd;
    color: #1976d2;
  }
  
  .alya-chip-dropdown__item--custom {
    background-color: #fff3e0;
    color: #f57c00;
    font-style: italic;
  }
  
  .alya-chip-dropdown__item--highlighted {
    background-color: #f0f8ff;
    color: #0066cc;
  }
  
  .alya-chip-dropdown__check {
    color: #28a745;
    font-weight: bold;
  }
  
  /* Custom Business Description Field */
  .alya-custom-business {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .alya-custom-business__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
  }
  
  .alya-custom-business__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
    resize: vertical;
    min-height: 80px;
  }
  
  .alya-custom-business__textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  }
  
  .alya-custom-business__textarea::placeholder {
    color: #6c757d;
    font-style: italic;
  }
  
  /* Business Tags (Popular Categories) */
  .alya-business-tags {
    margin-bottom: 20px;
  }
  
  .alya-business-tags__label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 12px;
  }
  
  .alya-business-tag {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin: 4px 8px 4px 0;
    transition: all 0.3s ease;
    gap: 8px;
  }
  
  .alya-business-tag:hover {
    background-color: #e9ecef;
    border-color: #007bff;
  }
  
  .alya-business-tag--selected {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
  }
  
  .alya-business-tag__check {
    color: #28a745;
    font-weight: bold;
  }
  
  .alya-business-tag--selected .alya-business-tag__check {
    color: white;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .alya-selected-categories__chips {
      gap: 6px;
    }
    
    .alya-selected-chip {
      font-size: 12px;
      padding: 4px 8px;
    }
    
    .alya-chip-input__field {
      font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .alya-business-tag {
      font-size: 12px;
      padding: 6px 12px;
      margin: 2px 4px 2px 0;
    }
  }/* 
  ==========================================================================
     Top Navigation Bar
     ========================================================================== */
  
  .alya-top-nav-bar {
    background-color: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
  }
  
  .alya-top-nav-bar img {
    height: 40px;
    width: auto;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  /* Responsive adjustments for mobile */
  @media (max-width: 768px) {
    .alya-top-nav-bar {
      padding: 12px 15px;
    }
    
    .alya-top-nav-bar img {
      height: 35px;
      margin-left: 15px;
    }
  }
  
  @media (max-width: 480px) {
    .alya-top-nav-bar {
      padding: 10px 12px;
    }
    
    .alya-top-nav-bar img {
      height: 30px;
      margin-left: 10px;
    }
  }/*
   ==========================================================================
     Logistics Design Section
     ========================================================================== */
  
  .alya-section--logistics-design {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin: 0;
  }
  
  .alya-logistics-design {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .alya-logistics-design__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .alya-logistics-design__title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  
  .alya-logistics-design__highlight {
    color: #00d4aa;
    position: relative;
  }
  
  .alya-logistics-design__description {
    font-size: 20px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .alya-section--logistics-design {
      padding: 60px 0;
    }
    
    .alya-logistics-design {
      padding: 0 15px;
    }
    
    .alya-logistics-design__title {
      font-size: 36px;
      margin-bottom: 20px;
    }
    
    .alya-logistics-design__description {
      font-size: 18px;
    }
  }
  
  @media (max-width: 480px) {
    .alya-section--logistics-design {
      padding: 40px 0;
    }
    
    .alya-logistics-design__title {
      font-size: 28px;
      margin-bottom: 16px;
    }
    
    .alya-logistics-design__description {
      font-size: 16px;
    }
  }
  
  /* ==========================================================================
     Chat Interface Process Progress Styles
     ========================================================================== */
  
  /* Process Step Header with Progress */
  .alya-process-step__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .alya-process-step__title--complete {
    color: #28a745 !important;
    font-weight: 600;
  }
  
  .alya-process-step__progress {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .alya-process-step__percentage {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    padding: 2px 8px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
  }
  
  .alya-process-step__percentage--complete {
    color: #28a745;
    background-color: #d4edda;
    border-color: #c3e6cb;
  }
  
  .alya-process-step__check {
    color: #28a745;
    font-size: 16px;
    animation: checkmark-appear 0.3s ease-in-out;
  }
  
  .alya-process-step__check--complete {
    color: #28a745;
  }
  
  @keyframes checkmark-appear {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .alya-process-step__header {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }
    
    .alya-process-step__progress {
      align-self: flex-end;
    }
    
    .alya-process-step__percentage {
      font-size: 12px;
      padding: 1px 6px;
    }
    
    .alya-process-step__check {
      font-size: 14px;
    }
  }
  
  /* ==========================================================================
     Inline Process Progress Styles
     ========================================================================== */
  
  /* Inline percentage display next to process title */
  .alya-process-step__percentage-inline {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.9em;
    margin-left: 8px;
  }
  
  /* Inline checkmark when process is complete */
  .alya-process-step__check-inline {
    color: #28a745;
    margin-left: 8px;
    font-size: 1.1em;
    animation: checkmark-appear 0.3s ease-in-out;
  }
  
  /* Process title when complete */
  .alya-process-step__title--complete {
    color: #28a745 !important;
    font-weight: 600;
  }
  
  /* Animation for checkmark appearance */
  @keyframes checkmark-appear {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .alya-process-step__percentage-inline {
      font-size: 0.8em;
      margin-left: 6px;
    }
    
    .alya-process-step__check-inline {
      margin-left: 6px;
      font-size: 1em;
    }
  }
  
  /* ==========================================================================
     Radio Button Styles
     ========================================================================== */
  
  .alya-radio-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
  }
  
  .alya-radio-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
  }
  
  .alya-radio-option:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
  }
  
  .alya-radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #14b8a6;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .alya-radio-option input[type="radio"]:checked + .alya-radio-option__text {
    color: #0f766e;
    font-weight: 600;
  }
  
  .alya-radio-option:has(input[type="radio"]:checked) {
    border-color: #14b8a6;
    background: #f0fdfa;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
  }
  
  .alya-radio-option__text {
    font-size: 16px;
    line-height: 1.5;
    color: #374151;
    transition: all 0.2s ease;
  }
  
  /* Focus styles for accessibility */
  .alya-radio-option input[type="radio"]:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
  }
  
  /* Mobile responsive */
  @media (max-width: 768px) {
    .alya-radio-option {
      padding: 14px;
    }
    
    .alya-radio-option__text {
      font-size: 15px;
    }
  }/* =====
  =====================================================================
     Document Style for Right Panel
     ========================================================================== */
  
  .alya-document {
    background: #ffffff;
    padding: 40px;
    height: 100%;
    overflow-y: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    box-shadow: inset 1px 0 0 #e5e7eb;
  }
  
  .alya-document__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 32px 0;
    line-height: 1.3;
    border-bottom: 3px solid #14b8a6;
    padding-bottom: 16px;
  }
  
  .alya-document__content {
    max-width: none;
  }
  
  .alya-document__intro {
    font-size: 16px;
    color: var(--text-muted) !important;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-darker) !important;
    border-left: 4px solid #14b8a6;
    border-radius: 0 8px 8px 0;
  }
  
  .alya-document__section {
    margin-bottom: 40px;
  }
  
  .alya-document__section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light) !important;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .alya-document__section-content {
    padding-left: 0;
  }
  
  .alya-document__section-content p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .alya-document__section-content p strong {
    color: var(--text-muted) !important;
    font-weight: 600;
  }
  
  .alya-document__placeholder {
    color: var(--text-muted) !important;
    font-style: italic;
    background: var(--bg-dark) !important;
    padding: 16px;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
  }
  
  /* For the whole page (document scroll) */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 6px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--chat-bg);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* For ALL scrollable elements */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: var(--chat-bg);
}

*::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

  
  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
    .alya-document {
      padding: 20px;
    }
    
    .alya-document__title {
      font-size: 24px;
      margin-bottom: 24px;
    }
    
    .alya-document__section-title {
      font-size: 18px;
    }
    
    .alya-document__intro {
      padding: 16px;
      font-size: 15px;
    }
  }/* ======
  ====================================================================
     Enhanced Document Template Styles
     ========================================================================== */
  
  .alya-document__section-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    font-style: italic;
  }
  
  .alya-document__section--debug {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px dashed #e5e7eb;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
  }
  
  .alya-document__section--debug .alya-document__section-title {
    color: #6b7280;
    font-size: 16px;
  }
  
  .alya-document__section--debug .alya-document__section-content p {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 8px;
  }
  
  /* Enhanced section styling for different logistics stages */
  .alya-document[data-stage="Startup"] .alya-document__title {
    color: #059669;
    border-bottom-color: #059669;
  }
  
  .alya-document[data-stage="Mid-Size"] .alya-document__title {
    color: #0369a1;
    border-bottom-color: #0369a1;
  }
  
  .alya-document[data-stage="Enterprise"] .alya-document__title {
    color: #7c2d12;
    border-bottom-color: #7c2d12;
  }
  
  /* Section icons for different stages */
  .alya-document__section-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  /* Responsive improvements */
  @media (max-width: 1024px) {
    .alya-document {
      padding: 24px;
    }
    
    .alya-document__title {
      font-size: 24px;
    }
  }
  
  @media (max-width: 768px) {
    .alya-document {
      padding: 16px;
    }
    
    .alya-document__title {
      font-size: 20px;
      margin-bottom: 20px;
    }
    
    .alya-document__section {
      margin-bottom: 24px;
    }
    
    .alya-document__intro {
      padding: 12px;
      font-size: 14px;
    }
  }/* 
  ==========================================================================
     Business Category Section Styles
     ========================================================================== */
  
  .alya-document__section--category {
    margin-left: 20px;
    border-left: 3px solid #e5e7eb;
    padding-left: 20px;
    margin-bottom: 24px;
  }
  
  .alya-document__section-title--category {
    font-size: 18px;
    color: #374151;
    margin-bottom: 12px;
    font-weight: 600;
  }
  
  /* Stage-specific category section styling */
  .alya-document[data-stage="Startup"] .alya-document__section--category {
    border-left-color: #059669;
  }
  
  .alya-document[data-stage="Startup"] .alya-document__section-title--category {
    color: #047857;
  }
  
  .alya-document[data-stage="Mid-Size"] .alya-document__section--category {
    border-left-color: #0369a1;
  }
  
  .alya-document[data-stage="Mid-Size"] .alya-document__section-title--category {
    color: #0284c7;
  }
  
  .alya-document[data-stage="Enterprise"] .alya-document__section--category {
    border-left-color: #7c2d12;
  }
  
  .alya-document[data-stage="Enterprise"] .alya-document__section-title--category {
    color: #9a3412;
  }
  
  /* Enhanced section numbering */
  .alya-document__section-title {
    position: relative;
  }
  
  .alya-document__section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #14b8a6;
    margin-right: 12px;
    vertical-align: middle;
    border-radius: 2px;
  }
  
  .alya-document__section-title--category::before {
    width: 3px;
    height: 16px;
    background: currentColor;
    opacity: 0.6;
  }
  
  /* Mobile responsive adjustments for category sections */
  @media (max-width: 768px) {
    .alya-document__section--category {
      margin-left: 12px;
      padding-left: 12px;
    }
    
    .alya-document__section-title--category {
      font-size: 16px;
    }
  }/* ======
  ====================================================================
     Form Validation Styles
     ========================================================================== */
  
  .alya-form__validation--error {
    color: #dc2626 !important;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 8px;
  }
  
  .alya-form__validation {
    color: #059669;
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-top: 8px;
  }
  
  /* ==========================================================================
     Common Business Types Section Styles
     ========================================================================== */
  
  .alya-common-types {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
  }
  
  .alya-common-types__title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
  }
  
  .alya-common-types__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .alya-common-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    outline: none;
  }
  
  .alya-common-chip:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
    color: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .alya-common-chip:active {
    transform: translateY(0);
  }
  
  .alya-common-chip--selected {
    background: #14b8a6;
    border-color: #14b8a6;
    color: #ffffff;
  }
  
  .alya-common-chip--selected:hover {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
  }
  
  .alya-common-chip__check {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
  }
  
  /* Focus styles for accessibility */
  .alya-common-chip:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
  }
  
  /* Animation for selection */
  .alya-common-chip--selected {
    animation: chipSelect 0.2s ease-out;
  }
  
  @keyframes chipSelect {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
    .alya-common-types {
      padding: 16px;
      margin-bottom: 20px;
    }
    
    .alya-common-types__title {
      font-size: 15px;
      margin-bottom: 12px;
    }
    
    .alya-common-chip {
      padding: 6px 10px;
      font-size: 13px;
    }
    
    .alya-common-types__chips {
      gap: 6px;
    }
  }
  
  /* Ensure proper spacing between common types and chip input */
  .alya-common-types + .alya-chip-input {
    margin-top: 0;
  }
  /* =
  =========================================================================
     Compile Business Specs Button Styles
     ========================================================================== */
  
  .alya-compile-button-container {
    margin-bottom: 12px;
    text-align: center;
  }
  
  .alya-compile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(20, 184, 166, 0.2);
  }
  
  .alya-compile-btn:hover {
    background: linear-gradient(135deg, #0f766e 0%, #0d5b56 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.3);
    color: #ffffff;
    text-decoration: none;
  }
  
  .alya-compile-btn:active {
    transform: translateY(0);
  }
  
  .alya-compile-btn i {
    font-size: 16px;
  }
  
  /* ==========================================================================
     Business Requirements Document (BRD) Styles
     ========================================================================== */
  
  .alya-brd {
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  }
  
  .alya-brd__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .alya-brd__header {
    background: var(--bg-blueprint) !important;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #14b8a6;
  }
  
  .alya-brd__header-content {
    text-align: center;
  }
  
  .alya-brd__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-light) !important;
    margin: 0 0 12px 0;
  }
  
  .alya-brd__subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 20px 0;
  }
  
  .alya-brd__meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
    color: #9ca3af;
  }
  
  .alya-brd__content {
    background: var(--bg-blueprint) !important;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: auto;
  }
  
  .alya-brd__section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .alya-brd__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .alya-brd__section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light) !important;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #14b8a6;
    display: inline-block;
  }
  
  .alya-brd__section-content {
    line-height: 1.6;
    color: var(--text-muted) !important;
  }
  
  .alya-brd__placeholder {
    background: var(--bg-blueprint) !important;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px;
    color: var(--text-muted) !important;
    font-style: italic;
    margin: 16px 0;
  }
  
  .alya-brd__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .alya-brd__info-item {
    background: var(--bg-blueprint) !important;
    padding: 12px 16px;
    border-radius: 6px;
    border-left: 3px solid #14b8a6;
  }
  
  .alya-brd__info-item strong {
    color: var(--text-light) !important;;
  }
  
  .alya-brd__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .alya-brd__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
  }
  
  .alya-brd__btn--primary {
    background: #14b8a6;
    color: #ffffff;
  }
  
  .alya-brd__btn--primary:hover {
    background: #0f766e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.3);
    color: #ffffff;
    text-decoration: none;
  }
  
  .alya-brd__btn--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
  }
  
  .alya-brd__btn--secondary:hover {
    background: #e5e7eb;
    color: #111827;
    text-decoration: none;
  }
  
  /* Mobile responsive adjustments */
  @media (max-width: 768px) {
    .alya-brd__container {
      padding: 16px;
    }
    
    .alya-brd__header {
      padding: 24px;
    }
    
    .alya-brd__title {
      font-size: 24px;
    }
    
    .alya-brd__subtitle {
      font-size: 16px;
    }
    
    .alya-brd__meta {
      flex-direction: column;
      gap: 8px;
    }
    
    .alya-brd__content {
      padding: 24px;
    }
    
    .alya-brd__section-title {
      font-size: 20px;
    }
    
    .alya-brd__info-grid {
      grid-template-columns: 1fr;
    }
    
    .alya-brd__actions {
      flex-direction: column;
    }
    
    .alya-brd__btn {
      justify-content: center;
    }
  }
  
  /* Print styles for BRD */
  @media print {
    .alya-brd {
      background: white;
    }
    
    .alya-brd__actions {
      display: none;
    }
    
    .alya-brd__header,
    .alya-brd__content {
      box-shadow: none;
      border: 1px solid #e5e7eb;
    }
  }
  /*
   ==========================================================================
     Document Styles
     ========================================================================== */
  
  .alya-document {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
    max-width: 100%;
  }
  
  .alya-document__title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
  }
  
  .alya-document__content {
    padding: 0;
  }
  
  .alya-document__intro {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-left: 4px solid #3b82f6;
    border-radius: 0.375rem;
  }
  
  .alya-document__section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
  }
  
  .alya-document__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  /* Removed highlighting for category sections - now flows naturally */
  
  .alya-document__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  /* Removed category-specific styling - now flows naturally */
  
  .alya-document__section-content {
    font-size: 0.95rem;
  }
  
  .alya-document__section-description {
    font-weight: 500;
    color: #374151;
    margin-bottom: 1rem;
  }
  
  .alya-document__actual-content {
    margin-bottom: 1.5rem;
  }
  
  .alya-document__placeholder {
    color: #6b7280;
    font-style: italic;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 0.375rem;
    border: 1px dashed #d1d5db;
  }
  
  .alya-document__placeholder p {
    margin: 0;
  }
  
  /* ==========================================================================
     Process Content Styles
     ========================================================================== */
  
  .alya-document__processes-overview {
    margin-bottom: 2rem;
  }
  
  .alya-document__processes-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 0.5rem;
  }
  
  .alya-document__processes-intro {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-weight: 500;
  }
  
  /* Removed block styling - process content now flows naturally */
  
  .alya-document__process-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .alya-document__process-content {
    line-height: 1.7;
  }
  
  .alya-document__process-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 0.75rem 0;
  }
  
  .alya-document__process-heading:first-child {
    margin-top: 0;
  }
  
  .alya-document__process-subheading {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4b5563;
    margin: 1rem 0 0.5rem 0;
  }
  
  .alya-document__process-text {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.75rem;
    line-height: 1.6;
  }
  
  .alya-document__process-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  
  .alya-document__process-list-item {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  
  .alya-document__process-bullets {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }
  
  .alya-document__process-bullet-item {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  
  .alya-document__process-metadata {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .alya-document__process-duration,
  .alya-document__process-parallel {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
  }
  
  .alya-document__process-duration {
    background-color: #dbeafe;
    color: #1e40af;
  }
  
  .alya-document__process-parallel {
    background-color: #d1fae5;
    color: #065f46;
  }
  
  /* ==========================================================================
     Responsive Design for Document
     ========================================================================== */
  
  @media (max-width: 768px) {
    .alya-document__title {
      font-size: 1.5rem;
    }
    
    .alya-document__section--category {
      margin-left: 0;
      padding: 1rem;
    }
    
    .alya-document__process-section {
      padding: 1rem;
    }
    
    .alya-document__process-metadata {
      flex-direction: column;
      gap: 0.5rem;
    }
  }/* ==
  ========================================================================
     Company-Specific Insights Styles
     ========================================================================== */
  
  .alya-document__company-insights {
    background-color: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-left: 4px solid #0ea5e9;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px 0 rgba(14, 165, 233, 0.1);
  }
  
  .alya-document__company-insights-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
  }
  
  .alya-document__company-insights-title::before {
    content: "🏢";
    margin-right: 0.5rem;
    font-size: 1.25rem;
  }
  
  .alya-document__company-insights-list {
    margin: 0;
    padding-left: 1.5rem;
  }
  
  .alya-document__company-insights-item {
    color: #1e40af;
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }
  
  .alya-document__company-insights-text {
    color: #1e40af;
    margin: 0;
    line-height: 1.6;
  }
  
  /* Responsive design for company insights */
  @media (max-width: 768px) {
    .alya-document__company-insights {
      padding: 1rem;
      margin: 1rem 0;
    }
    
    .alya-document__company-insights-title {
      font-size: 1rem;
    }
  }
  
  /* ==========================================================================
     Chat Interface Layout Fixes
     ========================================================================== */
  
  /* Left panel layout with fixed input at bottom */
  .alya-chat-new__left-panel {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
  }
  
  /* Messages container takes remaining space and scrolls */
  .alya-chat-new__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    margin-bottom: 0;
  }
  
  /* Input container fixed at bottom */
  .alya-chat-new__input-container {
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 1rem;
    z-index: 10;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* Ensure container has full height */
  .alya-chat-new__container {
    height: 100vh;
    display: flex;
  }
  
  /* Right panel should also use full height */
  .alya-chat-new__right-panel {
    height: 100vh;
    overflow-y: auto;
  }
  
  /* Compile button styling */
  .alya-compile-button-container {
    margin-bottom: 1rem;
  }
  
  .alya-compile-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.2s;
  }
  
  .alya-compile-btn:hover {
    background-color: #2563eb;
    color: white;
    text-decoration: none;
  }
  
  /* Input wrapper styling */
  .alya-chat-new__input-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  .alya-chat-new__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
  }
  
  .alya-chat-new__input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  }
  
  .alya-chat-new__send-btn {
    padding: 0.75rem 1.5rem;
    background-color: #10b981;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    min-width: 80px;
  }
  
  .alya-chat-new__send-btn:hover:not(:disabled) {
    background-color: #059669;
  }
  
  .alya-chat-new__send-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
  }
  
  .alya-chat-new__send-btn--loading {
    background-color: #6b7280;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .alya-chat-new__container {
      flex-direction: column;
      height: 100vh;
    }
    
    .alya-chat-new__left-panel {
      height: 60vh;
    }
    
    .alya-chat-new__right-panel {
      height: 40vh;
    }
    
    .alya-chat-new__input-container {
      padding: 0.75rem;
    }
    
    .alya-compile-btn {
      font-size: 0.875rem;
      padding: 0.5rem 0.75rem;
    }
  }/* ====
  ======================================================================
     Chat Message Bubble Styles
     ========================================================================== */
  
  /* Base message styling */
  .alya-message {
    display: flex;
    margin-bottom: 1rem;
    max-width: 100%;
  }
  
  /* AI messages on the left */
  .alya-message--bot {
    justify-content: flex-start;
  }
  
  /* User messages on the right */
  .alya-message--user {
    justify-content: flex-end;
  }
  
  /* Avatar styling */
  .alya-message__avatar {
    flex-shrink: 0;
    margin-right: 0.75rem;
  }
  
  .alya-message--user .alya-message__avatar {
    order: 2;
    margin-right: 0;
    margin-left: 0.75rem;
  }
  
  .alya-message__avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
  }
  
  /* AI avatar styling */
  .alya-message--bot .alya-message__avatar-circle {
    background-color: #6b7280;
  }
  
  /* User avatar styling */
  .alya-message--user .alya-message__avatar-circle {
    background-color: #3b82f6;
  }
  
  /* Message content container */
  .alya-message__content {
    flex: 1;
    max-width: 90%;
  }
  
  .alya-message--user .alya-message__content {
    order: 1;
  }
  
  /* Message bubble styling */
  .alya-message__bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    position: relative;
    word-wrap: break-word;
  }
  
  /* AI message bubble - left side with border */
  .alya-message--bot .alya-message__bubble {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 1rem 1rem 1rem 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  /* User message bubble - right side with light background */
  .alya-message--user .alya-message__bubble {
    background-color: #f3f4f6;
    border: none;
    border-radius: 1rem 1rem 0.25rem 1rem;
    margin-left: auto;
  }
  
  /* Message text styling */
  .alya-message__bubble p {
    margin: 0 0 0.5rem 0;
  }
  
  .alya-message__bubble p:last-child {
    margin-bottom: 0;
  }
  
  /* Message time styling */
  .alya-message__time {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-align: right;
  }
  
  .alya-message--bot .alya-message__time {
    text-align: left;
  }
  
  /* Greeting message styling */
  .alya-message__greeting {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
  }
  
  /* Lists in messages */
  .alya-message__bubble ul,
  .alya-message__bubble ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
  }
  
  .alya-message__bubble li {
    margin-bottom: 0.25rem;
  }
  
  /* Links in messages */
  .alya-message__bubble a {
    color: #3b82f6;
    text-decoration: underline;
  }
  
  .alya-message__bubble a:hover {
    color: #2563eb;
  }
  
  /* Code blocks in messages */
  .alya-message__bubble code {
    background-color: #f3f4f6;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
  }
  
  .alya-message--user .alya-message__bubble code {
    background-color: #e5e7eb;
  }
  
  /* Typing indicator */
  .alya-typing {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }
  
  .alya-typing__content {
    background-color: white;
    border: 1px solid #d1d5db;
    border-radius: 1rem 1rem 1rem 0.25rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .alya-typing__dots {
    display: flex;
    gap: 0.25rem;
  }
  
  .alya-typing__dot {
    width: 8px;
    height: 8px;
    background-color: #9ca3af;
    border-radius: 50%;
    animation: alya-typing 1.4s infinite ease-in-out;
  }
  
  .alya-typing__dot:nth-child(1) {
    animation-delay: -0.32s;
  }
  
  .alya-typing__dot:nth-child(2) {
    animation-delay: -0.16s;
  }
  
  /* User instruction styling */
  .alya-chat-new__instruction {
    text-align: center;
    padding: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
  
  .alya-chat-new__instruction-icon {
    font-size: 1rem;
  }
  
  /* Responsive adjustments for messages */
  @media (max-width: 768px) {
    .alya-message__content {
      max-width: 85%;
    }
    
    .alya-message__avatar {
      margin-right: 0.5rem;
    }
    
    .alya-message--user .alya-message__avatar {
      margin-left: 0.5rem;
    }
    
    .alya-message__avatar-circle {
      width: 32px;
      height: 32px;
      font-size: 0.75rem;
    }
    
    .alya-message__bubble {
      padding: 0.5rem 0.75rem;
    }
  }
  
  /* ==========================================================================
     Document Loading Indicator
     ========================================================================== */
  
  .alya-document__loading {
    font-size: 0.8rem;
    color: #007bff;
    font-weight: 500;
    margin-left: 15px;
    opacity: 0.8;
  }
  
  .alya-document__loading i {
    margin-right: 5px;
  }
  
  .alya-document__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  @media (max-width: 768px) {
    .alya-document__title {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .alya-document__loading {
      margin-left: 0;
      margin-top: 5px;
    }
  }/* ===
  =======================================================================
     Token Limit Warning Styles
     ========================================================================== */
  
  .alya-token-limit-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    animation: alya-fadeIn 0.3s ease-out;
  }
  
  .alya-token-limit-warning__content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
  
  .alya-token-limit-warning__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 18px;
    margin-top: 2px;
  }
  
  .alya-token-limit-warning__message {
    flex: 1;
  }
  
  .alya-token-limit-warning__message h4 {
    color: #92400e;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
  }
  
  .alya-token-limit-warning__message p {
    color: #a16207;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .alya-token-limit-warning__content {
      padding: 12px;
      gap: 10px;
    }
    
    .alya-token-limit-warning__icon {
      width: 20px;
      height: 20px;
      font-size: 16px;
    }
    
    .alya-token-limit-warning__message h4 {
      font-size: 15px;
    }
    
    .alya-token-limit-warning__message p {
      font-size: 13px;
    }
  }/* 
  ==========================================================================
     Document Update Notifications & Loading States
     ========================================================================== */
  
  /* Document updating state */
  .alya-document--updating {
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s ease;
  }
  
  .alya-document--updating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
  }
  
  /* Document loading indicator */
  .alya-document__loading {
    display: none;
    color: #6366f1;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    animation: alya-spin 1s linear infinite;
  }
  
  .alya-document__loading i {
    margin-right: 0.25rem;
  }
  
  /* Document update notification */
  .alya-document-update-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: #10b981;
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: alya-fadeIn 0.3s ease;
    max-width: 300px;
  }
  
  .alya-document-update-notification__content {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .alya-document-update-notification__content i {
    margin-right: 8px;
    font-size: 1rem;
  }
  
  /* Section update badges */
  .alya-document__section--updated {
    position: relative;
    border-left: 3px solid #10b981;
    padding-left: 1rem;
    margin-left: -1rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
  }
  
  .alya-document__section--updated::before {
    content: 'Updated';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
  }
  
  /* Fade out updated badge after 5 seconds */
  .alya-document__section--updated.fade-out {
    border-left-color: transparent;
    background: transparent;
  }
  
  .alya-document__section--updated.fade-out::before {
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  /* Document section loading state */
  .alya-document__section--loading {
    position: relative;
    opacity: 0.6;
  }
  
  .alya-document__section--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #6366f1;
    border-radius: 50%;
    animation: alya-spin 1s linear infinite;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .alya-document-update-notification {
      top: 10px;
      right: 10px;
      left: 10px;
      max-width: none;
    }
  }
  /* Secondary compile button for testing */
  .alya-compile-btn--secondary {
    background: #6b7280;
    margin-left: 0.5rem;
    font-size: 0.875rem;
    padding: 8px 12px;
  }
  
  .alya-compile-btn--secondary:hover {
    background: #4b5563;
  }
  
  .alya-compile-button-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  /* ====
  ======================================================================
     Document Template Styles
     ========================================================================== */
  
  /* Document Header */
  .alya-document__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
  }
  
  .alya-document__title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
  }
  
  /* Updating Indicator - Top Right with Fading Effect */
  .alya-document__updating-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.2);
    position: absolute;
    top: 0;
    right: 0;
    animation: alya-updating-fade 2s ease-in-out infinite;
  }
  
  .alya-document__updating-indicator i {
    font-size: 0.8rem;
    animation: alya-updating-pulse 1.5s ease-in-out infinite;
  }
  
  /* Streaming Indicator */
  .alya-document__streaming-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(34, 197, 94, 0.2);
    position: absolute;
    top: 0;
    right: 0;
  }
  
  .alya-document__streaming-indicator i {
    font-size: 0.8rem;
    animation: alya-stream-pulse 1s ease-in-out infinite;
  }
  
  /* Animations for Document Indicators */
  @keyframes alya-updating-fade {
    0%, 100% {
      opacity: 0.7;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.02);
    }
  }
  
  @keyframes alya-updating-pulse {
    0%, 100% {
      opacity: 0.5;
      transform: scale(1);
    }
    50% {
      opacity: 1;
      transform: scale(1.1);
    }
  }
  
  @keyframes alya-stream-pulse {
    0%, 100% {
      opacity: 0.6;
    }
    50% {
      opacity: 1;
    }
  }
  
  /* Document Content */
  .alya-document__content {
    margin-top: 20px;
  }
  
  .alya-document__intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #007bff;
  }
  
  /* Document Sections */
  .alya-document__section {
    margin-bottom: 20px;
    background: var(--bg-dark) !important;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
  }
  
  .alya-document__section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 20px 25px;
    background: var(--bg-darker) !important;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: start;
    align-items: center;
  }
  
  .alya-document__section-content {
    padding: 15px;
  }
  
  .alya-document__section-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
  }
  
  .alya-document__placeholder {
    color: #999;
    font-style: italic;
    margin: 15px 0;
  }
  
  /* Section Status Indicators */
  .alya-document__section-status {
    color: #22c55e;
    font-size: 1rem;
  }
  
  /* Loading States */
  .alya-document__loading-state {
    text-align: center;
    padding: 30px;
    color: #666;
  }
  
  .alya-document__loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
  }
  
  .alya-document__loading-spinner i {
    font-size: 1.2rem;
    color: #007bff;
  }
  
  /* Streaming Placeholders */
  .alya-document__streaming-placeholder {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .alya-document__streaming-content {
    position: relative;
    min-height: 20px;
  }
  
  .alya-document__streaming-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: #007bff;
    animation: alya-cursor-blink 1s infinite;
  }
  
  @keyframes alya-cursor-blink {
    0%, 50% {
      opacity: 1;
    }
    51%, 100% {
      opacity: 0;
    }
  }
  
  /* Content Staging Areas */
  .alya-document__content-staging,
  .alya-document__staging-area {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .alya-document__content-staging.active,
  .alya-document__staging-area.active {
    opacity: 1;
  }
  
  /* Static Content */
  .alya-document__static-content {
    line-height: 1.6;
  }
  
  .alya-document__static-content p {
    margin-bottom: 15px;
  }
  
  .alya-document__static-content strong {
    color: var(--text-light) !important;
    font-weight: 600;
  }
  
  /* Actual Content */
  .alya-document__actual-content {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0ea5e9;
    margin: 15px 0;
    color: var(--text-light) !important;
  }
  
  /* Category and Process Sections */
  .alya-document__section--category {
    margin-left: 20px;
    border-left: 3px solid #e1e5e9;
  }
  
  .alya-document__section-title--category {
    font-size: 1.2rem;
    background: var(--bg-dark);
  }
  
  /* Debug Section */
  .alya-document__section--debug {
    background: #fff3cd;
    border-color: #ffeaa7;
  }
  
  .alya-document__section--debug .alya-document__section-title {
    background: #fff3cd;
    color: #856404;
  }
  
  /* Progress Bars */
  .alya-document__loading-progress {
    margin-top: 15px;
  }
  
  .alya-document__progress-bar {
    width: 100%;
    height: 6px;
    background: #e1e5e9;
    border-radius: 3px;
    overflow: hidden;
  }
  
  .alya-document__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;
    transition: width 0.3s ease;
  }
  
  .alya-document__progress-text {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Responsive Design for Document */
  @media (max-width: 768px) {
    .alya-document__header {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
    
    .alya-document__updating-indicator,
    .alya-document__streaming-indicator {
      position: static;
      align-self: flex-end;
    }
    
    .alya-document__title {
      font-size: 1.5rem;
    }
    
    .alya-document__section-title {
      font-size: 1.2rem;
      padding: 15px 20px;
    }
    
    .alya-document__section-content {
      padding: 20px;
    }
    
    .alya-document__section--category {
      margin-left: 10px;
    }
  }
  
  @media (max-width: 480px) {
    .alya-document__title {
      font-size: 1.3rem;
    }
    
    .alya-document__section-title {
      font-size: 1.1rem;
      padding: 12px 15px;
    }
    
    .alya-document__section-content {
      padding: 15px;
    }
    
    .alya-document__updating-indicator,
    .alya-document__streaming-indicator {
      padding: 6px 12px;
      font-size: 0.8rem;
    }
  }
  .alya-document__products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.alya-document__product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.5rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.alya-document__product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.alya-document__product-image {
    margin-bottom: 1rem;
    text-align: center;
}

.alya-document__product-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 4px;
}

.alya-document__product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.alya-document__product-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.alya-document__product-description p {
    margin-bottom: 0.75rem;
}

.alya-document__product-description p:last-child {
    margin-bottom: 0;
}

.alya-document__product-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.alya-document__product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.alya-document__product-cta:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
}

.alya-document__product-cta i {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .alya-document__products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .alya-document__product-card {
        padding: 1rem;
    }
    
    .alya-document__product-title {
        font-size: 1.1rem;
    }
}

/* Dark mode support (if applicable) */
@media (prefers-color-scheme: dark) {
    .alya-document__product-card {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .alya-document__product-title {
        color: #ecf0f1;
    }
    
    .alya-document__product-description {
        color: #bdc3c7;
    }
    
    .alya-document__product-link {
        border-top-color: #34495e;
    }
}

.alya-brd__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.alya-brd__product-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg-blueprint);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  page-break-inside: avoid;
  overflow: hidden;
  position: relative;
}

.alya-brd__product-card:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.alya-brd__product-image {
  margin-bottom: 1rem;
  text-align: left;
  display: inline-block;
  width: 60px !important;
  height: 60px !important;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.alya-brd__product-image img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  max-width: 60px !important;
  max-height: 60px !important;
}

/* Force image sizing with higher specificity */
.alya-brd__product-card .alya-brd__product-image img {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

/* Additional constraints for product images */
.alya-brd__product-card img[class*="product-image"] {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Maximum specificity override for all product images */
section.alya-brd__section .alya-brd__products-grid .alya-brd__product-card .alya-brd__product-content .alya-brd__product-title img.alya-brd__product-image {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Process Flow Charts - Responsive Grid Layout
   ========================================================================== */

/* Charts container - responsive grid with max 3 columns */
.alya-brd__charts-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
  box-sizing: border-box;
}

/* Ensure max 3 charts per row on larger screens */
@media (min-width: 1200px) {
  .alya-brd__charts-container {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
  }
}

/* 2 charts per row on medium screens */
@media (min-width: 768px) and (max-width: 1199px) {
  .alya-brd__charts-container {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* Single column on mobile */
@media (max-width: 767px) {
  .alya-brd__charts-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
  }
}

/* Individual chart item styling */
.alya-brd__chart-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.alya-brd__chart-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Chart title styling */
.alya-brd__chart-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Chart image container */
.alya-brd__chart-image {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

/* Chart image styling - significantly increased size for better visibility */
.alya-brd__chart-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 500px;
  max-height: 600px;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

.alya-brd__chart-image img:hover {
  transform: scale(1.02);
}

/* Chart metadata styling */
.alya-brd__chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.alya-brd__chart-type,
.alya-brd__chart-time {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Chart placeholder styling */
.alya-brd__chart-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* HTML chart container */
.alya-brd__chart-html-container {
  width: 100%;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 480px) {
  .alya-brd__chart-item {
    padding: 1rem;
  }
  
  .alya-brd__chart-title {
    font-size: 1rem;
  }
  
  .alya-brd__chart-image img {
    min-height: 400px;
    max-height: 500px;
  }
}

/* Override any potential inline styles */
img[src*="/api/products/"][class*="product-image"] {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Specific targeting for the problematic image URLs */
img[src="/api/products/16/image/"],
img[src="/api/products/2/image/"],
img[src="/api/products/15/image/"],
img[src="/api/products/13/image/"],
img[src="/api/products/7/image/"],
img[src="/api/products/14/image/"],
img[src="/api/products/18/image/"],
img[src="/api/products/12/image/"],
img[src="/api/products/11/image/"] {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Override Bootstrap and any other CSS frameworks */
body .alya-brd__product-card img {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Nuclear option - target all images in product cards */
.alya-brd__product-card * img {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

/* Ensure product title container doesn't expand */
.alya-brd__product-title {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-teal) !important;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-family: 'Jost', sans-serif;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: nowrap !important;
}

.alya-brd__product-description {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.alya-brd__product-description p {
  margin-bottom: 1rem;
}

.alya-brd__product-description p:last-child {
  margin-bottom: 0;
}

.alya-brd__product-description h4 {
  color: #34495e;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.2rem 0 0.8rem 0;
}

.alya-brd__product-description ul {
  margin: 0.8rem 0;
  padding-left: 1.5rem;
}

.alya-brd__product-description li {
  margin-bottom: 0.5rem;
}

.alya-brd__product-link {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.alya-brd__product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Jost', sans-serif;
}

/*.alya-brd__product-cta:hover {
  background: #2980b9;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}*/

.alya-brd__product-cta i {
  font-size: 0.9rem;
}

.alya-brd__intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Print styles */
@media print {
  .alya-brd__products-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

  .alya-brd__product-card {
      box-shadow: none;
      border: 2px solid #e0e0e0;
      margin-bottom: 1rem;
  }

  .alya-brd__product-cta {
      background: #f8f9fa;
      color: #2980b9;
      border: 1px solid #2980b9;
  }
}

/* Document Section Styles */
.alya-brd__section-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.alya-brd__section-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.alya-brd__section-item h3 {
  color: var(--text-muted) !important;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Jost', sans-serif;
}

.alya-brd__content {
  line-height: 1.7;
  color: var(--text-light) !important;
}
.alya-brd__content h2 {
  color: var(--text-muted) !important;
}

.alya-brd__content h4 {
  color: var(--accent-teal) !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
}

.alya-brd__content ul, .alya-brd__content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.alya-brd__content li {
  margin-bottom: 0.5rem;
  color: var(--text-muted) !important;
}

.alya-brd__content p {
  margin-bottom: 1rem;
}

.alya-brd__content blockquote {
  border-left: 4px solid #3498db;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #666;
}

.alya-brd__source {
  display: block;
  margin-top: 1rem;
  color: #888;
  font-style: italic;
  font-size: 0.9rem;
}

.alya-brd__document-summary {
  background: var(--bg-blueprint);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.alya-brd__summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.alya-brd__stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--bg-blueprint);
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.alya-brd__stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-teal);
  display: block;
}

.alya-brd__stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .alya-brd__products-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
  }

  .alya-brd__product-card {
      padding: 1.5rem;
  }

  .alya-brd__product-title {
      font-size: 1.2rem;
  }

  .alya-brd__summary-stats {
      grid-template-columns: repeat(2, 1fr);
  }

  .alya-brd__stat-number {
      font-size: 1.5rem;
  }
}
.template-preview-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.template-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-color: #007bff;
}

.template-icon {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.template-features {
  min-height: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.alya-brd__actions .dropdown-toggle::after {
  margin-left: 0.5em;
}

.alya-brd__actions .dropdown-menu {
  min-width: 188px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: none;
  border-radius: 8px;
}

.alya-brd__actions .dropdown-item {
  padding: 0.75rem 1rem;
  transition: background-color 0.2s;
}

.alya-brd__actions .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #495057;
}

.alya-brd__actions .dropdown-header {
  font-weight: 600;
  color: #6c757d;
  font-size: 0.875rem;
}

#pdfLoadingIndicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

#pdfErrorMessage {
  border-radius: 8px;
  border: none;
}

/*.bg-green {
  background-color: #28a745 !important;
}

.bg-green:hover {
  background-color: #218838 !important;
}*/