@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --header-bg: #333;
    --primary-color: #C20430;
    --text-dark: #2c3e50;
    --text-light: #95a5a6;
    --para-text: #575757;
}

body {
    background: #FFFFFF;
    min-height: 100vh;
    margin: 0;
    font-family: "Poppins";
}

/* Header Styles */

.main-wrap-header{

    background: var(--header-bg);
    padding: 0.75rem 2rem;
}

.top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .brand-title {
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    margin: 0;
} */

.nav-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-item, .nav-item:hover {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 12px;
    color: #CACACA;
    font-weight: 600;
}


.nav-item i {
    font-size: 1rem;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.new-evaluation-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    font-weight: 600;
}

.new-evaluation-btn:hover {
    background: #b8152f;
    color: white;
}

/* .main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
} */

/* Add these styles to your existing base.css */
.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
   
}

.dropdown-item {
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.user-section .nav-item {
    color: white;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
}

.user-section .nav-item:hover {
    background: rgba(255,255,255,0.1);
} 
.separation {
    margin: 0px 20px;
}
.user-details {
    font-size: 12px;
    font-weight: 600;
    text-align: end;
}
.user-details p {
    margin-bottom: 0;
    font-size: 10px;
    font-weight: 400;
    color: #CACACA;
}

.crq-head-text{
    font-size: 34px;
    font-weight: 600;
    color: var(--header-bg);
    text-align: center;
}
.upload-area h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.upload-area p {
    font-size: 12px;
    font-weight: 500;
    color: var(--para-text);
}
.main-content {
    min-height: calc(100vh - 74px);
    background-image: url(/static/images/page-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left;
    padding: 12px;
}
.main-content.feedback-logs-main {
    background-image: none;
  
}
.back-btn{
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.back-btn-inner {
    color: #575757;
    font-size: 14px;
    font-weight: 600;
}
/* .user-name-edit {margin: 0 auto;} */

.user-name-edit h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0px;
    white-space: nowrap;
    max-width: 97%;
    overflow: hidden;
    text-overflow: ellipsis;
       
}
.user-name-edit span{
    background: #252525;
    padding: 10px 15px;
    border-radius: 6px;
        max-width: 100%;
        justify-content: center;
    align-items: center;
}
.user-name-edit {
    max-width: 76%;
    display: flex;
    justify-content: center;
    border-radius: 6px;
}
.feedback{
background: #575757;
    padding: 10px 15px;
    border-radius: 6px;
}

.feedback h4 {
    line-height: 15px;
    font-size: 12px;
    margin-bottom: 0px;
}
/*view report css*/
.report-card {
    background: white;
    border-radius: 16px;
    padding: 34px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    position: relative;
}

.report-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #C20430;
    color: white;
}

.report-card:hover .share-icon{
    display: none;
}
.report-card:hover .share-icon-hover{
    display: block;
}

.report-card .share-icon-hover{
    display: none;
}


.report-card:hover .uplaod-icon{
    fill: #fff;
}

.report-card:hover .circle-stroke{
    stroke: #fff;
}

.report-card:hover .text-muted,
.report-card:hover .last-updated {
    color: rgba(255,255,255,0.8) !important;
}

.stats-row {
    display: flex;
    margin-top: 24px;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    font-size: 1.2rem;
}

.stat-count {
    font-size: 14px;
    font-weight: 700;
}

.last-updated {
    font-size: 10px;
    color: var(--header-bg);
    margin-top: 5px;
    transition: color 0.3s ease;
    padding: 4px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.action-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    z-index: 2;
}

.new-evaluation-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
}
.report-card-wrap {
    border-radius: 20px;
    background-color: #00000014;
    padding: 6px;
}
.report-card h3 {
    font-size: 24px;
    font-weight: 700;
    max-width: 90%;
    word-break: break-word;
}
.stat-item p {
    margin-bottom: 0;
    font-size: 12px;
}
/*End view report css*/
/*modal*/

.custom-modal .modal-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 16px 32px -8px rgba(0, 0, 0, 0.1);
}

.custom-modal .modal-header {
    border-bottom: 0;
    padding: 24px 24px;
}

.custom-modal .modal-title {
    font-size: 20px;
    font-weight: 600;
}

