.box-hover {
  transition: background-color 0.2s ease, color 0.2s ease;
}
.box-hover:hover {
  background: #172c48;
  color: #fff;
}
.answer {
  width: calc(50% - 20px);
  min-width: 0;
  margin: 10px;
  padding: 45px 0;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 768px) {
  .answer {
    width: 100%;
    margin: 10px 0;
    height: 40px;
  }
}


.invite-box{
    border-color:#E6605180;
    padding: 13px;
}


.invite-input-txt{
    height: 40px;
    width: 100%;
    border-color:#E6605180;
}


.invite-input-txt:hover{
    border-color: #E86354;
}


.invite-input-txt:focus{
    border-color: #E86354;
}
.invite-input-txt:active{
    border-color: #E86354;
}

.invite-choice{
    height: 40px;
    width: 100%;
    border-color:#E6605180;
    cursor: pointer;
    background-color: #FEFAF0;

}


.invite-choice:hover{
    height: 40px;
    width: 100%;
    border-color:#E6605180;
    cursor: pointer;
    background-color: #EF705F;
}

.invite-choice-selected{
    height: 40px;
    width: 100%;
    border-color:#E6605180;
    cursor: pointer;
    background-color: #EF705F;
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.grid-cols-2-always{

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-2-always{

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.alert-success{
    background: #79C0F180;
    border: 2px solid #121E3980;
    border-radius: 20px;
    padding: 10px;
}

.alert-danger{
    background: #E6605160;
    border: 2px solid #E66051;
    border-radius: 20px;
    padding: 10px;
    text-align: left;
}


.mt-1{

    margin-top: 10px;
}


.nav-menu {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

.mobile-only,
.mobile-nav-menu {
    display: none;
}

/* Mobile only */
@media (max-width: 768px) {
    .mobile-only {
        display: inline-flex;
    }

    .mobile-nav-menu {
        display: none;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        z-index: 9999;
    }

    .mobile-nav-menu.is-open {
        display: block;
    }

    header nav {
        display: none !important;
    }
}



/* Base checkbox reset */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #555;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Hover effect */
input[type="checkbox"]:hover {
  border-color: #E86354;
}

/* Checked state */
input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Checkmark */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Focus outline for accessibility */
input[type="checkbox"]:focus {
  outline: 2px solid #80bdff;
  outline-offset: 2px;
}



/* Modal container */
.ui-dialog {
    background: #FEFAF0;
    border: 2px solid #F2ADA1 !important; /* subtle purple border */
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    padding: 0;
    font-family: 'Inter', 'Nunito Sans', -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    color: hsl(250, 10%, 20%);
    max-width: 600px;
}

/* Title bar */
.ui-dialog-titlebar {

    border: none;
    padding: 5px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F2ADA180;
    border-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Title text */
.ui-dialog-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(250, 20%, 20%);
    font-family: inherit;
}

/* Close button — always visible */
.ui-dialog-titlebar-close {
    /*background: transparent;*/
    border: none;
    /*color: hsl(260, 84%, 58%);*/
    font-size: 1.4rem !important;
    opacity: 1;
    transition: color 0.2s ease;
}
.ui-dialog-titlebar-close:hover {
    color: hsl(260, 84%, 70%);
}

/* Content area */
.ui-dialog-content {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: hsl(250, 10%, 25%);
    font-family: inherit;
}

/* Button pane */
.ui-dialog-buttonpane {
    background: #F2ADA190;
    border-top: 1px solid #F2ADA1;
    padding: 1rem 1.5rem;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 0px !important;
}

/* Buttons */
.ui-dialog-buttonpane button {
    background: #E66052;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.3rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 0px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}
.ui-dialog-buttonpane button:hover {
    background: #FEFAF0;
    border: 1px solid #E66052;

}
.ui-dialog-buttonpane button:disabled {
    background: hsl(250, 10%, 80%);
    cursor: not-allowed;
}




.invite-button-red{
    margin-top:10px;
    padding: 5px 10px;
    cursor: pointer;
    color: #FFF;
    background-color: #FF765F;
    border: 2px solid #FF765F;
}

.invite-button-red:hover{
    margin-top:10px;
    padding: 5px 10px;
    cursor: pointer;
    color: #FF765F;
    background-color: #FFF;
    border: 2px solid #FF765F;
}


.invite-avatar{
    width: 36px; 
    float: left; 
    margin-right: 5px; 
    position: relative; 
    top: -1px;
}

.invite-name{
    position: relative;
    top: 7px;
}




.bg-xx-c-r{
    margin-bottom: 20px;
    border: 3px solid #EE8A7090;
    padding: 80px 10px 10px 10px;
    border-radius: 25px;
    background-color: #EE8A7020;

}

.bg-yy-c-r{
    margin-bottom: 20px;
    border: 3px solid #0A1D4C90;
    padding: 80px 10px 10px 10px;
    border-radius: 25px;
    background-color: #455272DE;
    color: #FFF;
}

.bg-xy-c-r{
    margin-bottom: 20px;
    border: 3px solid #52370190;
    padding: 80px 10px 10px 10px;
    border-radius: 25px;
    background-color: #EBB20370;
    /*color: #FFF;*/
}

.bg-yx-c-r{
    margin-bottom: 20px;
    border: 3px solid #0A323D90;
    padding: 80px 10px 10px 10px;
    border-radius: 25px;
    background-color: #255F2D70;
    /*color: #FFF;*/
}







.xy_slider-wraper {
       width: 100%;
       min-height: 200px;
       position: relative;
   }
   .mter {
      height: 130px;
      margin-top: 30px;
   }
   .slider_liner {
       /*position:absolute;*/
       top: 0; bottom: 0; left: 0; right: 0;
       margin: auto;
       height: 40px; /*requires explicit height*/
       display: flex;
       align-items: center;
   }
   
    .left-div {
       width: 50%;
       height: 25px;
       display: flex;
       align-items: center;
       justify-content: right;
    }
    .right-div {
       width: 50%;
       height: 25px;
       display: flex;
       align-items: center;
    }
    .element_slider {
       width: 100%;
       position: absolute;
       z-index: 4;
       height: 30px;
       display: flex;
       align-items: center;
    }
    .result_x {
       width: 22px;
       height:22px;
       border-radius: 100%;
       margin-right: -10px;
       background: #243251;
       position: relative;
       -webkit-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   -moz-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
    }
    
    .result_y {
       width: 22px;
       height: 22px;
       background: #F37765;
       /*border: #FDBAA9 1px solid;*/
       border-radius: 100%;
       margin-left: -10px;
       -webkit-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   -moz-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
    }
    .persona {
       position: absolute;
       width: 20px;
       height: 0px;
       margin-top: -30px;
       z-index: 1;
       display: flex;
       align-items: center;
       justify-content: center;
       flex-direction: column;
    }
   .persona p {
       font-size: 1.2rem;
       font-weight: 600;
   }
    .persona img {
       width: 34px;
       max-width: 34px;
    }
    .slider_red {
       width: 212px;
       height: 10px;
       background-color: #243251;
    border-top: #79C0F1 1px solid;
    border-bottom: #79C0F1 1px solid;
       -webkit-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   -moz-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
    }
    .slider_blue {
      width: 52px;
      height: 10px;
      background-color:#F37765;

    border-top: #FDBAA9 1px solid;
    border-bottom: #FDBAA9 1px solid;
        -webkit-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
        -moz-box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
        box-shadow: 2px 2px 5px 0px rgba(179,179,179,1);
   }
   .line_w {
      width: 100%;
      border-top: 1px solid #79C0F1;
      border-bottom: 1px solid #79C0F1;
      border-left: 1px solid #79C0F1;
      display: flex;
      align-items:center;
      justify-content: flex-end;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
      height: 10px
   }
   .line_x {
      width: 100%;
      border-top: 1px solid #FDBAA9 ;
      border-bottom: 1px solid #FDBAA9 ;
      border-right: 1px solid #FDBAA9 ;
      display: flex;
      align-items:center;
      justify-content: flex-start;
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
      height: 10px
   }

   .spacers {
      padding: 5px;
   }


   .h3_class{
         margin-left:10%;
         width: 80%;
         float: left;
         font-size: 20px;
         margin-bottom: 30px;
         margin-top: 40px;
   }





.br {
  border: 1px solid #e66051;
}
.responsive-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 120px;
}
.responsive-col {
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
}
.widget-user-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.mt-2 {
  margin-top: 20px;
}
@media (max-width: 768px) {
  .responsive-col {
    flex: 1 1 100%;
  }
}





