/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/



/* General improvements */

html,
body,
:root {
  background: #000000 !important;
  scroll-behavior: initial;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

/* body {
    max-width: 620px;
    margin-right: 0 !important;
}*/

video {
  border-radius: 3px;
}

::-moz-selection {
  color: white;
  background: #F4364C;
}

::selection {
  color: white;
  background: #F4364C;
}

* {
  outline: none !important;
}

* {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}


.pswp__button--share,
.pswp__button--fs {
  display: none !important;
}

.pswp {
  background-color: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(20px) !important
}

.pswp * {
  border-radius: 10px !important;
}

.hidden {
  display: none;
}

.btn-copy.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}


.is-favorited {
  background: white !important;
}

.is-favorited:hover i {
  color: #e41b50;
  fill: #e41b50;
}

.is-favorited i {
  color: #e41b50 !important;
  fill: #e41b50 !important;
}

a.current-page-active * {
  fill: var(--bricks-color-eihypp) !important;
  color: var(--bricks-color-eihypp) !important;
}


/* TOAST */

.er-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  padding: 12px 18px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  z-index: 999999;
  transition: opacity .25s ease, transform .25s ease;
}

.er-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.er-toast-success {
  background: #2e7d32;
}

.er-toast-error {
  background: #c62828;
}

.er-toast-warning {
  background: #f9a825;
  color: #000;
}

.er-toast-neutral {
  background: #333;
}




/* Nothing found */

.bricks-posts-nothing-found {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.75);
  padding: 16px 20px;
  border-radius: 8px;
  justify-self: start;
  width: auto !important;
}




.user-mycomponent-form .options-wrapper li {
  align-items: center;
  margin: 10px 0px;
}

.user-mycomponent-form .options-wrapper {
  overflow-y: auto;
  max-height: 165px;
  background: #0d0d0d;
  border-radius: 8px;
  padding: 10px 20px;
}

.user-mycomponent-form .options-wrapper input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  accent-color: var(--magenta);
}

.user-mycomponent-form .options-wrapper {
  overscroll-behavior: none;
}

.user-mycomponent-form .options-wrapper label {
  font-size: 13px !important;
  margin: 0 6px;

}

.user-mycomponent-form .message {
  display: none !important;
}

.user-mycomponent-form .choose-files {
  margin-left: 0px !important;
}

.user-mycomponent-form .submit-button-wrapper {
  padding-bottom: 0px !important;
}

.user-mycomponent-form .file-result span {
  color: white;
}

.user-mycomponent-form .file-result.show+.choose-files {
  display: none !important;
}





/* Messages */

