body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0px;
    padding: 0px;
    color: #175452;
    overflow-x: hidden;
    background-color: #e4e6e9;
    height: 100%;
}

html {
    scroll-behavior: smooth;
  }

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  

a {
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
outline: 1.5px solid #38af91;
background-color: #38af91;
color: #ffffff;
padding: .3rem 1.5rem .3rem 1.5rem;
border-radius: 5px;
font-size: 1.05rem;
font-weight: 400;
text-align: center;
display: inline-block;
transition: background-color 0.3s;
line-height: 1.4rem;
}

.button-primary:hover {
    background-color: #5eb79d; 
    outline: 1.5px solid #5eb79d;
}

.grey-button {
    outline: 1px solid #c4c6c6;
    background-color: #e4e6e9;
    color: #727373;
    padding: .1rem 1.5rem;
    box-sizing: border-box;
    font-size: 1.05rem;
    font-weight: 400;
    text-align: center;
    display: block; 
    line-height: 1.4rem;
    margin: 1rem;
    cursor: pointer;
}


.button-ghost {
outline: 1.5px solid #38af91;
color: #175452;
padding: .3rem 1.5rem .3rem 1.5rem;
border-radius: 5px;
font-size: 1.05rem;
font-weight: 500;
text-align: center;
display: inline-block;
transition: background-color 0.3s;
line-height: 1.4rem;
}

.button-ghost:hover {
    background-color: #5eb79d; 
    outline: 1.5px solid #5eb79d;
    color: #ffffff;
}

.button-ghost-alternative {
  outline: 1.5px solid #38af91;
  color: #175452;
  padding: .3rem 1.5rem .3rem 1.5rem;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  display: inline-block;
  transition: background-color 0.3s;
  line-height: 1.4rem;
  }
  
  .button-ghost-alternative:hover {
      background-color: #38af91; 
      outline: 1.5px solid #38af91;
      color: #FFFFFF;
  }

.icon-button {
    display: inline-flex;
    align-items: center;
    padding: .3rem 1.5rem .3rem 1.5rem;
    outline: 1.5px solid #38af91;
    background-color: #175452;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.3s;
    line-height: 1.4rem;
  }
  
  .icon-button .arrow {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: -1px;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
  }
  
  .icon-button:hover {
      background-color: #5eb79d; 
  outline: 1.5px solid #5eb79d;
  }
  
  .icon-button:hover .arrow {
    transform: translateX(5px); /* Move arrow to the right */
  }

  .ghost-icon-button {
    display: inline-flex;
    align-items: center;
    padding: .4rem 2rem .4rem 2rem;
    outline: 1.5px solid #38af91;
    background-color: transparent;
    color: #175452;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.3s;
    line-height: 1.4rem;
  }
  
  .ghost-icon-button .arrow-ghost {
    display: inline-block;
    margin-left: 10px;
    margin-bottom: -1px;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
  }
  
  .ghost-icon-button:hover { 
  outline: 1.5px solid #5eb79d;
  }
  
  .ghost-icon-button:hover .arrow-ghost {
    transform: translateX(5px); /* Move arrow to the right */
  }

.h1 {
    font-size: 4rem;
    line-height: 5.5rem;
    letter-spacing: -.01em;
    font-weight: 600;
    color: #175452;
}

h1 {
    margin: 2rem 0rem 1.65rem 0rem;
}

.h2 {
    font-size: 3rem;
    line-height: 3.5rem;
    letter-spacing: -.01em;
    z-index: 1;
    color: #175452;
}

h2 {
    margin: 0.5rem 0rem 2rem 0rem;
    font-weight: 600;
}

.h3 {
    line-height: 2rem;
    letter-spacing: -.01em;
    color: #175452;
}

h3 {
    font-size: 1.5rem;
    margin-top: 0rem;
    font-weight: 600;
}

h4 {
    margin: 0px;
    color: #175452;
}

.h4 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
}

.p-master {
    font-size: 1.05rem;
    line-height: 1.625;
    font-weight: 500;
    margin: 0rem 0rem 0rem 0rem;
    color: #0e0f21;
}

p {
    margin: 10px 0px 10px 0px;
    letter-spacing: 0.01em;
    line-height: 1.5;
    font-weight: 500;
}

.editor-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}


.banner-green {
    background-color: #175452;
    color: #FFFFFF;
    display: flex;
    width: 100%;
    height: 30px; 
    flex-shrink: 0;
    padding: 0.6rem 1rem 0.6rem 1rem;
    align-items: center;
}

