.widget-card {
  padding: 1rem;
  cursor: pointer;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.widget-card.disabled {
  pointer-events: none;
  opacity: 0.25 !important;
}

/* Number Card */
.number-card {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.abstract-design {
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  border-radius: 0.5rem;
  justify-content: center;
}

.circle-container {
  position: relative;
  width: 180px;
  height: 180px;
}

.progress-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.inner-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

/* Chart Card */
.chart-card {
  min-height: 200px;
}

.abstract-chart {
  width: 100%;
  height: 175px;
  display: flex;
  align-items: flex-end;
  border-radius: 0.5rem;
  justify-content: space-around;
}

.bar {
  width: 40px;
  border-radius: 4px 4px 0 0;
  transition: height 0.5s ease;
  animation: barRise 1.2s ease-out forwards;
}

.bar:nth-child(1) {
  height: 60%;
  animation-delay: 0s;
}

.bar:nth-child(2) {
  height: 85%;
  animation-delay: 0.1s;
}

.bar:nth-child(3) {
  height: 45%;
  animation-delay: 0.2s;
}

.bar:nth-child(4) {
  height: 95%;
  animation-delay: 0.3s;
}

.bar:nth-child(5) {
  height: 75%;
  animation-delay: 0.4s;
}

@keyframes barRise {
  from {
    height: 0;
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Table Card */
.table-card {
  overflow: hidden;
}

.abstract-table {
  gap: 12px;
  width: 100%;
  display: flex;
  border-radius: 0.5rem;
  flex-direction: column;
}

.table-row {
  gap: 12px;
  height: 24px;
  display: flex;
}

.table-cell {
  flex: 1;
  border-radius: 4px;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.table-row:nth-child(1) .table-cell:nth-child(1) {
  width: 80%;
  animation-delay: 0s;
}

.table-row:nth-child(1) .table-cell:nth-child(2) {
  width: 60%;
  animation-delay: 0.1s;
}

.table-row:nth-child(1) .table-cell:nth-child(3) {
  width: 40%;
  animation-delay: 0.2s;
}

.table-row:nth-child(2) .table-cell:nth-child(1) {
  width: 70%;
  animation-delay: 0.3s;
}

.table-row:nth-child(2) .table-cell:nth-child(2) {
  width: 90%;
  animation-delay: 0.4s;
}

.table-row:nth-child(2) .table-cell:nth-child(3) {
  width: 50%;
  animation-delay: 0.5s;
}

.table-row:nth-child(3) .table-cell:nth-child(1) {
  width: 85%;
  animation-delay: 0.6s;
}

.table-row:nth-child(3) .table-cell:nth-child(2) {
  width: 45%;
  animation-delay: 0.7s;
}

.table-row:nth-child(3) .table-cell:nth-child(3) {
  width: 75%;
  animation-delay: 0.8s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* List Card */
.abstract-list {
  gap: 0.5rem;
  width: 100%;
  display: flex;
  border-radius: 0.5rem;
  flex-direction: column;
}

.list-item {
  height: 24px;
  border-radius: 4px;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.list-item:nth-child(1) {
  width: 90%;
  animation-delay: 0s;
}

.list-item:nth-child(2) {
  width: 75%;
  animation-delay: 0.1s;
}

.list-item:nth-child(3) {
  width: 85%;
  animation-delay: 0.2s;
}

.list-item:nth-child(4) {
  width: 65%;
  animation-delay: 0.3s;
}

/* Gallery Card */
.gallery-grid {
  gap: 0.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.gallery-item {
  opacity: 0;
  aspect-ratio: 1;
  position: relative;
  border-radius: 0.5rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.gallery-item i {
  top: 50%;
  left: 50%;
  display: flex;
  font-size: 3rem;
  position: absolute;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

/* Video Card */
.video-container {
  height: 0;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  padding-bottom: 56.25%;
}

.video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
}

.video-placeholder::after {
  content: '';
  width: 0;
  height: 0;
  margin-left: 8px;
  border-style: solid;
  border-width: 20px 0 20px 35px;
}

/* Form Card */
.abstract-form {
  gap: 0.5rem;
  width: 100%;
  display: flex;
  border-radius: 0.5rem;
  flex-direction: column;
}

.form-field {
  opacity: 0;
  height: 2rem;
  border-radius: 0.5rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.form-field:nth-child(1) {
  animation-delay: 0s;
}

.form-field:nth-child(2) {
  animation-delay: 0.2s;
}

.form-field:nth-child(3) {
  animation-delay: 0.4s;
}

/* Row Layout Card */
.abstract-row {
  width: 100%;
  display: flex;
  border-radius: 0.5rem;
  flex-direction: column;
  justify-content: space-around;
}

.builder-row {
  opacity: 0;
  height: 2rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  animation: fadeIn 0.5s ease-out forwards;
}

.builder-row:nth-child(1) {
  width: 100%;
  animation-delay: 0s;
}

.builder-row:nth-child(2) {
  width: 85%;
  animation-delay: 0.1s;
}

.builder-row:nth-child(3) {
  width: 70%;
  animation-delay: 0.2s;
}

.builder-row:nth-child(4) {
  width: 90%;
  animation-delay: 0.3s;
}

.builder-row:nth-child(5) {
  width: 75%;
  margin-bottom: 0;
  animation-delay: 0.4s;
}

.widget-card-title {
  display: flex;
  text-align: left;
  font-size: 1.15rem;
  align-items: center;
  margin-bottom: 1.25rem;
  justify-content: space-between;
}

.widget-card-title i {
  cursor: grab;
  font-size: 1rem;
  padding: 0.25rem;
  border-radius: 0.1rem;
}

.builder-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.builders-wrapper {
  height: 100%;
  display: flex;
  overflow: hidden;
  position: relative;
}

.builders-nav {
  width: 20rem;
  padding: 1rem;
  overflow: auto;
  position: relative;
  box-sizing: border-box;
  transition: width 0.3s, transform 0.3s cubic-bezier(1, 0.6, 0.8, 0);
}

.builders-nav.collapse {
  width: 0;
  padding: 0;
  transform: translate(100%);
}

.builders-nav ul {
  list-style: none;
}

.builders-nav li.active>a {
  font-weight: bold;
}

.builders-nav li>a,
.builders-nav li ul li>a,
.builders-nav li ul li ul li>a {
  display: block;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
}

.builders-nav li ul li>a {
  font-size: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.builders-nav li ul li ul li>a {
  font-size: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.builders-nav li ul li.active>a,
.builders-nav li ul li ul li.active>a {
  font-weight: bold;
}

.builders-nav li i {
  margin-right: 0.5rem;
}

.builders-content {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.builders-preview {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.builders-preview iframe#previewFrame {
  width: 100%;
  height: 100%;
  display: flex;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  position: relative;
  box-sizing: border-box;
  transition: all 0.2s ease-in-out;
}

.builders-preview.tablet iframe#previewFrame {
  width: 768px;
  border-radius: 20px;
  border: 16px solid #111111;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.builders-preview.mobile iframe#previewFrame {
  width: 480px;
  border-radius: 40px;
  border: 16px solid #111111;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
}

.builders-content .group-section .small {
  float: right;
  font-size: 0.75rem;
  margin-right: 3rem;
}

.builders-content.loader {
  overflow: visible;
}

.builders-content .group-section {
  position: relative;
}

.builders-content h4 {
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.builders-content .button-preview {
  justify-content: center !important;
}

.builders-content .button-wrapper {
  display: flex;
  flex-direction: column;
}

.builders-content .button-menu {
  display: flex;
  list-style: none;
}

.builders-content .button-menu li {
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.25rem;
  text-transform: uppercase;
  background-color: #f7f7f7;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.builders-content .button-menu li:hover {
  background-color: #ececec;
}

.builders-content .button-menu li.active {
  background-color: #dddddd;
}

.builders-content .button-section {
  display: none;
}

.builders-content .button-section.active {
  display: block;
}

.builders-content .group-section .space-between {
  position: relative;
}

.builders-content .reset-btn {
  right: 0;
  z-index: 1;
  top: -1.5rem;
  position: absolute;
  border-radius: 50%;
}

.builders-wrapper {
  padding: 0;
  box-sizing: border-box;
}
.builders-wrapper.tablet,
.builders-wrapper.mobile {
  padding: 1rem;
}

.builders-wrapper .sidebar-wrapper {
  top: 1rem;
  display: flex;
  position: sticky;
  flex-direction: column;
  justify-content: center;
}

.builders-wrapper .sidebar-wrapper h4 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

#builders-columns-layout {
  padding: 0px;
  display: grid;
  list-style-type: none;
  grid-template-columns: repeat(1, 1fr);
}

.builders-column-wrapper {
  height: 50px;
  cursor: pointer;
}

.builders-column-wrapper>div {
  display: flex;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  background-color: #3E4041;
}

.builders-column-wrapper:hover>div {
  background-color: #070f17;
}

.builders-column-wrapper.active>div {
  background-color: #070f17;
}

.builders-custom-layout {
  width: 100%;
  height: 100%;
}

.builder-filter-wrapper {
  top: 1rem;
  left: auto;
  right: 1rem;
  display: flex;
  color: #ffffff;
  position: absolute;
  align-items: center;
}

.builder-filter-wrapper .builder-filter-btn {
  margin: 0 0.75rem 0 0;
}

.builder-filter-wrapper.left .builder-filter-btn {
  margin: 0 0 0 0.75rem;
}

.builder-row-layout {
  z-index: 1;
  padding: 30px;
  position: relative;
  text-align: center;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.builder-row-layout .dismiss-row {
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  position: absolute;
}

.builder-row-layout-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.builder-row-layout .column-group {
  border: 0;
  gap: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.column-group .column-button {
  height: 42px;
  padding: 2px;
  cursor: pointer;
  box-shadow: none;
  background: none;
  width: auto !important;
  border: none !important;
  box-shadow: none !important;
}

.builder-row-layout .column-button svg {
  width: 90px;
  height: 42px;
  transition: fill 0.2s ease-in-out;
}

.pixbox-wrapper {
  position: relative;
  box-sizing: border-box;
}

.pixbox-col .empty-wrapper {
  width: 100%;
  cursor: pointer;
  padding-block: 1rem;
}

.pixbox-col .empty i {
  font-size: 2rem;
  margin-bottom: 0;
}

.pixbox-col .empty h3 {
  margin-top: 5px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem !important;
}


.pixbox-add-row,
.pixbox-add-column,
.pixbox-add-widget {
  width: 25px;
  height: 25px;
  margin: 0 auto;
  line-height: 25px;
  border-radius: 3px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pixbox-add-row i,
.pixbox-add-column i,
.pixbox-add-widget i {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}
.pixbox-add-row {
  background-color: #5E5E3A;
}
.pixbox-add-column {
  background-color: #52577A;
}
.pixbox-add-widget {
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: 1;
  position: absolute;
  display: inline-block;
  background-color: #2574DD;
}
.pixbox-col:hover > .pixbox-add-widget {
  opacity: 1;
}

.pixbox-row,
.pixbox-col {
  z-index: 1;
  position: relative;
  box-sizing: border-box;
}

.pixbox-wid {
  padding: 0;
  z-index: 1;
  display: flex;
  position: relative;
  box-sizing: border-box;
  border: 1px solid transparent !important;
}

.pixbox-wid .widget-inner {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.metric-card{
  z-index: 1;
  display: flex;
  position: relative;
  flex-direction: column;
}
.metric-top{
  display: flex;
  justify-content: space-between;
}
.metric-left{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.metric-inner-left{
  display: flex;
  flex-direction: column;
}
.metric-inner-right{
  font-size: 2rem;
  margin-left: 0.5rem;
}
.metric-right{
  display: flex;
  flex-direction: column;
}
.metric-bottom{
  display: flex;
  margin-top: 0.5rem;
  flex-direction: column;
}

.pixbox-wid textarea {
  resize: none;
  overflow-y: hidden;
}

.table-options {
  top: 100%;
  left: -1px;
  width: 150px;
  display: none;
  list-style: none;
  overflow: hidden;
  position: absolute;
  background-color: #fff;
  border: 1px solid #dddddd;
  border-radius: 0.25rem 0 0.25rem 0.25rem;
}

.table-options.show {
  display: block;
}

.table-options li a {
  display: flex;
  padding: 5px 10px;
  align-items: center;
}

.table-options li a:hover {
  background-color: #f7f7f7;
}

.table-options li a>i {
  margin-top: 2px;
  margin-right: 5px;
}

.pixbox-wid:last-child {
  margin-bottom: 0;
}

.pixbox-wid .table.fixed {
  table-layout: fixed;
}

.pixbox-wid .table thead th:last-child,
.pixbox-wid .table tbody td:last-child {
  text-align: left;
  white-space: normal;
}

.pixbox-wid .table thead th,
.pixbox-wid .table thead th>input {
  text-align: center;
}

.pixbox-wid .table thead th,
.pixbox-wid .table tbody td {
  padding: 0;
}

.pixbox-wid .table thead th input,
.pixbox-wid .table tbody td input {
  border-radius: 0;
}

.pixbox-wid .widget-list ol,
.pixbox-wid .widget-list ul {
  padding: 0 0 0 1rem;
}

.builder-video-background {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: absolute;
}

.builder-video-iframe {
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  position: absolute;
  aspect-ratio: 16/9;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1.5);
}

.builder-video-local {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.builder-content-overlay {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  position: absolute;
}

.builder-image-preview {
  margin-top: 1rem;
  position: relative;
}
.builder-image-preview img{
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.builder-image-preview a{
  top: 5px;
  right: 5px;
  z-index: 1;
  position: absolute;
}


/* Countdown Timer */
.countdown-timer {
  gap: 10px;
  display: flex;
  align-items: center;
}
.timer-box {
  display: flex;
  text-align: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.timer-number {
  display: block;
  font-weight: 500;
  min-width: 40px;
}
.timer-label {
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.timer-colon {
  font-weight: 500;
  margin: 0 5px;
  align-self: flex-start;
}
/* Countdown Timer */

.builder-top-divider .dropdown-select svg,
.builder-top-divider .dropdown-options button svg {
  transform: rotate(180deg) !important;
}

.builder-divider {
  left: 0;
  right: 0;
  z-index: 1;
  height: 100px;
  overflow: hidden;
  position: absolute;
}
.builder-divider.top {
  top: -1px;
}
.builder-divider.bottom {
  bottom: -1px;
}
.builder-divider svg {
  left: 50%;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
}
.builder-divider.top svg {
  top: 0px;
  transform: translateX(-50%) rotate(180deg);
}
.builder-divider.bottom svg {
  bottom: 0px;
  transform: translateX(-50%);
}

.empty-widget{
  display: flex;
  padding: 1rem;
  text-align: center;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.empty-widget i {
  cursor: pointer;
  font-size: 2.5rem;
}
.empty-widget span {
  margin-top: 1rem;
  font-weight: 400;
  font-size: 0.85rem;
}

/* Social Icons */
.widget-social-icons-list {
  gap: 5px;
  display: flex;
  list-style: none;
  min-height: 2rem;
}
.widget-social-icon-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-social-icon-item svg {
  fill: currentColor;
  color: currentColor;
}
.widget-social-icon-item span {
  margin-left: 0.5rem;
}
.widget-social-icon-item {
  width: 32px;
  height: 32px;
  display: flex;
  padding: 0.25rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.widget-social-icon-item.show-text {
  width: auto;
  height: auto;
  display: flex;
  padding: 0.5rem;
  align-items: center;
  border-radius: 50rem;
  justify-content: center;
}
.widget-social-icons-list .is-icon-incomplete {
  opacity: 0.5;
}
:where(.widget-social-icons-list.is-style-logos-only) .widget-social-icon-item svg {
  height: 1.25rem;
  width: 1.25rem
}
/* Social Icons */

/* Accordion Widget */
.builder-accordion {
  z-index: 1;
  width: 100%;
  margin: auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 0.25rem;
}
.accordion-item {
  overflow: hidden;
}
.accordion-header {
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease;
}
.accordion-header > div {
  flex: 1;
}
.accordion-content {
  height: 0;
  overflow: auto;
  font-size: 1rem;
  padding: 0 1.25rem;
  transition: height 0.3s ease, padding 0.3s ease;
}
.accordion-item.active>.accordion-content {
  height: auto;
  padding: 1rem 1.25rem;
}
/* Accordion Widget */

/* Kanban Widget */
.kanban-scroll {
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
}
.kanban-arrows {
  z-index: 2;
  width: 100%;
  display: flex;
  position: absolute;
  justify-content: space-between;
}
.kanban-arrows .arrow-btn {
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
}
.kanban-widget {
  flex-wrap: nowrap;
}
.kanban-header {
  z-index: 1;
  position: relative;
  text-align: center;
  font-size: 1.25rem;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  border-top: 2px solid currentcolor;
  box-shadow: 0px 2px 3px 0px rgb(0 0 0 / 4%);
}
.kanban-cards {
  margin: 1rem 0 0 0;
  border-radius: 0.25rem;
}
.kanban-card {
  padding: 0;
  height: 100%;
  display: flex;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.kanban-card-top {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 0.25rem;
  flex-direction: column;
  justify-content: center;
}
.kanban-card-image {
  width: 100%;
  height: 100px;
  border-radius: 0.25rem 0.25rem 0 0;
}
.kanban-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kanban-card-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.kanban-card-title {
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.kanban-card-fields {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}
.kanban-card-field {
  display: flex;
  font-size: 1rem;
  align-items: center;
  justify-content: space-between;
}
.kanban-card-bottom {
  display: flex;
  padding: 1rem;
  justify-content: left;
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.kanban-actions {
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kanban-cards.over {
  background: #c6c6c6;
}
.kanban-cards.pulse {
  padding: 0.5rem;
  padding-bottom: 2rem;
}
.kanban-card.drag {
  opacity: 0.5;
  transform: scale(0.9);
  border: 1px solid #dddddd !important;
}

/* Gallery Template */
.swiper-slide,
.grid-gallery-image,
.masonry-gallery-image {
  position: relative;
}
.swiper-slide-info {
  bottom: 0;
  z-index: 1;
  opacity: 0;
  width: 100%;
  margin-top: 0;
  display: flex;
  color: inherit;
  max-height: 100%;
  overflow-y: auto;
  padding: 48px 12px;
  text-align: center;
  align-items: center;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  position: absolute !important;
  transition: opacity .3s ease-in-out;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%);
}
.masonry-gallery-image .swiper-slide-info {
  overflow: hidden;
  transform: scale(1.02);
  border-radius: 0.5rem;
}
.grid-gallery-image .swiper-slide-info {
  bottom: 5px;
  overflow: hidden;
  border-radius: 0.5rem;
  transform: scale(1.02);
}
.mosaic-gallery-image .swiper-slide-info {
  overflow: hidden;
  border-radius: 0.5rem;
  transform: scale(1.02);
}
.swiper-slide:hover .swiper-slide-info,
.grid-gallery-image:hover .swiper-slide-info,
.mosaic-gallery-image:hover .swiper-slide-info,
.masonry-gallery-image:hover .swiper-slide-info {
  opacity: 1;
}

/* Masonary */
.masonry-gallery {
  width: 100%;
  column-count: 4;
  column-gap: 1rem;
}
.masonry-gallery img {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  transition: transform 0.3s;
}
.masonry-gallery img:hover {
  transform: scale(1.02);
}
@media (max-width: 1200px) {
  .masonry-gallery {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .masonry-gallery {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .masonry-gallery {
    column-count: 1;
  }
}

/* Mosaic */
.mosaic-gallery {
  gap: 0.5rem;
  width: 100%;
  display: grid;
  grid-auto-rows: 150px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.mosaic-gallery div {
  overflow: hidden;
  position: relative;
  border-radius: 0.5rem;
}
.mosaic-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.mosaic-gallery img:hover {
  transform: scale(1.05);
}
.wide {
  grid-column: span 2;
}
.tall {
  grid-row: span 2;
}
.big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Grid */
.grid-gallery {
  gap: 1rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.grid-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.grid-gallery img:hover {
  transform: scale(1.03);
}

/* Tiles */
.tile {
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}
.tile:hover {
  transform: scale(1.03);
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.builder-swiper-wraper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.main-swiper,
.thumbs-swiper {
  width: 100%;
  position: relative;
}
.main-swiper {
  flex: 1;
}
.thumbs-swiper {
  flex: 0.25;
  max-height: 250px;
  margin-block: 10px;
}
.main-swiper img,
.thumbs-swiper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.thumbs-swiper .swiper-slide {
  opacity: 0.4;
}
.thumbs-swiper .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
}
/* Gallery Template */

/* Chart Widget */
.label-series-row {
  display: flex;
  height: 2.75rem;
  align-items: center;
  margin-bottom: 0.25rem;
}
.area-series-item {
  margin-bottom: 1rem;
}
.series-input {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.series-input.chart-type {
  align-items: stretch;
  flex-direction: column;
}
.area-series-data,
.area-series-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0.25rem;
}
.area-series-label .pickr-wrapper {
  flex: 1;
}
.area-series-data div {
  flex: 1;
  min-width: 31.95%;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}
.area-series-data div>.controls {
  margin: 0;
}
.area-series-data>.controls,
.area-series-label>.controls,
.area-series-data>div>.controls,
.area-series-label .color-box {
  flex: 1;
  margin-right: 0.25rem;
}
.area-series-data>.controls,
.area-series-data>div>.controls {
  padding: 0.25rem 0.35rem;
}
.series-input>a,
.area-series-data>a,
.area-series-label>a {
  padding: 5px;
  display: flex;
  align-self: stretch;
  align-items: center;
}
/* Chart Widget */

/* Google Map Widget */
.google_map-overlay {
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  position: absolute;
}
/* Google Map Widget */

/* Infobox */
.info-box {
  display: flex;
}
.info-box-media {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}
.info-box-media img {
  object-fit: cover;
}
.info-box-title {
  font-weight: 600;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
/* Infobox */

.layout-picker {
  display: flex;
  align-items: center;
}
.layout-picker a {
  display: block;
  padding: 2px 4px;
  margin-left: 4px;
  text-align: center;
  border-radius: 0.25rem;
}
.layout-picker a:first-child {
  margin-left: 0;
}

/* Tabs */
.builder-tabs {
  overflow: hidden;
}
/* HORIZONTAL TABS LAYOUT */
.tabs-horizontal {
  display: flex;
  flex-direction: column;
}
.tabs-horizontal .tab-headers {
  display: flex;
  position: relative;
  margin-bottom: -1px;
}
.tabs-horizontal .tab-header {
  cursor: pointer;
  margin: 0 0.5rem;
  padding: 0.5rem 1.25rem;
  transition: background 0.3s ease;
  border-radius: 0.25rem 0.25rem 0 0;
}
.tabs-horizontal .tab-header.active {
  border-bottom: 0;
}
.tabs-horizontal .tab-contents {
  padding: 1rem;
  border-radius: 0.25rem;
}

/* VERTICAL TABS LAYOUT */
.tabs-vertical {
  display: flex;
  flex-direction: row;
}
.tabs-vertical .tab-headers {
  width: 200px;
  display: flex;
  position: relative;
  margin-right: -1px;
  flex-direction: column;
}
.tabs-vertical .tab-header {
  cursor: pointer;
  margin: 0.5rem 0;
  padding: 0.75rem 1rem;
  transition: background 0.3s ease;
  border-radius: 0.25rem 0 0 0.25rem;
}
.tabs-vertical .tab-header.active {
  border-right: 0;
}
.tabs-vertical .tab-contents {
  flex: 1;
  padding: 1rem;
  border-radius: 0.25rem;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .tabs-vertical {
    flex-direction: column;
  }
  .tabs-vertical .tab-headers {
    flex-direction: row;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
  .tabs-vertical .tab-header {
    border-bottom: none;
    border-right: 1px solid #ccc;
  }
  .tabs-vertical .tab-header:last-child {
    border-right: none;
  }
}
/* Tabs */

/* Buttons */
.widget-button-list {
  gap: 5px;
  display: flex;
}
.widget-button-list a {
  gap: 5px;
  color: inherit;
}
/* Buttons */

.ql-editor ol,
.ql-editor ul {
  padding: 0;
}
.ql-editor li {
  padding-left: 0.5rem;
}