::-webkit-scrollbar {
    width: 3px; /* Width of scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #888; /* Thumb color */
    border-radius: 4px;
    border: 2px solid #f1f1f1; /* Optional: space around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff; /* Thumb color on hover */
}
p{
    line-height: 1.5;
}
.toast-container {
    position: fixed;
    top: 50px;
    margin-top: .9375rem;
    right: .9375rem;
    z-index: 1080;
}
.toast-container .toast{
    border: unset;
}
.toast.toast-success {
    background-color: #14a44d !important;
}

.toast.toast-error {
    background-color: #dd0000 !important;
}

.toast-body {
    color: #FFFFFF !important;
}

/*Loader*/
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*Loader*/

.nav-underline {
    border-bottom: 1px solid #c1c2c3;
}
.tab-error-count {
    background: #dd0000;
    color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    padding: 1px 6px;
    font-size: 11px;
    display: inline-block;
    top: -2px;
}
.dark-next-icon {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 1px solid #828282;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}
.custom-card{
    margin-bottom: 0.8rem;
}
.custom-card .card-body{
    padding: 10px;
}
.custom-card-header{
    padding: 6px 10px;
    background-color: #EDEDED;
}
.color-chart {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25px, 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}
.color-chart .color-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: border 0.2s, transform 0.2s;
}

.color-box.selected {
    border: 1px solid var(--primary) !important;
}

.color-chart .color-box .checkmark {
    display: none;
    color: #1b1b1b;
    font-size: 16px;
    font-weight: bold;
}

.color-box.selected .checkmark {
    display: block;
}

.color-box .checkmark {
    display: none;
    color: #1B1B1B;
    font-size: 16px;
    font-weight: bold;
}

.up-arrow {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #d4f4b1;
}
.down-arrow {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #FFD9CC;
}
.up-arrow.small {
    width: 23px;
    height: 23px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #d4f4b1;
}
.down-arrow.small {
    width: 23px;
    height: 23px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #FFD9CC;
}
.text-success {
    color: #14a44d !important;
}
.recent-activities-section {
    border-right: 1px solid #c5c5c5;
    padding: 10px 15px 10px 0;
    height: 70vh;
    overflow-y: auto;
}
.table-responsive .table td, .table-responsive .table th {
    padding: .3rem .5rem;
}
.nav-underline .nav-link {
    font-size: 15px;
}
.form-control {
    background: var(--card);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9rem;
    border-color: var(--border);
    height: 2.3rem;
    border-radius: 0.5rem;
}
.form-select {
    background-color: var(--card);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9rem;
    border-color: var(--border);
    height: 2.3rem;
    border-radius: 0.5rem;
}
.form-label {
    margin-bottom: 0.2rem;
}
.monitor-table td input {
    height: 30px;
    min-height: unset;
}

#monitor-slider .noUi-handle:after {
    left: 8px;
}

#monitor-slider .noUi-handle {
    background-color: white !important;
    border: 3px solid var(--primary) !important;
    height: 23px !important;
    width: 23px !important;
    border-radius: 50% !important;
    top: -6px !important;
    right: -10px;
}

.noUi-connect {
    background: var(--primary) !important;
}

#monitor-slider .noUi-handle:after, #monitor-slider .noUi-handle:before {
    content: "";
    display: none;
}

.noUi-target {
    height: 10px !important;
}

.monitor-value {
    color: #6D6E6F;
    margin-bottom: 8px;
    font-size: 15px;
}
.tagify.custom-tagify {
    height: 163px;
}
#monkeyTestDetailPanel .tagify.custom-tagify {
    height: 149px;
    overflow-y: auto;
}

.tag {
    display: inline-flex;
    align-items: center;
    background: #e0e0e0;
    padding: 2px 8px;
    border-radius: 6px;
    margin: 3px 2px;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    position: relative;
}

.tag .remove-tag {
    font-weight: bold;
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
    line-height: 14px;
}

.tag-input-wrapper input {
    border: none;
    flex: 1;
    min-width: 100px;
    padding: 5px;
    outline: none;
    height: 32px;
}

.tag-input-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.color-palette {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    flex-wrap: wrap;
    gap: 5px;
    width: auto;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.table .up-arrow {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #d4f4b1;
}
.table .down-arrow {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #FFD9CC;
}
.table .pause-arrow {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #d8d8d8;
}
.table .warning-arrow {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #fde1b5;
}
.card-body .table-responsive .table td, .card-body .table-responsive .table th{
    padding: .3rem 1rem;
    font-size: 14px;
}
.custom-offcanvas{
    width: 850px !important;
}
.success-status-indicator {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #FFFFFF;
    background-color: #63ce18;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 rgba(0, 200, 83, 0.4);
    animation: pulse-green 2s infinite;
}

.running-status-indicator {
    width: 26px;
    height: 25.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #FFFFFF;
    background-color: #8f8f8f;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px 2px rgba(79, 79, 79, 0.6);
    animation: pulse-gray 2s infinite;
}

.warning-status-indicator {
    width: 26px;
    height: 25.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #FFFFFF;
    background-color: #ec942c;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px 2px rgba(79, 79, 79, 0.6);
    animation: pulse-orange 2s infinite;
}

.down-status-indicator {
    width: 26px;
    height: 25.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #FFFFFF;
    background-color: #dd0000;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px 2px rgba(79, 79, 79, 0.6);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 200, 83, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 200, 83, 0);
    }
}

