/* Core */
.step-component-accordion {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.6s;
}

/* Modal */
.step-modal-overlay {
   align-items: center;
   background: rgb(150 189 209 / 40%);
   bottom: 0;
   display: flex;
   justify-content: center;
   left: 0;
   position: fixed;
   right: 0;
   top: 0;
   z-index: 2000;
   animation: scxx-fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.step-modal-overlay.modal-light-blue {
   background: rgb(239 249 255 / 95%);
}

.modal-light-blue .step-modal-content {
   background: none;
}

.closing .step-modal-overlay {
   animation: scxx-fadeOut 0.3s cubic-bezier(0, 0, 0.2, 1) 1 forwards;
}

.step-modal-content {
   position: relative;
   background-color: #fff;
   border-radius: 4px;
   box-sizing: border-box;
   max-height: 100vh;
   max-width: 500px;
   overflow-y: auto;
   padding: 15px;
   animation: modalSlideIn 0.3s cubic-bezier(0, 0, 0.2, 1) 1 forwards;
}

.step-modal-content.no-padding {
   padding: 0px;
}

.step-modal-content.drop-down {
   min-height: 345px;
}

.closing .step-modal-content {
   animation: modalSlideOut 0.3s cubic-bezier(0, 0, 0.2, 1) 1 forwards;
}

.hidden.step-modal-container {
   pointer-events: none;
}

.half-width.step-modal-content {
   min-width: 50vw;
}

.step-dialog-text-input input[type="text"] {
   min-width: 300px;
   border-radius: 6px;
   border: 1px solid #ccc;
   padding: 2px 8px;
}

.step-dialog-text-input input[type="text"]:focus {
   outline: 0px;
   box-shadow: 2px 1px 5px #b3d0fc;
}

body.locked {
   height: 100%;
   overflow: hidden;
}

@keyframes modalSlideIn {
   from {
      transform: translateY(40px);
   }
   to {
      transform: translateY(0);
   }
}

@keyframes modalSlideOut {
   from {
      transform: translateY(0);
   }
   to {
      transform: translateY(40px);
   }
}

@keyframes scxx-fadeIn {
   from {
      opacity: 0;
   }
   to {
      opacity: 1;
   }
}

@keyframes scxx-fadeOut {
   from {
      opacity: 1;
   }
   to {
      opacity: 0;
   }
}

/* icon picker */

.icon-picker {
   height: 500px;
   min-width: 420px;
   overflow-y: auto;
}

.icon-section-icon-container {
   display: flex;
   flex-wrap: wrap;
   margin: 0 0 20px 0;
}

.icon-section {
   margin: 10px 0;
}

.icon-section-header {
   background: #eef6fa;
   padding: 1px 7px;
   font-family: "poppins";
   font-weight: 600;
   border-radius: 6px;
}

.icon-picker button {
   background: #fff;
   color: #444;
   text-transform: none;
   width: 46px;
   overflow: hidden;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   margin: 8px 0;
   border-radius: 4px;
}

.icon-picker button:before {
   display: block;
   font-size: 1.8rem;
   margin: 0;
}

.icon-picker button:hover {
   background: #f0f7ff;
   color: var(--s-blue);
}

/* Tooltip */
.ui-tooltip {
   display: flex;
   position: absolute;
   z-index: 30;
   width: 350px;
   max-width: 95vw;
   flex-wrap: wrap;
   justify-content: center;
   background: #fff;
   border: 1px solid #eee;
   box-shadow: 3px 3px 9px rgba(0, 0, 0, 0.1);
   border-radius: 8px;
   padding: 0px;
   box-sizing: border-box;
}

.ui-tooltip.small {
   width: 250px;
}

.ui-tooltip:before {
   content: "";
   position: absolute;
   bottom: calc(100% - 5px);
   left: 50%;
   margin-left: -8px;
   width: 10px;
   height: 10px;
   border: 1px solid #ddd;
   transform: rotate(45deg);
   border-width: 1px 0px 0px 1px;
   background: #ffff;
}

.ui-tooltip.top:before {
   top: calc(100% - 5px);
   transform: rotate(-135deg);
}

.order-container-wrapper {
   display: inline-block;
   position: relative;
   width: 25px;
   height: 25px;
}

.order-container {
   position: absolute;
   display: flex;
   flex-direction: column;
}

.order-container button {
   padding: 0;
   margin: 1px;
   width: 20px;
   height: 14px;
   background: #fefefe;
   color: #aaa;
}
