.error-text
{
    color: red;
    font-size: 13px;
}
.red-error{
    border: 2px solid #f30000 !important;
} 

.bx-comnatn{
  background-color: #ffffff;border-radius: 16px;
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.15);
}

.faq-sec-bx {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    border-radius: 10px;
}

#c_email_marketing:checked {
  accent-color: grey;
}

.alert-text {
    white-space: pre-line; /* This tells the browser to respect \n characters as line breaks */
}


.char-counter-tool {
    position: relative;
    bottom: 0px;
    right: 0px;
    text-align: end;
    font-size: 12px;
    color: #94a3b8;
    pointer-events: none;
    background-color: #f8fafc;
}

.textarea-wrapper {
    position: relative;
}

.auto-suggestion-list {
    position: absolute;
    left: 190px;
    top: 67%;
    z-index: 1050;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    width: 220px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
    padding: 4px 0;
    display: none; 
}

.suggestion-item {
    padding: 8px 14px;
    font-size: 14px;
    color: #334155;
    cursor: pointer;
    font-weight: 500;
    text-align: left;
}

.suggestion-item:hover {
    background-color: #f8fafc;
    color: #ff541f;
}

.custom-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.custom-checkbox-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
 color: #ff541f;
 font-weight: 700;
  user-select: none;
}
.checkbox-checkmark {
  height: 17px;
  width: 17px;
  background-color: var(--bg-color);
  border: 1px solid #ff541f;
  border-radius: 6px;
  margin-right: 5px;
  position: relative;
  transition: all 0.2s ease;
}
.custom-checkbox-container:hover input ~ .checkbox-checkmark {
  background-color: var(--bg-color);
}
.custom-checkbox-container input:checked ~ .checkbox-checkmark {
  background-color: #FF541F;
  border-color: #FF541F;
}
.checkbox-checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.custom-checkbox-container input:checked ~ .checkbox-checkmark::after {
  display: block;
}

.cpatch_para
{
    display: flex;
    margin-top: 2rem;
}
.cpatch_para button
{
    margin-left: 5px;
    border: 1px solid #d5d5d8;
    padding-left: 10px;
    padding-right: 10px;
}

.plchldr-captcha{
    color: #000 !important;
}

.form-group1 {
  display: block;
  margin-bottom: 15px;
}

.form-group1 input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.form-group1 label {
  position: relative;
  cursor: pointer;
}

.form-group1 label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #ce4a4a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  border-radius: 7px;
  padding: 9px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
}

.form-group1 input:checked + label:after {
  content: '';
  display: block;
  position: absolute;
  top: 5px;
  left: 7px;
  width: 5px;
  height: 12px;
  border: solid #ce4a4a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cpatch_para button .fa-refresh
{
    font-size: 30px;
}

 .select2-container{

    font-size: 12px !important;
 }

 .icon-container #copy-btn
{
   position: absolute;
    top: 0;
    left: unset !important;
    padding: 5px;
    padding-top: 12px;
    /* padding-left: 11px; */
    border: none;
    background: none;
    color: #555;
    cursor: pointer;
    right: 0;
    padding-right: 17px;
}
.sidenav1
{
 z-index: 9999 !important;   
}

.brdrBx
{
 height: calc(470px - 15vw) !important;    
}
    
#animation-div{
    background-image: url('../loader/loader.gif');
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100vw;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #00000042;
    display: none;
    z-index: 1000;
}
.modal {
    display: none;
    position: fixed; 
    z-index: 1000 !important; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
    
}
.modal-content-dash{
    z-index: 1000 !important; 
    background-color: #fff;
    margin: 10% auto; 
    /* width: 60%;  */
    width: max-content;
    border-radius: 5px;
}

.modal .close {
    cursor: pointer;
    font-size: 33px;
}

.logout:hover{
    background-color: #000;
    color: #fff;
}
 #logout-popup p
 {
 color: #000;
 }
.log-btn
{
    /* background-color: rgba(0, 73, 39, 0.616); */
    border: 1px solid #fff;
}