@keyframes pulse-gray {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 40, 40, 0.8);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 40, 40, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 40, 40, 0);
    }
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); /* red glow with opacity */
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); /* expand & fade out */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.bar-container{
    display: flex;
    gap: 15px;
}
.bar-container .bar {
    width: 5px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 4px;
}
.bg-gray {
    background-color: #b2b3b4 !important;
}
.recent-alerts-section,.monitor-comments-section{
    height: 315px;
    overflow: auto;
    padding-right: 6px;
}

.send-comment-section{
    width: -webkit-fill-available;
    position: fixed;
    bottom: 0;
    background-color: #ffffff;
    margin-right: 14px;
    padding: 12px 0;
}
.send-message{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}


.send-message:hover{
    background-color: var(--secondary);
    color: #FFFFFF;
}

textarea{
    resize: none;
}

.doc-upload-button{
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/*Testcase*/
.testcase-container {
    height: 90.5vh;
    overflow: auto;
}
ul.quote-block {
    border-left: 4px solid #ccc;
    padding-left: 10px;
    margin: 5px 0;
    margin-bottom: 12px;
}
.screenshot-capture-holder .screenshot{
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e7e6e6;
    cursor: pointer;
}
.screenshot-capture-holder .screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}
.suggestion-section {
    height: 95vh;
    overflow: auto;
}
.window-container {
    height: 92vh;
    overflow: auto;
    padding: 10px;
}

.window-container > #url-bar-input{
    position: absolute;
    top: 10px;
}

.prompt-section{
    position: absolute;
    width: 98%;
    bottom: 10px;
    background-color: #ffffff;
    padding: 9px 12px 3px 3px;
}

.prompt-section> input{
    padding: 20px 10px;
    font-size: 16px;
    position: relative;
}

.default-image {
    width: 100%;
    height: 48vh;
    border-radius: 6px;
}
.default-image img {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    display: block;
    object-fit: contain;
}
.render-image {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: auto;
    margin-top: 10px;

}
.render-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
/*Testcase*/
.custom-ul{
    padding-left: 2rem;
}
.custom-ul li{
    list-style-type: circle;
}

input.editable-input.form-control {
    border: unset;
    border-radius: unset;
    display: block;
}
.editable-input {
    height: 27px;
    font-size: 14px !important;
}
.editable-table td{
    padding: 0;
}
.cursor-pointer{
    cursor: pointer;
}

.sortable-col::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0d7";
    font-size: 14px;
    color: #999;
    vertical-align: baseline;
    margin-left: 3px;
}

.sortable-col.sort-asc::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0d8";
    font-size: 14px;
    color: #999;
    vertical-align: baseline;
    margin-left: 3px;
}

.sortable-col.sort-desc::after {
    font-family: "Font Awesome 6 Free";
    content: "\f0d7";
    font-weight: 900;
    font-size: 14px;
    color: #999;
    vertical-align: baseline;
    margin-left: 3px;
}
.ck-powered-by {
    display: none !important;
}

/*Chatbox*/
.chat-box .msg_card_body {
    height: calc(92vh - 195px);
}
.chat-box .msg_cotainer {
    background: var(--primary);
    margin-left: 10px;
    border-radius: 0 0.5rem 0.5rem 0.5rem;
    padding: 10px 15px;
    color: #fff;
    position: relative;
}
.chat-box .msg_cotainer .msg_time {
    display: block;
    font-size: 11px;
    color: #b1b1b1;
    margin-top: 5px;
}
.chat-box .msg_cotainer:after {
    content: "";
    position: absolute;
    left: -10px;
    border-right: 10px solid var(--primary);
    border-bottom: 10px solid transparent;
    border-top: 0px solid;
    top: 0;
}
.chat-box .msg_cotainer_send {
    background: #F3F0EC;
    padding: 10px 15px;
    border-radius: 6px 0px 6px 6px;
    margin-right: 10px;
    color: #222;
    position: relative;
    text-align: left;
}
.chat-box .msg_cotainer_send .msg_time_send {
    display: block;
    font-size: 11px;
    text-align: right;
    margin-top: 5px;
    color: #a9a5a5;
}
.chat-box .msg_cotainer_send:after {
    content: "";
    position: absolute;
    right: -10px;
    border-left: 10px solid #F3F0EC;
    border-bottom: 10px solid transparent;
    border-top: 0px solid;
    top: 0;
}
.chat-box .type_msg .form-control {
    padding: 10px 0;
    height: 40px !important;
    border: 0;
}
.chat-box .type_msg .btn {
    font-size: 18px;
    border-radius: 38px !important;
    width: 38px;
    height: 38px;
    padding: 0;
    margin-top: 6px;
}
.chat-box .type_msg {
    padding: 10px 15px;
}
.email-input button.removeEmail {
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 50%;
    height: 22px;
    width: 22px;
    font-size: 14px !important;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.send-prompt-btn {
    position: absolute;
    top: 13px;
    right: 19px;
}
.send-message.loading i {
    display: none; /* hide the arrow */
}

.send-message.loading::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.select2-container .select2-search--inline .select2-search__field{
    font-family: inherit;
    margin-top: 0;
}
.select2-container .select2-selection--multiple{
    min-height: 2.3rem;
    padding: 0.375rem 0.75rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-top: 0px;
}

.custom-spacing {
    margin-bottom: 15%;
}