* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Good practice to include this */
}
html {
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900; 
    font-display: swap;  
}

body {
    font-family: 'Outfit', sans-serif;
}
.main-wrapper {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px;
}
.main-wrapper .card {
    border: 4px solid #fff6f6;
    border-radius: 40px;
    padding: 30px;
    background: rgb(229 229 229 / 66%);
}
.main-wrapper .card.hint-card {
    max-width: 800px;
    min-width: 740px; 
}
.main-wrapper .card {
    margin: 0px auto;
}
.main-wrapper .card h2 {
    font-size: 36px;
    font-weight: 500;
    margin: 0px;
}
.main-wrapper .card h2 span {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 1), rgb(97 97 97 / 43%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.main-wrapper .card p.title_des {
    font-size: 24px;
    font-weight: 300;
    color: rgba(102, 102, 102, 1);
    margin-bottom: 26px;
}
.main-wrapper .card p span{
    font-weight: 400;
}
.main-wrapper .card .title h4 span {
    background: #ffffff80;
    padding: 6px 10px;
    border-radius: 8px;
}
.main-wrapper .card .title h4 {
    font-size: 22px;
    margin-bottom: 30px;
}
.main-wrapper .card ul.hint {
    list-style: none;
    margin-left: 0;
}
.main-wrapper .card ul.hint li {
    font-size: 22px;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    align-items: center;
}
.main-wrapper .card ul.hint li span {
    background-image: linear-gradient(to bottom, rgba(8, 8, 8, 1), rgb(97 97 97 / 43%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.main-wrapper .card ul.hint li div {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #ffffff80;
    text-align: center;
    border-radius: 4px;
}
.main-wrapper .card ul.hint li {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}
.main-wrapper .card .content {
    text-align: center;
}
.main-wrapper .card .card-footer .content p {
    font-size: 16px;
    max-width: 350px;
    margin: 0pc auto;
    line-height: 20px;
}
.card.hint-card .button-section {
    text-align: center;
    margin-top: 15px;
}
.main-wrapper .card .card-footer {
    margin-top: 30px;
    border-top: 2px solid rgb(211 211 211);
    padding-top: 30px;
}
.main-wrapper .card .card-footer a {
    font-size: 16px;
    margin-top: 10px;
    display: inline-block;
    color: #000;
}
.main-wrapper .card.login-card .form-control {
    height: 60px;
    border: 1px solid rgba(229, 229, 229, 1);
    border-radius: 8px;
    font-size: 18px;
    padding-left: 60px;
    background: rgb(255 255 255 / 75%);
}
.main-wrapper .card.login-card .input-with-icon {
    position: relative;
}
.card.hint-card a.btn {
    width: 200px;
    text-transform: uppercase;
    font-size: 15px;
    margin: 0px auto;
}   
.main-wrapper .card.login-card .input-with-icon img {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 30px;
    height: 34px;
}
.main-wrapper .card.login-card label {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
.button-section .btn {
    background: rgba(51, 51, 51, 1);
    text-align: center;
    color: #fff;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    border: none;
    padding: 11px;
    margin-top: 10px;
    border-radius: 8px;
}
.main-wrapper .card.login-card {
    min-width: 420px;
}
.main-wrapper .card.login-card p.title_des {
    font-size: 17px;
    font-weight: 300;
    color: rgba(102, 102, 102, 1);
    margin-bottom: 26px;
    text-align: center;
}
.main-wrapper .card.chat_card {
    padding: 0px;
    background: none;
    border: none;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn {
    /*display: flex;*/
    background: rgb(229 229 229 / 50%);
    border: 4px solid #fff6f6;
    border-radius: 40px;
    gap:25px;
    /*min-height: 220px;*/
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn.main-chat textarea.form-control {
    min-height: 220px;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn textarea.form-control {
    background: none;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn {
    display: grid;
    gap: 10px;
    margin: 5px 10px 5px 10px;
    grid-template-columns: repeat(4, 1fr);
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button {
    position: relative;
    padding: 7px;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    background: linear-gradient(to right, rgba(182, 182, 182, 1), rgba(229, 229, 229, 1));
    color: black;
    z-index: 0;
    overflow: hidden;
}

.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: white;
    border-radius: 14px; 
    z-index: -1;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .search-area {
    width: 100%;
    position: relative;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .search-area textarea.form-control {
    height: 100%;
    border: none;
    box-shadow: none;
    padding: 20px;
    border-right: 1px solid rgb(188 188 188);
    border-radius: 0px;
    color: #333;
    font-size: 16px;
}
/* .main-wrapper .card.chat_card {
    min-width: 740px;
    max-width: 740px;
} */
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button span {
    background-image: linear-gradient(to bottom, rgba(8, 8, 8, 1), rgb(97 97 97 / 43%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 26px;
}
.main-wrapper .card.chat_card p {
    font-size: 23px;
    margin-bottom: 20px;
    font-weight: 300;
}
.main-wrapper .card.chat_card span {
    font-weight: 700;
    color: rgba(102, 102, 102, 1);
}
.main-wrapper .card.chat_card h1 {
    color: rgba(51, 51, 51, 1);
    font-weight: 600;
}
.main-wrapper .card.chat_card button.btn {
    max-width: 250px;
}
.main-wrapper .card.chat_card .button-section {
    text-align: center;
    margin-top: 20px;
}
.main-wrapper .card.chat_card .suggest-section {
    text-align: right;
}
.main-wrapper .card.chat_card .suggest-section button.btn {
    border: none;
    background: #333333;
    font-size: revert;
    padding: 4px 10px;
    border-radius: 8px;
}
.main-wrapper .card.chat_card .suggest-section img {
    width: 20px;
}
.main-wrapper .card.chat_card.start_chat .send-btn {
    color: #fff;
    font-size: 20px;
    background: rgba(51, 51, 51, 1);
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 8px;
    position: absolute;
    right: 15px;
    bottom: 15px;
}
.main-wrapper .card.chat_card.start_chat .send-btn img {
    width: 16px;
    margin-left: 7px;
}
.main-wrapper .card.chat_card.start_chat .search-area-with-suggestion-btn .search-area textarea.form-control {
    border: none;
}
.main-wrapper .card.chat_card.start_chat p {
    margin-bottom: 30px;
}
.main-wrapper .card.chat_card.start_chat p {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 28px;
}
.main-wrapper .card.chat_card.start_chat {
    min-width: 900px;
}
.card.chat_card.start_chat .application-content P {
    font-size: 15PX;
    margin-bottom: 6px;
}
.card.chat_card.start_chat.application .document {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid rgb(194 194 194);
    padding: 15px 20px;
    border-radius: 40px;
    margin-top: 25px;
    margin-bottom: 15px;
}
.card.chat_card.start_chat.application .document a {
    color: rgba(102, 102, 102, 1);
    font-weight: 500;
    font-size: 20px;
    text-decoration: none;
}
.card.chat_card.start_chat.application .document .doc-link {
    display: flex;
    align-items: center;
    gap: 15px;
}
.card.chat_card.start_chat.application .document .no {
    background: rgba(245, 245, 245, 1);
    border: 1px solid rgb(233 233 233);
    padding: 7px 15px;
    font-weight: 500;
    border-radius: 6px;
}
.card.chat_card.start_chat.application .document .yes {
    background: rgba(102, 102, 102, 1);
    border: 1px solid rgba(102, 102, 102, 1);
    padding: 7px 15px;
    color: #fff;
    font-weight: 500;
    border-radius: 6px;
}
.card.chat_card.start_chat.application .document .action_yes_or_no {
    display: flex;
    gap: 5px;
    align-items: center;
}
.button-section.next {
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
}
.button-section.next a.btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 15px;
}
.button-section.next img {
    width: 25px;
}
.main-wrapper .container {
    position: relative;
}
 .tooltip-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.tooltip-box {
    position: absolute;
    top: 0px;
    left: -95px;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    white-space: nowrap;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.tooltip-wrapper:hover .tooltip-box {
    display: block;
}
.tooltip-box::after {
    content: "";
    position: absolute;
    top: 7px;
    right: -13px;
    border-width: 24px 10px 0px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    transform: rotate(275deg);
}
.tooltip-box span {
    display: block;
}
.tooltip-box b {
    font-weight: bold;
}
.suggest-section {
    position: absolute;
    top: 15px;
    right: 15px;
}
.tooltip-wrapper button.btn img {
    width: 18px;
}
.tooltip-wrapper button.btn {
    display: flex;
    align-items: center;
    gap: 8px;
}
.tooltip-wrapper button.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 245, 245, 1);
    border: 1px solid #e9e9e9;
    font-size: 20px;
    border-radius: 30px;
}
.tooltip-box span {
    font-size: 16px;
    line-height: 29px;
}
.btn-primary {
    background: rgba(160, 124, 71, 1) !important;
    border-color: rgba(160, 124, 71, 1) !important;
}
.main-wrapper .card.chat_card .send_with_voice .btn {
    position: relative;
}
.send_with_voice {
    display: flex;
    gap: 10px;
    justify-content: end;
    padding-top: 10px;
}
.send_with_voice .btn.voice img {
    margin-left: 0px !important;
}
.main-wrapper .card.chat_card .send_with_voice .btn.voice {
    padding: 8px 10px;
}
.main-wrapper .card.chat_card .send_with_voice .btn.btn-default {
    background: rgba(229, 229, 229, 1) !important;
    color: rgba(102, 102, 102, 1) !important;
    border: 1px solid rgba(102, 102, 102, 1) !important;
}
#chart-container {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
}
.column-chart {
    background: rgba(245, 245, 245, 1);
    padding: 16px;
    margin-top: 20px;
    max-width: 660px;
    border-radius: 12px;
}
.legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.legend-color {
    width: 12px;
    height: 12px;
    margin-right: 6px;
    border-radius: 50%;
}
.main-wrapper .card.chat_card.start_chat .chart-section h2 {
    font-size: 31px;
}
button.btn.generate_chart {
    background: rgba(102, 102, 102, 1);
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    margin-top: 10px;
    border-color: rgba(102, 102, 102, 1) !important;
}
.btn.active.focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn:active:focus, .btn:focus {
    outline: 0px auto -webkit-focus-ring-color;
    outline-offset: 0px;
}
.data-table-ssection table.table-responsive {
    max-width: 660px;
    width: 100%;
    border-color: #c0c0c0;
}
.data-table-ssection table th {
    font-size: 20px;
    background: #e9e9e9;
    padding: 10px 20px;
}
.data-table-ssection table td {
    font-size: 18px;
    padding: 10px 20px;
    background: #fff;
}
.data-table-ssection {
    margin-bottom: 40px;
}
.chart-section {
    margin-bottom: 30px;
}
.main-wrapper .card.chat_card.start_chat p span.ityped {
    color: #333;
    font-weight: 600;
}
.main-wrapper .welcome-section .content-area {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}
.main-wrapper .welcome-section .content-area> div {
    flex: 1;
}

.welcome-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    margin: 0px;
}
.welcome-section h2 span {
    background-image: linear-gradient(to right, rgba(8, 8, 8, 1), rgb(97 97 97 / 43%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}
.welcome-section h3 {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 30px;
}
.welcome-section h3 span {
    border: 1px solid rgba(182, 182, 182, 1);
    border-radius: 8px;
    padding: 7px 15px;
}
.main-wrapper .welcome-section .content-area .content-section.profile .media {
    max-width: 300px;
    text-align: center !important;
    margin: 0px auto;
}
.main-wrapper .welcome-section .content-area .content-section.profile .media img{
    width: 100%;
}
.main-wrapper .welcome-section .content-area .option {
    border: 4px solid rgba(229, 229, 229, 1);
    border-radius: 40px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    line-height: 1.2;
    color: rgba(51, 51, 51, 1);
    background: rgb(255 255 255);
    font-weight: 600;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: relative;
}
.main-wrapper .welcome-section .content-area .option .info {
    width: 45px;
    min-width: 45px;
    height: 55px;
    background: rgba(51, 51, 51, 1);
    color: #fff;
    font-size: 35px;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
}
.main-wrapper .welcome-section .content-area .option p {
    margin-bottom: 0px;
}
.main-wrapper .welcome-section .content-area .content-section {
    display: grid;
    gap: 90px;
}
.main-wrapper .welcome-section .content-area .option p {
    line-height: 27px;
}

.main-wrapper .welcome-section .content-area .option {
  border-radius: 45px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  line-height: 1.2;
  color: rgba(51, 51, 51, 1);
  background: transparent; /* Make background transparent to show the effect */
  font-weight: 600;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Rotating border ring */
.main-wrapper .welcome-section .content-area .option::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    background: conic-gradient(#ffffff, #333333, #ffffff);
    z-index: -2;
    animation: rotateBorder 9s linear infinite;
}

/* White inner mask (shows only the border ring) */
.main-wrapper .welcome-section .content-area .option::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 37px;
  z-index: -1;
}

/* Icon box */
.main-wrapper .welcome-section .content-area .option .info {
  width: 45px;
  min-width: 45px;
  height: 55px;
  background: rgba(51, 51, 51, 1);
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
}

/* Rotate animation */
@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.main-wrapper {
  position: relative;
  width: 100%;
   background-size: cover;
  background-attachment: fixed !important;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}
.main-wrapper .card.login-card {
    background: rgb(229 229 229);
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button.mode-btn.p-btn.active::before {
    background: #000;
}
.main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button.mode-btn.p-btn.active {
    color: #fff;
}
.card.chat_card.start_chat.application {
    background: #fff;
    padding: 15px 25px 15px !important;
}

@media only screen and (max-width: 767px) {
    .main-wrapper .card.chat_card.start_chat {
        min-width: 100%;
    }
    .main-wrapper {
        padding: 40px 15px;
    }
    .card.chat_card.start_chat .application-content P {
       font-size: 14PX; 
    }
    .card.chat_card.start_chat.application .document a {
        font-size: 15px; 
    }
    .card.chat_card.start_chat.application .document .doc-link img {
        width: 23px;
    }
    .main-wrapper .card.chat_card.start_chat .send-btn {
       font-size: 16px; 
    }
    .main-wrapper .card.chat_card.start_chat .send-btn img {
       width: 16px;
    }
    .main-wrapper .card.chat_card {
       min-width: 100%;
    }
    .main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn button {
        width: 55px;
        font-size: 17px; 
    }
    .main-wrapper .card.chat_card p {
        font-size: 17px; 
    }
    .main-wrapper {
        background-position: center center !important;
    }
    .main-wrapper .card.chat_card .search-area-with-suggestion-btn {
       gap: 15px;
    }
    .main-wrapper .card.chat_card .search-area-with-suggestion-btn .hint-action-btn {
        gap: 10px;
        margin: 10px 10px 10px 0px;
    }
    .main-wrapper .card.chat_card .suggest-section {
        margin-bottom: 10px;
    }
    .main-wrapper .card.hint-card {
        min-width: 100%;
    }
    .main-wrapper .card h2 {
        font-size: 28px; 
    }
    .main-wrapper .card {
       padding: 20px; 
    }
    .main-wrapper .card ul.hint li {
        font-size: 15px; 
    }
    .main-wrapper .card ul.hint li div {
        width: 40px;
        min-width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .main-wrapper .card ul.hint li {
        margin-bottom: 10px;
    }
    .main-wrapper .card.login-card {
        min-width: 100%;
    }
    .main-wrapper .card.login-card p.title_des {
        font-size: 17px;
        margin-bottom: 14px; 
        font-size: 16px;
    }
    .button-section.next {
        position: relative; 
    }
    .button-section.next a.btn {
        margin-top: 20px;
    }
    .main-wrapper .card.chat_card.start_chat .chart-section h2 {
        font-size: 24px;
    }
    button.btn.generate_chart { 
        font-size: 15px; 
    }
    .chart-section {
        margin-bottom: 30px;
        text-align: center;
    }
    .data-table-ssection table th {
        font-size: 18px;
        background: #e9e9e9;
        padding: 6px 10px;
    }
    .data-table-ssection table td {
        font-size: 16px;
        padding: 6px 10px;
        background: #fff;
    }
    .main-wrapper .welcome-section .content-area {
        display: block; 
    }
    .main-wrapper .welcome-section .content-area .content-section {
        gap: 15px;
    }
    .main-wrapper .welcome-section .content-area .content-section.profile .media {
        margin: 15px auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .main-wrapper .card.chat_card.start_chat {
        min-width: 100%;
    }
    .main-wrapper {
        padding: 40px 25px;
    }
    .main-wrapper .card.chat_card.start_chat .chart-section h2 {
        font-size: 28px;
    }
    .main-wrapper .card.hint-card {
        max-width: 100%;
        min-width: 100%;
    }
    .button-section.next {
        position: relative !important;
        text-align: center;
        margin-top: 20px;
        width: 100%;
    }
    .main-wrapper .card h2
    {
        font-size: 30px;
    }
}

/* UPDATED CSS */