@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

*{
  font-family: "Jost", sans-serif;
  font-optical-sizing: auto;
  padding: 0;
  margin: 0;
}
:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-blueprint: #3b3f4757;
    --text-light: #e0e0e0;
    --text-muted: #b0b0b0;
    --accent-blue: #4a9eff;
    --accent-teal: #20b2aa;
    --chat-bg: #2d2d2d;
    --message-bg: #3a3a3a;
    --border-color: #444;
}
.fs-xs{
    font-size: 0.8rem;
}
.fs-sm{
    font-size: 0.9rem;
}
.logo-img{
    width:7rem;
}
.flex-align-center{
    display: flex;
    align-items: center;
}
.flex-item-between{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}
.btn:hover{
    animation: bounce 1s ease-in-out;
}
.sticky-navbar{
    position: sticky !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}
.nav-colored { background-color:#000; }
.cursor-pointer{cursor: pointer;}
.error-msg{
    display: block;
    color: crimson;
    font-size: 16px;
    margin: 5px 0px 10px 0px;
}
@keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  #business_type_page, #more_details_page{
    opacity: 0;
  transform: translateY(30px);
      animation: slideInUp 0.6s ease forwards;
      animation-delay: 0.2s;
      min-height: calc(100vh - 150px) !important;
  }
.banner-div{
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    min-height:10rem;
}
.text-custom-color h1, .text-custom-color h2, .text-custom-color h3, .text-custom-color h4, .text-custom-color h5,
.text-custom-color h6, .text-custom-color p, .text-custom-color span, .text-custom-color label, .text-custom-color ul li{
    color: #ccc8c8 !important;
}
#footer p{
    color:#7f7a7a !important;
}
.custom-border{
    border: 1px solid #3b3f47 !important;
}
.cyan-color{
    color:#04CFFF !important;
}
.purple-color{
    color:#9B5DE4 !important;
}
.pink-color{
    color: #DA0D90 !important;
}
.green-color{
    color: #15AEAE !important;
}
.bg-green{
    background-color: #15AEAE !important;
}
.bg-cyan{
    background-color:#04CFFF !important;
}
.bg-purple{
    background-color:#9B5DE4 !important;
}
.bg-pink{
    background-color: #DA0D90 !important;
}
.bg-voilet{
    background-color: #3f83f0;
}
.circle-box{
    display: block;
    width:8px;
    height: 8px;
}
.height-100{
    height: 100% !important;
}
.text-icon{
    width: 1.5rem;
    height: 1.5rem;
}
.colored-box-shadow{
    box-shadow: 8px 8px 38px 0 #352755, 
              -8px -8px 38px 0 #352755;
}
.text-gradient{
    background: linear-gradient(90deg, #21CCFE, #B257D8, #FD08A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* For Chrome, Safari */
    background-clip: text;                /* For Firefox */
    color: transparent;
}
.cta-button{
  background: linear-gradient(90deg, #3195F4, #6F48E4);
}
.custom-heading{
    display: inline-block;
    border:1px solid lightgray;
    border-radius: 20px;
    background-color: rgba(70, 59, 59, 0.377);
}
.select2-container{
    width: 100% !important;
    min-height: 36px !important;
}
.select2-selection{
    border: 1px solid #3b3f47 !important;
    min-height: 40px !important;
}
.select2-selection, .select2-dropdown, .select2-search__field, .select2-selection__clear, .select2-selection__arrow{
background-color: #202020 !important;
    color: white !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: white !important;
}
.select2-selection__choice__remove:hover{
    color: black !important;
}
.select2-selection__choice{
    background-color: #15AEAE !important;
    margin-bottom: 5px !important;
}
.select2-selection__choice__remove{
    color: white !important;
}
.select2-container .select2-search--inline .select2-search__field {
    height:40px;
    margin-top: 10px !important;
}
#select2-countrySelect-container, .select2-selection__arrow{
    margin-top: 5px !important;
}
.custom-input::placeholder {
  color: #adadad !important;
  opacity: 1 !important;
}
.select2-search__field::placeholder{
    color: #adadad !important;
  opacity: 1 !important;
  font-size: 14px;
}
.form-control.custom-input::placeholder,
.form-control.custom-input::-webkit-input-placeholder,
.form-control.custom-input::-moz-placeholder,
.form-control.custom-input:-ms-input-placeholder,
.form-control.custom-input:-moz-placeholder {
    color: white !important;
    opacity: 1 !important;
}
.bg-blue-gradient{
    background: linear-gradient(90deg, #3195F4, #6F48E4);
}
.active-operation{
    border-color: #3195F4 !important;
}
.arrow-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: black;
    border: 1.5px solid #52EAFD;
    border-radius: 50%;
    right: -3%;
    top: 45%;
}
.active-business-type{
    background-color: #15AEAE !important;
    color: white !important;
}
.active-business-type svg{
    color: white !important;
}
.custom-background{
    background: rgba(0,0,0,0.35);
}
.form-select {
    background: #000000 !important;
    border: 1px solid #333333 !important;
    color: #cccccc !important;
    border-radius: 6px;
    padding: 0.75rem;
}

.form-select:focus {
    background: #000000 !important;
    border-color: #555555 !important;
    color: #cccccc !important;
    box-shadow: 0 0 0 0.2rem rgba(85, 85, 85, 0.25) !important;
}
.form-select option,
.form-select optgroup {
  background-color: #000000 !important;
  color: #cccccc !important;
  color-scheme: dark;
}

/* Custom scrollbar for dropdown */
.form-select::-webkit-scrollbar {
    width: 8px;
}

.form-select::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.form-select::-webkit-scrollbar-thumb {
    background: #444444;
    border-radius: 4px;
}

.form-select::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

/* Grid overlay */
.blueprint-bg::before {
  content: "";
  position: absolute;
  background-image: 
    linear-gradient(transparent 95%, rgba(255,255,255,0.05) 95%),
    linear-gradient(45deg, transparent 5%, rgba(255,255,255,0.05) 5%),
    linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.05) 95%);
  background-size: 40px 40px;
  opacity: 0.3;
}
.width-3rem{
    width:3rem;
}
.bg-blueprint{
    background: #3b3f4757 !important;
}
input:focus {
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25) !important;
}
h1{
    font-size: 2rem !important;
}
h2{
    font-size: 1.75rem !important;
}
h3{
    font-size: 1.5rem !important;
}
/*.alya-brd__section .alya-brd__content{
    max-height: 50vh;
    overflow: auto;
}*/
.brd-container .alya-brd__container{
    height: calc(100vh - 110px) !important;
    overflow: auto;
}
.body-bg{
    padding: 0px !important;
    margin: 0px !important;
    background: var(--bg-darker) !important;
}
.custom-input{
    background: #202020 !important;
    color: white !important;
}
.main-container {
    display: flex;
    height: calc(100vh - 50px);
    position: relative;
}

