@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@500&display=swap');

body {
  height: 100vh;
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #F8F5F4;
}
pre {
  font-family: 'Source Sans Pro', sans-serif;
}
.menuOverlay {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.3);
  position: absolute;
  z-index: 1;
  display: none;
  left: 0;
  top: 0;
}
#menu__toggle:checked ~ .menuOverlay {
  display: block !important;
}
#appContainer {
    /*margin-left: 35px;*/
    margin: auto;
    width: 80%;
    padding: 15px;
    height: 100%;
}
p {
  margin-top: 0;
}
#platformSelectDiv button {
  border:none;
  display:block;
  background:none;
}
#platformSelectDiv button:hover {
  background:lightgray;
  cursor: pointer;
  border-radius: 5px;
}
#container {
  text-align: center;
  margin: auto;
  width: 60%;
}
#displaySettingsTable {
  width: 80%;
  margin: auto;
}
#displaySettingsTable, #displaySettingsTable th, #displaySettingsTable td {
  
}
.titleLink {
text-decoration: none;
color: black;
font-family: 'Red Hat Display', sans-serif;
}
#buttonDiv {
  text-align: center;
  margin: auto;
}
button {
  margin: 10px 0px 10px 0px;
  padding: 10px;
}
.setting-block {
  padding: 10px;
  margin: 5px;
  border: 1px solid black;
}
.note {
  font-style: italic;
}
.key-input {
  width: 50%;
}
/* Tooltip container */
.click-to-top {
  display: inline-block;
  position: relative;
  margin-left: 15px;
}
div.click-to-top span {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  color: black;
  box-shadow: 2px 2px 20px rgba(1, 1, 1, 0.5);
  z-index: 10;
  min-width: 300px;
  padding: 5px;
  border-radius: 5px;
}
div.click-to-top:hover span {
  display: block;
}
div.click-to-top2:hover span {
  display: inline-flex;
}
.selectionRow {
  display: flex;
  height: 25px;
  align-items: center;
}
.selectionLabel {
  padding: 3px;
}
#timedExecution {
  display: none;
}
#overlayDiv {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index:99;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  color: white;
  font-size: 20px;
  padding-top: 35%;
  display: none;
}
#overlayDiv img {
  width: 75px;
}
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
  top: 12px;
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 2;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #616161;
  transition-duration: .25s;
  top: 12px;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
  z-index: 1;
}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}
#navLogo {
  float: right;
  margin-right: 85px;
  margin-top: -68px;
  border-radius: 5px;
}
.logo1 {
  font-size: 22px;
  font-family: 'Red Hat Display', sans-serif;
}
.logo2 {
  font-size: 14px;
  font-family: 'Red Hat Display', sans-serif;
}
.bottom_menu_item {
  position: absolute;
  bottom: 200px;
  width: 100%;
  cursor: pointer;
}
#submitUserInfoBtn {
  margin-top: 20px;
}
#saveSettingsBtn {
  width: 25%;
  height: 40px;
}
.tileRow {
  clear: both;
  min-height: 315px;
  display: flex;
  margin-bottom: 50px;
}
.leftTile {
  border: 1px solid white;
  border-radius: 15px;
  display: inline-block;
  width: 45%;
  position: relative;
  vertical-align: top;
  /*float: left;
  margin-bottom: 10px;*/
  min-height: 350px;
  background-color: white;
  /*margin-right: 20px;*/
  margin: auto;
  padding: 10px;
  box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.1);
}
.rightTile {
  border: 1px solid white;
  border-radius: 15px;
  display: inline-block;
  width: 45%;
  vertical-align: top;
  /*float: right;
  margin-bottom: 10px;*/
  position: relative;
  min-height: 350px;
  background-color: white;
  padding: 10px;
  margin: auto;
  box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.1);
}
.fullTile {
  width: 100%;
  margin-left: 15px;
  margin-right: 15px;
  border: 1px solid white;
  border-radius: 15px;
  display: inline-block;
  position: relative;
  vertical-align: top;
  min-height: 315px;
  background-color: white;
  padding: 10px;
  box-shadow: 3px 3px 10px 0px rgba(0,0,0,0.1);
}
@media only screen and (max-width: 950px)  {
  .leftTile, .rightTile {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }
  .tileRow {
    display: block;
    height: auto;
  }
  .fullTile {
    margin: auto;
  }
}
.tile_header_div {
  height: 35px;
  border-bottom: 1px solid lightgrey;
}
.tile_content_div {
  padding: 5px;
  /*height: 260px;*/
  height: auto;
}
h3 {
    margin-top: 0px;
    padding: 5px;
  }
#signOutListItem {
  position: absolute;
  bottom: 200px;
  width: 100%;
  cursor: pointer;
}
.material-symbols-rounded {
  font-size: larger;
  color: orange;
  font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}