.message {
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.message .text {
  font-size: 15px;
  padding: 10px 14px;
}



/* NAVIGATION */


.nav-item:hover .btn-hover {
  opacity: 1 !important;
}


.nav-item,
.nav-cat {
  transition: all .2s ease;
}

/* Categories */


.nav-cat path {
  transition: fill .12 ease;
}



/* Items - General */

.nav-item h3 {
  transition: color .2s ease;
}

/* Item - Páginas */

.image-mask {
  overflow: hidden;
  position: relative;
}

.image-mask img {
  display: block;
  width: 101%;
  height: auto;
  transition: transform 3s ease;
}

.item-pagina:hover .image-mask img {
  transform: translateY(calc(-100% + 120px));
}



/* Scrollbar */

* {
  scrollbar-width: thin;
  scrollbar-color: rgb(68, 71, 70) #0f0906;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0f0906;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(68, 71, 70);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(90, 93, 92);
}



/* Forms */

.form-group label,
.form-group .label {
  margin-left: 8px;
  margin-bottom: 12px;
}




/* Gradients */
grad-01,
.grad-01 {
  background: linear-gradient(135deg, #f1362d 0%, #f66620 25%, #c9ea05 50%, #ffad16 75%, #f1362d 100%);
  background-size: 400%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated_text 5s ease-in-out infinite;
  -moz-animation: animated_text 10s ease-in-out infinite;
  -webkit-animation: animated_text 10s ease-in-out infinite;
}


grad-01-bg,
.grad-01-bg {
  background: linear-gradient(135deg, #f1362d 0%, #f66620 25%, #c9ea05 50%, #ffad16 75%, #f1362d 100%);
  background-size: 400%;
  animation: animateGradient 10s linear infinite;
}


@keyframes animated_text {
  0% {
    background-position: 0px 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0px 50%;
  }
}




.builder-edit-modal.animate-in {
  animation: fadeIn 0.3s ease-out;
}


@keyframes animated_text {
  0% {
    background-position: 0px 50%;
  }

  0% {
    background-position: 0px 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0px 50%;
  }

  100% {
    background-position: 0px 50%;
  }
}


@keyframes modalOpen {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.builder-edit-modal.animate-in {
  animation: fadeInUp 0.3s ease-out;
}




/* ---------- Cursor utilities---------- */

#cursor {
  width: 100px;
  height: 100px;
  display: none;
  position: fixed;
  z-index: 5;
  pointer-events: none;
}

.cursor-seta {
  cursor: none;
}

.cursor-lupa {
  cursor: none;
}

.cursor-lupa .bricks-lightbox {
  cursor: none;
}

.c-play {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.9 187.9'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Ccircle class='a' cx='93.95' cy='93.95' r='93.95'/%3E%3Cpath d='M83.56,72.77l34.43,19a3.66,3.66,0,0,1,0,6.42l-34.43,19a3.67,3.67,0,0,1-5.44-3.21V76A3.67,3.67,0,0,1,83.56,72.77Z'/%3E%3C/svg%3E") !important;
}

.c-pause {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.9 187.9'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Ccircle class='a' cx='93.95' cy='93.95' r='93.95'/%3E%3Crect x='75.99' y='72.5' width='12' height='42.9' rx='2.39'/%3E%3Crect x='99.9' y='72.5' width='12' height='42.9' rx='2.39'/%3E%3C/svg%3E") !important;
}

.c-seta {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.9 187.9'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Ccircle class='a' cx='93.95' cy='93.95' r='93.95'/%3E%3Cpath d='M92.43,72.89,107.1,87.56H65.37a6.4,6.4,0,0,0,0,12.79H107.1L92.43,115a6.39,6.39,0,0,0,9,9l25.58-25.58a6.39,6.39,0,0,0,0-9L101.47,63.85a6.39,6.39,0,0,0-9,9Z'/%3E%3C/svg%3E") !important;
}

.c-lupa {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 187.9 187.9'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Ecursor-lupa%3C/title%3E%3Ccircle class='a' cx='93.95' cy='93.95' r='93.95'/%3E%3Cpath d='M132.77,125.85,112.89,106a30,30,0,0,0,6.67-19.14A30.93,30.93,0,1,0,107.84,111l19.88,19.88a4.07,4.07,0,0,0,2.66,1.05,3.6,3.6,0,0,0,2.52-1A3.47,3.47,0,0,0,132.77,125.85Zm-67.67-39a23.74,23.74,0,1,1,23.74,23.74A23.77,23.77,0,0,1,65.1,86.83Z'/%3E%3C/svg%3E") !important;
}

.anima-in {
  animation: cursorIn .2s ease forwards;
}

.anima-out {
  animation: cursorOut .2s ease forwards;
}

@keyframes cursorIn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes cursorOut {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}







/* ---------- Video ---------- */

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
}

.video-play {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  padding: 32px;
  background: linear-gradient(45deg, #F4364C, #ff8400);
  background-size: 300%;
  border-radius: 150px;
  animation: animated_text 5s ease-in-out infinite;
  -moz-animation: animated_text 5s ease-in-out infinite;
  -webkit-animation: animated_text 5s ease-in-out infinite;
  box-shadow: 0px 20px 40px -15px rgba(0, 0, 0, 0.25);
}

.video-play svg {
  width: 25px;
  height: 25px;
  padding-left: 5px;
}






/* HT - Hottips */


.ht::after {
  opacity: 0;
  color: white;
  transition: all 0.1s ease-in-out;
  display: block;
  position: absolute;
  top: 7px;
  right: 66px;
  border-radius: 10px;
  width: auto;
  height: auto;
  padding: 5px 14px;
  background: black;
  font-size: 13.5px;
  font-family: "Montserrat", sans-serif;
  pointer-events: none;
  white-space: nowrap;
}

.ht:hover::after {
  opacity: 1;
}

.ht path,
.ht i {
  fill: #cfcfcf;
  color: #cfcfcf;
}


/* Home */
.ht-home::after {
  content: "Dashboard";
}

.ht-home:hover path {
  fill: var(--blue) !important
}

.ht-home:hover {
  background: #121d26;
}






/* Favorites */
.ht-favorites::after {
  content: "Favorites";
}

.ht-favorites:hover i {
  fill: #eb156b;
  color: #eb156b;
}

.ht-favorites:hover {
  background: #1f0710;
}


/* Support */
.ht-support::after {
  content: "Support";
}

.ht-support:hover path {
  fill: var(--green)
}

.ht-support:hover {
  background: #151c10;
}



/* Builder */
.ht-builder::after {
  content: "AI Builder";
}

.ht-builder:hover path {
  fill: #ff2f62;
}

.ht-builder:hover {
  background: #221414;
}




/* Suggestions */
.ht-suggestions::after {
  content: "Suggest a component";
}

.ht-suggestions:hover path {
  fill: var(--yellow)
}

.ht-suggestions:hover {
  background: #1a160b;
}



/* Bugs */
.ht-bugs::after {
  content: "Report a bug";
}

.ht-bugs:hover path {
  fill: red;
}

.ht-bugs:hover {
  background: #1a160b;
}




/* My Components */
.ht-myblocks::after {
  content: "My Blocks";
}

.ht-myblocks:hover path {
  fill: var(--blueish)
    /* Verde */
}

.ht-myblocks:hover {
  background: #1a160b;
}



/* Account */
.ht-account::after {
  content: "Account";
}

.ht-account:hover path {
  fill: white;
}

.ht-account:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Logout */
.ht-logout::after {
  content: "Log out";
}

.ht-logout:hover path {
  fill: white;
}






/* ---------- Responsive iframe preview (.pup-*) ---------- */

.pup-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.pup-preview {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
  transition: height 0.35s ease;
}

.pup-iframe-wrap {
  position: absolute;
  top: 0;
  z-index: 1;
  margin: 0;
  transform-origin: top left;
  box-sizing: border-box;
  overflow: hidden;
  transition:
    left 0.35s ease,
    width 0.35s ease,
    height 0.35s ease,
    transform 0.35s ease;
  will-change: left, width, height, transform;
}

.pup-iframe {
  display: block;
  border: none;
  transition:
    width 0.35s ease,
    height 0.35s ease;
}

.pup-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.pup-loader svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.pup-loader__spinner {
  transform-origin: center;
  animation: pup-loader-spin 0.75s infinite linear;
}

.pup-is-loading .pup-loader {
  opacity: 1;
}

@keyframes pup-loader-spin {
  100% {
    transform: rotate(360deg);
  }
}