.workflow-header {
    background: var(--bg-darker);
    padding: 10px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.workflow-step {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 15px;
    margin: 0 20px;
}
.blueprint{
    background: #0f0f0f17;
}
.blueprint .workflow-step {
    font-size: 18px !important;
}
.blueprint .workflow-step img {
    width: 2rem !important;
    height: 2rem !important;
}
.blueprint .workflow-arrow{
  font-size: 2rem;
}
.workflow-step span{
    margin-top: 5px;
    text-align: center;
}

.workflow-step.active {
    color: var(--accent-teal);
    font-weight: 500;
}

.workflow-arrow {
    color: var(--text-muted);
    font-size: 2rem;
}

.chat-section {
    background: var(--chat-bg);
    width: 35%;
    min-width: 25%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.chat-title {
    font-size: 18px;
    font-weight: 600;
}

.chat-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.chat-messages {
    background-color: var(--bg-darker);
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.message.user-message {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}
.message-content-div{
    max-width: 90%;
}
.message-content {
    background: white !important;
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    color: #2c2424;
}

.message-content p{
    margin-bottom: 0;
}

.user-message .message-content {
    background: #15AEAE !important;
    color: white;
    float: right;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.user-message .message-time {
    text-align: right;
}

.chat-input {
    margin-bottom: 0.7rem;
    padding: 7px;
    border-top: 1px solid var(--border-color);
}

.chat-field {
    position: relative;
}

.chat-field textarea {
    background: var(--message-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding-right: 2.5rem;
}

.chat-field textarea:focus {
    background: var(--message-bg);
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 0.2rem rgba(32, 178, 170, 0.25);
    color: var(--text-light);
}

.chat-field .btn {
    position: absolute;
    top: 13px;
    right:7px;
    background: var(--accent-teal);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.chat-field .btn:hover{
    background: var(--chat-bg) !important;
    border: 1px solid white;
    opacity: 1;
}
.chat-field .btn:disabled{
    background: var(--accent-teal);
    cursor: not-allowed;
    opacity: 0.7;
}
.document-section {
    flex: 1;
    background: var(--bg-darker);
    position: relative;
}
.bg-blueprint{
    background: #3b3f4757 !important;
}
.document-header {
    background: var(--bg-dark);
    padding: 10px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}
.document-section-box{
    padding: 10px;
    border: 1px solid var(--text-muted);
    border-radius: 20px;
    margin-bottom: 15px;
    background: #1d1c1c82;
}
.alert-header {
    background: linear-gradient(90deg, #3195F4, #6F48E4);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.alert-text {
    font-size: 14px;
    opacity: 0.9;
}

.blueprint-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blueprint-info i {
    font-size: 20px;
}

.blueprint-title {
    font-size: 18px;
    font-weight: 600;
}

.blueprint-subtitle {
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

.document-content {
    padding: 10px;
    background-color: var(--bg-dark) !important;
}
.document-box{
    background-color: #3B3F47;
    border: 1px solid var(--border-color);
    border-radius: 25px 25px 0px 0px;
    height: 100%;
    overflow: auto;
}
.icon{
    width: 1.5rem;
    height: 1.5rem;
}

.content-section {
    margin-bottom: 30px;
}

.content-section h3 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.content-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}
.content-section ul li {
    color: var(--text-light);
}

.generate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-teal) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    z-index: 1000;
}
.generate-btn:hover{
    background: var(--chat-bg) !important;
    border: 1px solid white !important;
}
.download-btn{
    background: var(--accent-teal) !important;
    border: none !important;
    color: white !important;
}

.resize-handle {
    position: absolute;
    right: 0;
    top: 80px;
    bottom: 0;
    width: 5px;
    background: var(--border-color);
    cursor: col-resize;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
}

.resize-handle:hover {
    opacity: 1;
    background: var(--accent-teal);
}

.chat-section:hover .resize-handle {
    opacity: 0.5;
}

.user-message-alignment{
    display: flex;
    align-items: end;
    flex-direction: column;
}
.animated-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    overflow: hidden;
    z-index: -1;
  }
  
  /* Grid overlay */
  .blueprint-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
      linear-gradient(transparent 95%, rgba(255,255,255,0.05) 95%),
      linear-gradient(45deg, transparent 5%, rgba(255,255,255,0.05) 5%),
      linear-gradient(90deg, transparent 95%, rgba(255,255,255,0.05) 95%);
    background-size: 50px 50px;
    opacity: 0.3;
  }
  
  /* Floating circles */
  .circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,255,0.4), transparent 70%);
    animation: blink 15s infinite ease-in-out;
  }
  
  .circle:nth-child(1) { width: 150px; height: 150px; top: 20%; left: 10%; animation-delay: 0s; }
  .circle:nth-child(2) { width: 100px; height: 100px; top: 60%; left: 70%; animation-delay: 3s; }
  .circle:nth-child(3) { width: 80px; height: 80px; top: 40%; left: 50%; animation-delay: 6s; }
  
  /* Floating squares */
  .square {
    position: absolute;
    width: 120px; height: 120px;
    border: 1px solid rgba(0,200,255,0.3);
    animation: spin 15s infinite ease-in-out;
  }
  
  .square:nth-child(4) { top: 5%; right: 5%; }
  .square:nth-child(5) { top: 70%; left: 5%; }
  
  @keyframes blink {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
  }
  @keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