.importingStatus {
  font-size: 18px;
  cursor: pointer;
  color: black;
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}
.warning-icon {
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
}
.info-icon {
  margin-left: -10px;
  color: deepskyblue;
}
/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*////////////*/


table {
  text-align: center;
}
#viewLogsContainer {
  position: absolute;
  width: 95%;
  bottom: 5px;
  text-align: center;
}
#inventoryTable {
  width: 100%;
}
#tableContainer {
  max-height: 750px;
  overflow: scroll;
  width: 80%;
}
td {
  text-align: center;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 5px;
  padding-top: 5px;
}
#loginDiv {
  padding: 10px;
  width: inherit;
  margin: auto;
}
#forgotPassDiv {
  display: none;
  padding: 10px;
  width: inherit;
  margin: auto;
}
#loader {
  text-align: center;
}
.linkButtons {
  background: none;
  font-size: 14px;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}
#spinner {
  width: 75px;
}
#welcome {
  margin-bottom: 5px;
  margin-top: 0px;
  display: inline-block;
  float: left;
  padding-left: 10px;
}
#importingStatus {
  display: inline-block;
  margin-top: 0px;
  text-align: right;
  float: right;
  padding-right: 10px;
}
.actionBtn {
  background-color: rgb(0,136,204);
  border-radius: 5px;
  color: white;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
  border: 1px solid #007dc3;
}
.actionBtn:hover {
  border: 1px solid rgb(0,136,204,0.8);
  background-color: rgb(0,136,204,0.8);
  box-shadow: 3px 3px 3px 0px rgba(0,0,0,0.2);
}

.reImportBtn {
  background-color: rgb(216 244 35);
  border-radius: 5px;
  color: black;
  padding: 5px 10px 5px 10px;
  cursor: pointer;
  border: 1px rgb(216 244 35);
}
.reImportBtn:hover {
  border: 1px rgb(216 244 35);
  background-color: rgb(226 255 42);
  box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.2);
}

/*///////*/

#profileTable {
  text-align: left;
  margin: auto;
}
#profileTable td {
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 5px;
  padding-top: 5px;
  text-align: right;
}

/*///////*/

#loaderImg {
  width: 75px;
}
#manageSubBtn {
  margin: 10px auto auto auto;
}
.plansBtnContainer { 
  margin: auto;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1em;
  text-align: center; 
}
@media (min-width: 600px) {
  .plansBtnContainer {
      flex-direction: row;
      /*justify-content: space-between;*/
    }
}
.planOptionContainer {
  width: 350px;
}
.currentPlanTitleContainer {
  height:25px;
}
.currentPlanTitle {
  margin-bottom:5px;
}
.planPriceDiv {
  font-size:30px;
  font-family: 'Red Hat Display', sans-serif;
}
.btn {
  color: black;
  cursor: pointer;
  font-size:16px;
  font-weight: 400;
  margin: auto;
  width: 120px; 
  position: relative;
  text-decoration: none;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.btn:hover {
  text-decoration: none;
}

.button-66 {
  background-color: rgb(0,136,204);
  border-radius: 4px;
  border: 0;
  box-shadow: rgba(0,136,204,0.5) 0 -1px 3px 0 inset, rgba(0,136,204,0.2) 0 3px 6px 0;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inherit;
  font-family: "Space Grotesk",-apple-system,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
  min-height: 56px;
  min-width: 120px;
  /*padding: 16px 20px;*/
  position: relative;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  transition: all .2s cubic-bezier(.22, .61, .36, 1);
}

.button-66:hover {
  background-color: #065dd8;
  transform: translateY(-5px);
}

@media (min-width: 768px) {
  .button-66 {
    padding: 16px 44px;
    min-width: 150px;
  }
}

@media(min-width: 600px) {
  .btn {
    margin: auto;
  }
}
.btn-5 {
  border: 0 solid;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0);
  outline: 3px solid;
  outline-color: rgba(0, 0, 0, 0.5);
  outline-offset: 0px;
  text-shadow: none;
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
  margin-bottom: 5px;
} 

.btn-5:hover {
  border: 1px solid;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, .5), 0 0 20px rgba(0, 0, 0, .2);
  outline-color: rgba(0, 0, 0, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px #427388; 
}
#plansContainer {
  float: none;
  width: 100%;
  display: block;
  text-align: center;
  clear: both;
  height: 100%;
}
.listingsNumberPlan {
  font-size: x-large;
}
.inst-image {
  width: 75%;
  border: 2px solid;
  border-radius: 5px;
}

.back40Input {
  width: 70%;
}
.back40SkuInput {
  width: 50%;
}
.back40Td {
  width: 45%;
}
.back40SkuTd {
  width: 30%;
}
.back40NotesTd {
  text-align: left;
}
.back40NotesInput {

}