.custom-modal .btn-close {
    opacity: 1;
}

.custom-modal .modal-body {
    padding: 0px 24px;
    font-size: 16px;
    font-weight: 400;
}
.custom-modal .modal-body p {
    font-size: 14px;
}
.custom-modal .modal-footer {
    border-top: 0;
}
.custom-modal .modal-footer .btn {
    background: #B30021;
    color: #fff;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}
.custom-modal .modal-footer .btn {
    background-color: #B30021;
    color: #fff;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
}

.custom-modal .modal-footer .btn-outline{
background-color: transparent;
color: var(--para-text);
border: 1px solid #BBBBBB;
}
/*end modal*/

/*template css*/
.btn-outline{
background-color: transparent;
color: var(--para-text);
border: 1px solid #BBBBBB;
font-weight: 600;
font-size: 14px;
color: #575757;
line-height:24px;
border-radius: 6px;
}
.template-wrap h2 {
    font-size: 24px;
    font-weight: 700;
}
/*template css*/

/*report-details*/
.chat-container {
    border-radius: 10px;
    overflow: hidden;
    /* height: calc(100vh - 250px); */
    display: flex;
    flex-direction: column;
}

.chat-messages {
    overflow-y: auto;
}
.message-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.message {
    margin-bottom: 10px;
    max-width: 90%;
    position: relative;
}

/* .message-content {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
} */

/* AI message styling */
.ai-message {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}

.ai-message .message-content {
    background-color: white;
    border-left: 4px solid #28a745;
    border-right: 4px solid #28a745;
}

/* .ai-message::before {
    content: "AI Analysis";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
} */

/* User message styling */


.msg-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.msg-content .static-msg {
    font-weight: 600;
    font-size: 12px;
    color: #333;
}

.msg-common {
    border: 1px solid #0000001A;
    background: #f4f4f4;
    font-size: 16px;
    font-weight: 400;
    display: inline-block;
    max-width: 680px;
    padding: 8px 16px;
    border-radius: 16px 16px 16px 2px;
}

/* Initial analysis styling */
.initial-analysis {
    margin-right: auto;
    max-width: 100%;
    border-radius: 16px 2px 16px 16px;
}

.initial-analysis-msg{
    border-radius: 20px 20px 16px 16px;
    padding: 4px;
   
}

.chat-scroll::-webkit-scrollbar-track
{
	border-radius: 10px;
	background-color: transparent;
}

.chat-scroll::-webkit-scrollbar
{
	width: 5px;
	background-color: transparent;
}

.chat-scroll::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	background-color: #3D3D3D;
}
/* .initial-analysis .message-content {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: 4px solid #6c757d;
} */



.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.suggestion-chip {
    background-color: #e9ecef;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.suggestion-chip:hover {
    background-color: #dee2e6;
}

.action-buttons {
    display: flex;
    gap: 10px;
}
.message-content .card-header {
    padding: 6px 16px;
    margin-bottom: 0;
    background-color: #333333;
    border-bottom: 1px solid #999999;
    border-radius:16px 16px 0px 0px;
}
.message-content {
    border: 1px solid #0000001A;
    border-radius: 16px;
}
.markdown-content {
    overflow-x: auto;
}
.initial-analysis .card{
    background-color: transparent !important;
}
.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.markdown-content th 
 {
    border: none !important;
    padding: 8px 0px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}
.markdown-content td{
    border: none !important;
    padding: 8px 0px;
    text-align: left;
    font-size: 12px;
    font-weight: 400; 
}

/* .markdown-content th {
    background-color: #f8f9fa;
} */

.chat-input {
    padding: 0px;
    margin-top: 40px;
}

.input-group {
    position: relative;
}

.form-control {
    border-radius: 20px;
    padding-right: 60px;
}