.logbtn
{
   background-color: #ce4a4a;
   color: #fff !important;
}

 #logout-popup .modal-content-dash
{
  max-width: 450px;
}

#logout-popup .shade-modal
{
    border: 1px solid #fff;
}


.mobile-description {
    display: none;
}

#waveform .cursor
{
 width: 3px !important;    
}

@media (max-width: 915px) {
    .mobile-description {
        display: block !important; /* Override d-none and always show on mobile */
    }
}

 @media (max-width: 600px) {

        .modal-content-dash {
            z-index: 1000 !important;
            background-color: #fff;
            margin: 10% auto;
            width: 80% !important;
            border-radius: 5px;
        }

        .modal-content {
            z-index: 1000 !important;
            background-color: #fff;
            margin: 10% auto;
            width: 80% !important;
            border-radius: 5px;
        }
    }


    /* =====================================
   FEATURE DISCOVERY — DRIVER.JS
===================================== */

.custom-driver-popover {
    width: 330px;
    max-width: calc(100vw - 32px);
    padding: 22px !important;
    border: 1px solid #e8eaf2 !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    box-shadow:
        0 20px 60px rgba(15, 23, 42, 0.16),
        0 4px 12px rgba(15, 23, 42, 0.06) !important;
    font-family: inherit;
    animation: featureTourEnter 0.22s ease-out;
    box-sizing: border-box;
}

/* Tooltip title */
.custom-driver-popover .driver-popover-title {
    color: #111827 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    padding-right: 12px;
    margin-bottom: 10px !important;
    letter-spacing: -0.3px;
}

/* Feature description */
.custom-driver-popover .driver-popover-description {
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
}

/* Header close button */
.custom-driver-popover .driver-popover-close-btn {
    color: #64748b !important;
    font-size: 23px !important;
    top: 12px !important;
    right: 12px !important;
    transition: color 0.2s ease;
}

.custom-driver-popover .driver-popover-close-btn:hover {
    color: #fe541f !important;
}

/* Footer */
.custom-driver-popover .driver-popover-footer {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-top: 22px !important;
}

/* Progress text */
.custom-driver-popover .driver-popover-progress-text {
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* All navigation buttons */
.custom-driver-popover .driver-popover-btn {
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
    border-radius: 9px !important;
    padding: 9px 12px !important;
    transition: all 0.2s ease;
}

/* Next / Finish */
.custom-driver-popover .driver-popover-next-btn {
    color: #ffffff !important;
    background: #fe541f !important;
    border: 1px solid #fe541f !important;
}

.custom-driver-popover .driver-popover-next-btn:hover {
    background: #fe541f !important;
    border-color: #fe541f !important;
    transform: translateY(-1px);
}

/* Previous */
.custom-driver-popover .driver-popover-prev-btn {
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.custom-driver-popover .driver-popover-prev-btn:hover {
    color: #fe541f !important;
    background: #eef2ff !important;
    border-color: #c7d2fe !important;
}

/* Highlighted page element */
.driver-active-element {
    border-radius: 8px;
}

/* Overlay */
.driver-overlay {
    transition: opacity 0.2s ease;
}

/* Tooltip entrance */
@keyframes featureTourEnter {
    from {
        opacity: 0;
        transform: translateY(7px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .custom-driver-popover {
        width: min(330px, calc(100vw - 28px));
        padding: 18px !important;
        border-radius: 15px !important;
    }

    .custom-driver-popover .driver-popover-title {
        font-size: 16px !important;
    }

    .custom-driver-popover .driver-popover-description {
        font-size: 13px !important;
        line-height: 1.7 !important;
    }

    .custom-driver-popover .driver-popover-footer {
        flex-wrap: wrap;
        margin-top: 18px !important;
    }

    .custom-driver-popover .driver-popover-btn {
        padding: 9px 10px !important;
    }

}

@media (prefers-reduced-motion: reduce) {
    .custom-driver-popover {
        animation: none;
    }

    .custom-driver-popover *,
    .driver-overlay {
        transition: none !important;
    }
}   