.merchsaladInput {
}
.merchsaladTd {
  width: 30%;
}
.merchsaladSkuInput {
  width: 75%;
}
.merchsaladPriceInput {
}


.draggable-table {
  position: relative;
  /* top: 25%; */
  /* left: 20%; */
  /* width: 60%; */
  /* height: 50%; */
  margin: auto;
  width: 100%;
  border-collapse: collapse;
  background: white; 
  
  .draggable-table__drag {
      font-size: .95em;
      font-weight: lighter;
      text-transform: capitalize;    
      position: absolute;
      width: 100%; 
      border: 1px solid #f1f1f1;
      z-index: 10;
      cursor: grabbing;
      -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05);
              box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.05); 
    
      opacity: 1;
  }  
  
  thead {
    
    th {
      height: 25px;
      font-weight: bold;
      text-transform: capitalize;
      padding: 10px;
      user-select: none;
    }
  }
  
  tbody {
    
    tr {
      cursor: grabbing;
      
      td {
        font-size: .95em;
        font-weight: lighter;
        text-transform: capitalize;
        text-indent: 50px;
        padding: 10px;  
        user-select: none;
        border-top: 1px solid whitesmoke;
      }
    }
    
    tr:nth-child(even) {
        background-color: #f7f7f7;
    }

    tr:nth-child(odd) {
        background-color: #ffffff;
    }    
    
    tr.is-dragging {
        background: #f1c40f;

        td {
            color: #ffe683;
        }
    }    
  }
}

 #resyncWarning {
  padding: 15px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: calc(50% - 100px);
  width: 400px;
  height: 200px;
  border: 1px solid black;
  border-radius: 10px;
  background-color: white;
  left: calc(50% - 200px);
  box-shadow: 2px 2px 30px rgba(1, 1, 1, 0.5);
  text-align: center;
 }
 #closeWarning {
  position: absolute;
  right: 15px;
  top: 15px;
 }
 #closeWarning:hover {
  cursor: pointer;
 }

/* Admin page styling */
.admin-layout {
    display: flex;
    gap: 20px;
    height: 400px;
}

.admin-column {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
}

.email-column {
    flex: 0 0 250px; /* Change from flex: 1 to fixed width */
    overflow-y: auto;
    background-color: #f9f9f9;
}

.actions-column {
    flex: 0 0 200px; /* Change from flex: 1 to fixed width */
    background-color: #f9f9f9;
}

.details-column {
    flex: 2;
    background-color: #fff;
}

.email-item {
    padding: 8px;
    margin: 2px 0;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.email-item:hover {
    background-color: #e3f2fd;
}

.email-item.selected {
    background-color: #bbdefb;
}

.test-order-btn {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.test-order-btn:hover {
    background-color: #45a049;
}

.order-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 8px;
}

.order-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Custom Text Display */
.custom-text-display {
    display: block;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
}

.custom-text-display h5 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.custom-text-display.hidden {
    display: none;
}

.order-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item h6 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
}

.line-items-section, .customer-notes-section {
    margin-bottom: 15px;
}

.line-items-section:last-child, .customer-notes-section:last-child {
    margin-bottom: 0;
}

.line-items-content, .customer-notes-content {
    margin-left: 15px;
    margin-top: 5px;
}

.line-item {
    margin-bottom: 8px;
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 3px;
}

.line-item:last-child {
    margin-bottom: 0;
}

.customer-notes-content {
    padding: 8px;
    background-color: #f9f9f9;
    border-radius: 3px;
    white-space: pre-wrap;
}

.no-items, .no-notes, .no-data {
    color: #666;
    font-style: italic;
    margin-left: 15px;
}

/* STO Rule Mapping */
.rule-table {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .rule-header,
    .rule-row {
      display: grid;
      grid-template-columns: 0.9fr 30px 1.1fr 30px 1.3fr 50px;
      gap: 10px;
      align-items: center;
    }

    .rule-header {
      font-weight: bold;
      padding-bottom: 4px;
      border-bottom: 2px solid #ccc;
    }

    .rule-row {
      background: #f9f9f9;
      padding: 10px;
      border-radius: 6px;
      border: 1px solid #ccc;
    }

    .cell-group {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    label {
      font-size: 0.9em;
    }

    select,
    input[type="number"],
    input[type="text"] {
      padding: 4px 8px;
    }

    .add-btn {
      margin-top: 15px;
      padding: 8px 12px;
      font-size: 14px;
      cursor: pointer;
    }

    .delete-btn {
      background-color: #e74c3c;
      color: white;
      border: none;
      padding: 4px 8px;
      cursor: pointer;
      border-radius: 4px;
    }