.send-button {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.chat-history-divider {
    display: flex;
    align-items: center;
    margin: 40px 0;
}

.chat-history-divider hr {
    flex-grow: 1;
    border-top: 1px solid #dee2e6;
}

.chat-history-label {
    padding: 0 15px;
    color: #6c757d;
    font-weight: 500;
}

.timestamp {
    font-size: 11px;
    color: #6c757d;
    margin-top: 5px;
    text-align: right;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Floating reply button styling */
.selection-reply-button {
    position: absolute;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.2s;
}

.selection-reply-button button {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.user-message {
    background-color: #f0f8ff;
    border-left: 3px solid #007bff;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.assistant-message {
    background-color: #f8f9fa;
    border-left: 3px solid #28a745;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.chat-timestamp {
    font-size: 0.8em;
    color: #6c757d;
    margin-bottom: 5px;
}

.chat-container {
    /* max-height: 600px; */
    overflow-y: auto;
    margin-bottom: 20px;
    border-radius: 2px 16px 16px 16px;
}

.copy-response-btn {
    transition: all 0.3s ease;
}
.chat-scroll {
    height: calc(100vh - 330px);
    overflow-y: auto;
    padding-right: 10px;
}
/* .copy-response-btn:hover {
    background-color: #f8f9fa;
} */

.response-content {
    padding: 16px;
    background: #fff;
    border-radius: 16px 16px 16px 16px;
}
.response-content h2 {
    font-size: 20px;
    margin-bottom: 16px;
}
.response-content p {
    font-size: 14px;
}
/* Container layout */


/* Main content area */
.main-content {
    flex: 1;
    min-width: 0; /* Prevent content from overflowing */
}

/* Right panel styling */
.right-panel {
position: fixed;
right: 0;
top: 0;
width: 300px;
height: calc(100vh - 74px);
background: white;
border-left: 1px solid #dee2e6;
overflow: hidden;
margin-top: 64px;
border: 1px solid #0000001A;
border-radius: 16px 0px 0px 16px;
padding: 55px 10px 15px 15px !important;
}

.panel-tabs {
display: flex;
border-bottom: 1px solid #dee2e6;
}

.tab-btn {
flex: 1;
padding: 12px 12px;
border: none;
background: none;
color: var(--para-text);
font-weight: 600;
position: relative;
font-size: 13px;
}


.tab-btn.active::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
right: 0;
height: 2px;
background: var(--primary-color);
}

.tab-content {
    height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 16px 0px;
}

.tab-content.active {
display: block;
}

.inner-scroll .tab-content::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

.inner-scroll .tab-content::-webkit-scrollbar
{
	width: 0px;
	background-color: #F5F5F5;
}

.inner-scroll .tab-content::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #555;
}


/* File item styling */
.file-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 10px;
border-radius: 8px;
margin-bottom: 0.5rem;
transition: all 0.2s;
background: #F4F4F4;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-details {
    display: flex;
    flex-direction: column;
}

.file-name {
font-weight: 600;
font-size: 14px;
color: var(--header-bg);
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.file-size {
    font-size: 10px;
    color: var(--para-text);
}

.file-actions {
    display: flex;
    gap: 5px;
}



.tab-content {
    padding-top: 20px;
}

/* Suggestion Section Styling */
.suggestion-section {
    margin-top: 10px;
    padding: 0px 16px;
}

.suggestion-tag {
    background: #F8E6EA;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 16px 16px 0px 2px;
    margin-bottom: 2px;
    border: 1px solid #0000001A;
    
}

.suggestion-tag svg {
    margin-right: 5px;
}

.suggestion-tag span {
    font-size: 12px;
    font-weight: 600;
    color: var(--header-bg);
}

.params-dropdown {
    display: inline-block;
    align-items: center;
    background-color: #f8e6ea;
    padding: 8px 12px;
    border-radius: 2px 16px 16px 16px;
    cursor: pointer;
    color: #333;
    font-weight: 400;
    border: 1px solid rgba(194, 4, 48, 0.1);
}

.params-dropdown svg {
    transition: transform 0.3s;
}

.params-dropdown.active svg {
    transform: rotate(180deg);
}

.params-content {
    display: none;
    background-color: #f8e6ea;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(194, 4, 48, 0.1);
}

.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box input {
    width: 100%;
    padding: 10px 35px 10px 15px;
    border: 1px solid #D0D5DD;
    border-radius: 4px;
    box-shadow: 0px 2px 1px 0px #1018280D;
}
.search-box input:focus-visible{
    outline: none;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
}

.key-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.key-column {
    flex: 1;
}

.key-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.key-item input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #C20430;
}

.key-item label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
}
.upload-tag {
    text-align: end;
    
}