.banner-white {
    background-color: #FFFFFF;
    display: flex;
    width: 100%;
    height: 30px; 
    flex-shrink: 0;
    padding: 0.6rem 1rem 0.6rem 1rem;
    align-items: center;
}
  
  .left-wrapper {
    flex: 1; /* takes up half */
  }
  
  .right-wrapper {
    flex: 1; /* takes up half */
    display: flex;
    justify-content: flex-end; /* aligns inner content to the right */
    align-items: right; /* optional: vertically center content */
    padding-right: 2rem; /* optional: spacing from edge */
  }

.logo-primary {
    width: 175px;
    margin-bottom: -5px;
}

.profile-icon {
    width: 20px;
    padding: 0rem 0.5rem;
}

.profile-link {
    display: flex;
}

.button-wrapper {
    display: flex;
    text-align: right;
}

.spacer {
    background-color: #175452;
    width: 100%;
    height: 5px;
    flex-shrink: 0;
}

.link-parent-wrapper {
    display: flex;
}

.link-wrapper {
    padding: 0rem 1rem 0rem 1rem;
    margin-right: 1rem;
}

.link-wrapper-highlight {
    padding: 0rem 1rem 0rem 1rem;
    margin-right: 1rem;
    background-color: #e4e6e9;
    border-radius: 5px;
}

.workspace-wrapper {
    display: flex;
    flex: 1;            /* fills remaining height */
    width: 100%;
    min-height: 0;      /* allows child elements to flex and scroll correctly */
}

.left-editor-wrapper,
.workspace-editor-wrapper,
.right-editor-wrapper {
  overflow: auto; /* scroll if needed */
}


.left-editor-wrapper {
    width: 220px;
    height: 100%;
    padding: 1rem 0.5rem 1rem 1rem;
}

.workspace-editor-wrapper {
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem 1rem 0.5rem;
}

.right-editor-wrapper {
    width: 300px;
    height: 100%;
    padding: 1rem 1rem 1rem 0.5rem;
}

.white-wrapper {
    background-color: #FFFFFF;
    height: 100%;
    outline: 1px solid #c4c6c6;
    overflow: auto;
}

.draggable {
    margin: 1rem;
    background-color: #FFFFFF;
    text-align: center;
    cursor: pointer;
    outline: 0.5px solid #727373;
}

.icon-image {
    height: 2rem;
    padding: 0.65rem 0rem 0rem 0rem;
}

.block-text {
    font-size: .8rem;
    line-height: 1;
    font-weight: 500;
    padding: 0rem 0rem 0.5rem 0rem;
    color: #727373;
}

.block-text-title {
  font-size: .8rem;
    line-height: 1;
    font-weight: 500;
    color: #727373;
}

.workspace {
    background-color: #FFFFFF;
    height: 100%;
    outline: 1px solid #c4c6c6;
    overflow: auto;
    position: relative;
}

.select-template-btn {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: 1.5px dashed #c4c6c6;
    color: #727373;
    padding: 1rem 5rem;
    margin: 1rem;
    box-sizing: border-box;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    display: block; 
    line-height: 1.4rem;
    cursor: pointer;
  }

  .template-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease;
  }
  
  .template-thumbnail.selected-template {
    border: 2px solid #00b894;
  }

.dropped-block {
    position: relative;
    border: 1px solid transparent; /* No visible border by default */
    transition: border 0.2s ease;
  }
  
  /* Show dotted border on hover */
  .dropped-block:hover {
    border: 1px dashed #999;
  }

  .drop-indicator {
    height: 2px;
    background-color: #00b894;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.15s ease;
  }  

  /* Delete button styling */
  .delete-button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
  
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
  
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: auto;
  }
  
  /* Show delete button on hover of block or the button itself */
  .dropped-block:hover .delete-button,
  .delete-button:hover {
    opacity: 1;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .modal-content {
    background: #fff;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .image-grid img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
  }

  .modal-footer {
    padding: 1rem;
    background-color: #f9f9f9;
    border-top: 1px solid #e4e6e9;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 1;
  }

  .modal-footer button {
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }

  .cancel-btn {
    background-color: #ccc;
  }

  .select-btn {
    background-color: #38af91;
    color: white;
  }

  .select-btn-css {
    background-color: #38af91;
    color: white;
  }

  .title-text-wrapper {
    text-align: center;
    padding-top: 0.25rem;
  }
  
  .pallet-selector {
    padding: 1rem;
  }