body {
    background-color: #E7E7E7;
}

.eventBanner {
    padding: 2% 0;
    color: #191919;
    font-size: clamp(18px, 3vw, 24px);
    align-items: center;
    font-weight: bold;
    justify-content: center;
    display: flex;
    text-align: center;
    flex-wrap: wrap;
    line-height: 32px;
}

.btn.btn-primary.button.next.submit-btn {
    border-radius: 20px !important;
    background: #191919;
    color: #EDEDED;
    width: 130px;
    text-align: center;
	/* margin-bottom: 20px; */
}
.crmEntityFormView .actions {
    border-top: none;
}

.mlx_btn {
    border-radius: 20px !important;
    background: #191919;
    color: #EDEDED;
    /* width: 130px; */
    text-align: center;
}   

#UpdateButton {
    display: inline-block !important;
    margin: 0 0 0 4vw !important;
    display: none !important
}

.contact-buttons {
    display: flex;
    gap: 10px;   
    margin-top: 5px;
}

.rating-scale {
  display: flex;
  gap: 6px;
}

.rating-btn.selected {
  box-shadow: 0 0 0 3px #6c757d inset;
  transform: scale(1.05);
}

.option-wrapper {
  width: 100%;
}

.option-label {
  width: 100%;
  padding-left: 5%;
  display: flex;
  align-items: baseline;
  margin-bottom: 3px;
}

.option-text {
  font-weight: 400;
  padding-left: 2%;
}


.multiStepBtnContainer {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* .multiStepBtnParent {
    float: right;
} */

.tab.clearfix {
	padding: 0% 3%;
    margin-bottom: 0px;
}

.accordion-header {
    color: #191919;
    font-weight: bold;
    font-size: clamp(16px, 2.5vw, 18px);
    border: none;
    width: 100%;
    text-align: left;
    padding: 10px 15px;
    outline: none;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    line-height: 24px;
}

#ExtendedBlock table {
    position: relative;
    z-index: 1;
}

fieldset[aria-label="Create Contact"],
fieldset[aria-label="Create Case"] {
    position: relative;
}

#contactHeader {
    text-align: center;
    padding: 0 20px;
}

#contactHeader span {
    display: block;
    line-height: 1.4;
}

#contactHeader .contact-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.accordion-content {
    padding: 0% 3% 0% 3%;
    background-color: #fff;
    border-top: none;
}

.accordion-title {
    display: block;
    font-weight: bold;
    cursor: pointer;
}

.accordion-title:hover {
    background-color: #f2f2f2;
}


/* Summary tab */
[data-name="tab_Summary"].tab.clearfix {
    /* max-width: 540px !important; */
    margin: 0 !important;
    padding: 0 !important;
}
[data-name="tab_Summary"].tab.clearfix .entityform-field {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

#mlx_doorsknocked {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

#mlx_engagements {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

#mlx_casescreated {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

#mlx_surveysubmitted {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

#mlx_doorsskipped {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

#mlx_maildrops {
    text-align: center !important;
    background: #CDCDCD !important;
    width: auto !important;
}

.table-info
{
    width: 45% ;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.CustomSwitch {
  position: relative;
  display: block !important;
  width: 40px;
  height: 24px;
}
.CustomSwitch input { display: none; }
.CustomSlider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.CustomSlider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 4px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .CustomSlider {
  background-color: #363636;
}
input:checked + .CustomSlider:before {
  transform: translateX(15px);
}


@media (max-width: 500px) {

    .accordion-header {
        font-size: 16px;
        line-height: 20px;
        /* padding: none; */
    }
    .accordion-content {
        padding: 2% 4%;
    }
    .quesPadding{
        padding: 0% !important;
    }
}

@media (max-width: 768px) {
  div[style*="width:20%"] {
    display: none !important;
  }

  #MainContainer {
    width: 100% !important;
  }
   .quesPadding{
        padding: 0% !important;
    }
    .crmEntityFormView .cell{
        margin-bottom: 5px !important;
    }
}


/* Fullscreen overlay */
#pageLoader {
  position: fixed;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  background: #ffffffba;      /* or rgba(255,255,255,0.9) */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;            /* above everything */
  transition: opacity 300ms ease;
}

/* Hide smoothly when done */
#pageLoader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.survey-error-highlight {
    border-left: 4px solid #d9534f;
    padding-left: 8px;
    background-color: #fff5f5;
}

/* Spinner */
.spinner {
  width: 55px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #191919;
  --_m: 
    conic-gradient(#0000 10%,#000),
    linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
          mask: var(--_m);
  -webkit-mask-composite: source-out;
          mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {to{transform: rotate(1turn)}}

/* Optional: prevent scroll while loader visible */
html.loader-active, body.loader-active {
  overflow: hidden;
}
label{ 
    font-weight: bold !important;
    font-size: clamp(16px, 2.5vw, 18px) !important;
    line-height: 1.4 !important;
    color: #191919 !important;
}
p{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    color:#191919 !important;
}
a{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    line-height: 20px;
}
.modal-title {
   font-size: clamp(18px, 3vw, 24px) !important;
   font-weight: bold !important; 
    color: #191919;
}
.form-control {
    line-height: 24px;
    color: #191919 !important;
}
.sort-enabled a{
    color:#191919 !important;
}
tr{
    color: #191919;
}
td a{
    color: #191919;
}



/* Rating scale container */
.rating-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

/* Rating buttons */
.rating-scale .rating-btn {
    min-width: 30px;
    height: 30px;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover state (still black & white) */
.rating-scale .rating-btn:hover {
    background-color: #f2f2f2;
}

/* Active / selected state (toggle this class via JS) */
.rating-scale .rating-btn.active {
    background-color: #000;
    color: #fff;
}

/* Focus accessibility */
.rating-scale .rating-btn:focus {
    outline: none;
    box-shadow: 0 0 0 1px #000;
}

/* N/A button slightly wider */
.rating-scale .rating-btn[data-value="NA"] {
    min-width: 56px;
}

/* Mobile friendly */
@media (max-width: 576px) {
    .rating-scale .rating-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