.loader-container h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
}
.upload-tag p {
    background: #F4F4F4;
    border: 1px solid #0000001A;
    display: inline-block;
    min-width: 350px;
    text-align: left;
    padding: 12px 16px;
    border-radius: 16px 2px 16px 16px;
    font-size: 16px;
    color: var(--header-bg);
}
.chat-input textarea {resize: none;border: none;background: transparent;}
.chat-input textarea:focus{
    border: none;
    box-shadow: none;
    background-color: transparent;
        min-height: 50px;
}
.chat-input .input-group {
    border: 1px solid #0000001A;
    border-radius: 50px;
    background: #fff;
    height: 80px;
    padding: 0px 20px;
}
.msg-send {
    z-index: 999;
    background: #C20430;
    height: 60px;
    width: 60px;
    border-radius: 100%;
    position: absolute;
    top: 10px;
    right: 14px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*report details*/

/* .left-right-spacing{
    width: calc(100% - 200px);
} */
.text-truncate {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feedback-section {
    padding: 10px 12px;
    background: #0000000A;
    display: flex;
    justify-content: space-between;
    border-radius: 16px;
}

.feedback-icon a {
    text-decoration: none;
}

.feedback-icon {
    display: flex;
    gap: 8px;
}
.feedback-link, .feedback-link:hover{
    color: #C20430;
    font-size: 12px;
    font-weight: 500;
}
.astrick{
    color: #C20430;
}
.feedback-text label{
font-size: 12px;
font-weight: 600;
color: #575757;
margin-top: 24px;
}
.modal-feedback-section {
    background: #0000000A;
    padding: 8px 12px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}
.modal-feedback-section a {
    text-decoration: none;
}
.feedback-text textarea {
    padding: 10px;
    border-radius: 6px;
}
.error textarea{
border: 1px solid #E72323;
}
.error input{
border: 1px solid #E72323 !important;
}
.feedback-section.feedback-success{
    background-color: #34C75933;
}
.error-msg {
    color: #E72323;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    display: flex;
    gap: 2px;
}
.overlay {
    background: #000;
    height: 100vh;
    width: 100vw;
    position: fixed;
    left: 0;
    top: 0;
    opacity: 0.6;
    z-index: 2;
}
.initial-analysis-msg .message-content .card-header {
    border-radius: 0px 16px 0px 0px;
}

/*Feedback Logs*/
.right-side-logs {
    padding: 24px;
    background: #F4F4F4;
}
.btn-primary, .btn-primary:hover {
    background: var(--primary-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.btn-primary-outline, .btn-primary-outline:hover {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px; 
    background: transparent !important;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}
.form-input .form-select {
    border: 1px solid #D0D5DD;
    box-shadow: 0px 2px 1px 0px #1018280D;
    height: 44px;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
}
.report-wrap h2 {
    font-size: 24px;
    font-weight: 600;
}
.report-wrap small {
    font-size: 16px;
    font-weight: 400;
}
.report-wrap {
    background: #fff;
    padding: 20px 20px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    height: calc(100vh - 180px);
    overflow-y: auto;
}
.left-side-logs {
    padding: 24px;
    background: #ffffff;
    height: calc(100vh - 64px);
}
.left-side-logs h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 40px;
}

.username-logs p {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #575757;
}

.username-logs {
    display: block;
    margin-bottom: 24px;
}
.username-logs h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
      
}
.note-section {
    font-size: 12px;
    margin-bottom: 24px;
    display: block;
    background: #F4E3A1;
    padding: 8px;
    border-radius: 4px;
}


/*End Feedback Logs*/

.page-wrap {
    margin-top: 24px;
    padding-bottom: 40px;
}
.page-head h2 {
    font-size: 24px;
    font-weight: 700;
}
.custom-table .table-head th {
    background: #575757;
    color: #fff;
    font-size: 12px;
    font-weight: 600 !important;
    padding: 11px 16px;
}

.table-head th:first-child {
border-radius: 4px 0px 0px 4px;
}

.table-head th:last-child {
border-radius: 0px 4px 4px 0px;
}
.custom-table {
    background: #FFFFFF;
    padding: 4px;
    box-shadow: 0px 16px 32px 0px #0000001A;
}
.custom-table table {
    width: 100% !important;
    background: #F5F5F0;
}
.custom-table th input[type="text"] {
    border: 1px solid #D0D5DD;
    box-shadow: 0px 2px 1px 0px #1018280D;
    border-radius: 6px;
}
.custom-table tbody tr {
    background: #fff !important;
}
.custom-table th input[type="text"]:focus, .custom-table th input[type="text"]:focus-visible {
    outline: none !important;
}
.custom-table tbody tr td {
    padding: 10px 16px !important;
    border-bottom: 0 !important;
}

.page-wrap .form-switch .form-check-input:checked {
    background-color: #597E26;
    border-color: #597E26;
    height: 20px;
    width: 32px;
}

.page-wrap .form-switch .form-check-input {
    width: 32px;
    height: 20px;
    background-color: #575757;
    border: #575757;
}

.form-switch .form-check-input {
    width: 2em;
    margin-left: -2.5em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
}

.textsuccess{
    color: #333333 !important;
}
.custom-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
}

.dataTables_info {
  order: 2; /* Push it to the right */
}

.dataTables_paginate {
  order: 1; /* Push it to the left */
}
.custom-pagination {
    background: #00000014;
    border-radius: 6px;
    padding: 10px 16px;
}
.custom-pagination .dataTables_info {
    font-size: 13px;
    font-weight: 500;
    color: #575757 !important;
    padding-top: 0 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled.previous{
    background-image: url(/static/images/page-previous.svg);
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px 10px;
        bottom: 8px;
    
}
.custom-pagination .dataTables_paginate {
    display: flex;
    align-items: center;
    padding-top: 0 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled.next{
    background-image: url(/static/images/page-next-active.svg);
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px 10px;
    
}
.custom-pagination .dataTables_paginate .paginate_button.previous:hover
{
    background-color: transparent !important;
    background-image: url(/static/images/page-previous.svg) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
     border: none !important;
}

.custom-pagination .dataTables_paginate .paginate_button.next:hover{
background-color: transparent !important;
    background-image: url(/static/images/page-next.svg) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous{
    background-image: url(/static/images/page-previous-active.svg);
    background-position: center;
    background-repeat: no-repeat;
    padding: 0px 10px;
   bottom: 8px;
    
}


.custom-table .table.dataTable>thead>tr>th{
        border-bottom: none !important;
}
 .custom-table table.dataTable.no-footer{
    border-bottom: 1px solid #E9E9E9 !important;
}
.custom-table tbody tr td {
    padding: 10px 12px !important;
    border-bottom: 0 !important;
    border-top: 1px solid #E9E9E9;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next{
    background-image: url(/static/images/page-next.svg);
    background-position: center;
    background-repeat: no-repeat;
        padding: 0px 10px;
       left: 140px;
    bottom: 8px;
}

.custom-pagination .dataTables_paginate span {
    align-items: baseline;
    display: flex;
    left: 90px;
    bottom: 8px;
}
    .custom-pagination .dataTables_paginate span a.paginate_button.current {
        background: #c20430 !important;
    color: #fff !important;
    padding: 0px 10px !important;
    height: 25px;
    border-radius: 4px;
    border: none !important;
    font-size: 13px;
    line-height: 25px;
}


.custom-pagination .dataTables_paginate .paginate_button.previous{
 text-indent: -9999px;
  overflow: hidden;
}
.custom-pagination .dataTables_paginate .paginate_button.next{
 text-indent: -9999px;
  overflow: hidden;
}


.custom-pagination .dataTables_paginate span a.paginate_button, .custom-pagination .dataTables_paginate span a.paginate_button:hover {
    background: transparent !important;
    color: #575757 !important;
    padding: 0px 10px !important;
    height: 25px;
    font-size: 13px;
    line-height: 23px;
    border: none !important;
}

.custom-pagination span a.dataTables_paginate .paginate_button.current.current {
    background-color: #c20430 !important;
    padding: 0px 10px !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
}
/* REMOVE background color on hover for first (<<) and last (>>) pagination buttons */
.custom-pagination .dataTables_paginate .paginate_button.first,
.custom-pagination .dataTables_paginate .paginate_button.last {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    text-indent: 0 !important; /* allow icon visibility */
    overflow: visible !important;
    padding: 0px 10px;
}

/* REMOVE black hover effect and add hover color on first (<<) and last (>>) pagination buttons */ 
.custom-pagination .dataTables_paginate .paginate_button.first:hover,
.custom-pagination .dataTables_paginate .paginate_button.last:hover {
    background-color: #e9e9e9 !important; /* match screenshot */
    background-image: none !important;
    box-shadow: none !important;
    border-radius: 4px;
    color: #333 !important;
    border: none !important;
    transition: background-color 0.2s ease;
}
/* COMMON HOVER EFFECT for all paginate buttons */
.custom-pagination .dataTables_paginate .paginate_button:not(.current):hover {
    background-color: rgba(0, 0, 0, 0.05) !important; /* light gray on hover */
    color: #000 !important;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.custom-table a.prompt-edit-link {
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
    color: #C20430;
}

.custom-check .form-check-input:checked {
    background-color: #ffffff;
    border-color: #c20430;
}

.custom-check .form-check-input {
    height: 20px;
    width: 20px;
}
.custom-check {
    display: flex;
    align-items: end;
    gap: 8px;
    position: relative;
}
.custom-check .form-check-input:checked[type=radio]:after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #c20430;
    border-radius: 50px;
    top: 8px;
    left: 4px;
}
.custom-check .form-check-input:checked[type=radio] {
    background-image: none !important;
}

.custom-input-wrap label {
    font-size: 12px;
    font-weight: 600;
    color: #575757;
    display: block;
}

.custom-input-wrap .form-control {
    width: 100% !important;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 2px 1px 0px #1018280D;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    padding: 9px 10px;
}
.custom-input-wrap .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    line-height: 28px !important;
    padding: 9px 10px !important;
}
.custom-input-wrap .select2-container--default .select2-selection--single {
    border: 1px solid #D0D5DD;
    height: 44px;
    box-shadow: 0px 2px 1px 0px #1018280D;
    border-radius: 6px;
}
.custom-input-wrap .select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 82%;
    border: none !important;
    background-image: url(/static/images/down-arrow.svg);
    height: 14px;
    width: 14px;
    background-repeat: no-repeat;
    left: 2px !important;
}
.back-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.created_date_span {
    color: #575757;
    font-size: 14px;
    font-weight: 600;
}
.markdown-content h3, .markdown-content h4, .markdown-content h5, .markdown-content h6 {
    font-size: 16px;
    font-weight: 700;
    margin: 12px 0px;
}
.back-link:hover {
    color: var(--primary-color);
}
.MY-30 {
    margin: 30px 0px;
}
.form-wrap {
    background: #00000014;
    padding: 24px;
    border-radius: 20px;
}
.initial-analysis .card-header {
    background: #333333;
    border-radius: 16px 16px 0px 0px;
    color: #fff;
}
.initial-analysis .card-header h5 {
    font-size: 14px;
    font-weight: 600;
}
.overlay{
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #000;
    opacity: 0.4;
    top: 0;
    left: 0;
}
.custom-toast .toast-body {
    padding: 0px 16px;
    word-wrap: break-word;
    color: #333;
    font-weight: 600;
}
.custom-toast {
    background-color: #fff;
    opacity: 1;
    border: 1px solid #E4E7EC !important;
    border-radius: 4px;
    padding: 8px 0px;
    width: 384px;
}


.custom-toast .toast-body {
   position: relative;
   display: flex;
   gap: 10px;
    align-items: center;
}



.custom-toast.text-bg-success .toast-icon {
    content: '';
    background-image: url(/static/images/success-icon.svg);
    width: 40px;
    height: 40px;
    display: inline-block;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-left: 14px;
}

.custom-toast.text-bg-danger .toast-icon {
    content: '';
    display: inline-block;
    background-image: url(/static/images/danger-icon.svg);
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-left: 14px;
}

.custom-toast.text-bg-warning .toast-icon {
    content: '';
    display: inline-block;
    background-image: url(/static/images/warning-icon.svg);
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    flex-shrink: 0;
    margin-left: 14px;
}
.custom-toast.text-bg-success {
    border-left: 6px solid #04802E !important;
}
.custom-toast.text-bg-danger {
    border-left: 6px solid #CB1A14 !important;
}

.custom-toast.text-bg-warning {
    border-left: 6px solid #DD900D !important;
}
.full-prompt-text p {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.neutral-icon.selected .outline-svg{
    display: none;
}
   
.neutral-icon.selected .background-svg{
    display: block;
    margin-top: 2px;
}

.neutral-icon .background-svg{
    display: none;
}

.good-icon.selected .outline-svg{
    display: none;
}
   .good-icon.selected .background-svg{
    display: block;
    margin-top: 2px;
}
.good-icon .background-svg{
    display: none;
}

.bad-icon.selected .outline-svg{
    display: none;
}
   
.bad-icon.selected .background-svg{
    display: block;
    margin-top: 3px;
}
.bad-icon .background-svg{
    display: none;
}

.response-summary .form-label {
    color: #575757;
    font-weight: 400;
}

.response-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.response-item {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 10px 8px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #333333;
}

.icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.count {
   font-weight: 600;
   margin-left: 2px;
}

.feedback-container {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    background: transparent;
}

.feedback-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: #F9F9F8;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #F3F3F3;
  font-size: 14px;
  font-weight: 400;
  color: #333333;
}

/*pagination*/
.pagination-container {
    background-color: #00000014;
    padding: 8px 12px;
    border-radius: 6px;
}
/*pagination*/


    .search-container {
        position: relative;
        margin-bottom: 2rem;
    }
    
    .search-input {
    width: 100%;
    max-width: 400px;
    padding: 10px 45px 10px 12px;
    border: 1px solid #D0D5DD;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 260px;
    box-shadow: 0px 2px 1px 0px #1018280D;
    }
    
   
    
    .search-button {
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
   
    
    .search-button svg {
        width: 16px;
        height: 16px;
        fill: white;
    }
    
    .loading-spinner {
        display: none;
        text-align: center;
        padding: 20px;
    }
    
    .pagination-container {
        margin-top: 2rem;
    }
    
    .pagination .page-link {
        background-color: transparent !important;
        color: #333333;
        padding: 4px 12px;
        margin: 0 2px;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        font-size: 13px;
        font-weight: 500;
    }
    
    .pagination .page-link:hover {
        background-color: #f8f9fa;
        border-color: #C20430;
        color: #C20430;
    }
    
    .pagination .page-item.active .page-link {
        background-color: #C20430 !important;
        border-color: #C20430 !important;
        color: white;
    }
    
    .pagination .page-item.disabled .page-link {
        color: #ccc;
        cursor: not-allowed;
    }
    
    .pagination-info {
        color: #575757 !important;
        font-size: 13px;
        font-weight: 500;
    }
    .page-head{
        font-size: 24px;
        font-weight: 700;
        color: #333333;
    }

    .main-textarea{
        position: relative; 
    }

    .main-textarea label {
        position: absolute;
        top: 50%;
        left: 20px;
        transform: translateY(-50%);
        color: #888;
        pointer-events: none;
        transition: 0.1s;
      }

      .main-textarea.active label {
        opacity: 0;
      }
      .main-textarea textarea:focus + label {
        opacity: 0;
      }

/*Base css respomsive*/
@media (max-width: 1540px) {
    .container-fluid.py-4 {
        padding-top: 4px !important;
    }
    .upload-tag p {
        padding: 6px 16px;
        font-size: 12px;
    }
    .message-content .card-header {
        padding: 2px 16px;
    }
    .message-content h5 {
        font-size: 12px;
    }
    .suggestion-tag span {
        font-size: 10px;
    }
    .suggestion-tag {
        padding: 1px 12px;
    }
    .params-dropdown {
        padding: 6px 12px;
        font-size: 10px;
    }
    .suggestion-section {
        margin-top: 10px;
    }
    .msg-send {
        height: 35px;
        width: 35px;
        top: 12px;
        right: 14px;
    }
    .chat-input textarea {
        height: 50px;
        overflow-y: auto;
    }
    .chat-input .input-group {
        height: 60px;
    }
    .chat-scroll {
        height: calc(100vh - 240px);
    }
    .msg-common {
        font-size: 12px;
        padding: 4px 16px;
        margin-bottom: 8px;
    }
    .chat-input {
        margin-top: 15px;
    }
}
/*Base css respomsive*/