.bg-green{
    background-color: #15AEAE !important;
}
.border-bottom-dotted{
    border-bottom: 2px dotted #15aeae80 !important;
}
.document-box h1{
    font-size: 2rem !important;
}
.document-box h2{
    font-size: 1.75rem !important;
}
.document-box h3{
    font-size: 1.5rem !important;
}
.document-box h4{
    font-size: 1.25rem !important;
}
.document-box h5{
    font-size: 1rem !important;
}
.alya-typing-message{
    display: flex;
    align-items: center;
}
.btn:hover{
    animation: bounce 0.6s ease-in-out;
}
@keyframes bounce {
    0%   { transform: translateY(0); }
    10%  { transform: translateY(-2px); }
    30%  { transform: translateY(-4px); }
    50%  { transform: translateY(0); }
    70%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
  }

  .alya-brd__container table{
    width: 100% !important;
  }

  .alya-brd__container table thead tr td, .alya-brd__container table thead tr th, 
.alya-brd__container table tbody tr td, .alya-brd__container table tbody tr th,
.alya-brd__container table tfoot tr td, .alya-brd__container table tfoot tr th{
    border: 1px solid #515151 !important;
    padding: 10px 20px !important;
}
tr:nth-child(even),th {
    background-color: transparent !important;
  }
.alya-brd__container table thead tr th{
    background-color: var(--text-muted) !important;
}
.alya-brd__charts-container{
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: stretch;
    margin-bottom: 1rem;
}
.alya-brd__chart-item{
    flex: 1;
    display: flex;
    padding: 1rem;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border: 1px solid #3b3f47 !important;
}
.alya-brd__charts-container .alya-brd__chart-item .alya-brd__chart-image img{
    width: 200px !important;
    aspect-ratio: 1/2 !important;
}
.alya-brd__container a{
    text-decoration: none !important;
    color: #448df7 !important;
}
.alya-brd__product-link a{
    color: white !important;
}
.alya-brd__product-title img{
    width: 1.5rem !important;
    height: 1.5rem !important;
}
.alya-brd__actions ul li a {
    color: inherit !important;
}