/*
 Theme Name:   Photoshare
 Theme URI:    https://example.com/photoshare/
 Description:  Tema filho personalizado para o tema Hello Elementor.
 Author:       Matheus
 Author URI:   https://example.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  photoshare
*/

/* Customizações CSS adicionais podem ser feitas abaixo */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-touch-action: manipulation;
    touch-action: manipulation
}

.videogallery {
    gap: 5px
}

.videounit {
    border-radius: 8px
}

@media (max-width: 767px) {
    .contvideo {
        width: 49% !important;
    }
}

.grecaptcha-badge {
    display: none !important;
}


.menutransp {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/* gallery-custom-user.css */

/* Estilo para a foto de perfil do usuário */
.user-profile-picture-admin {
    text-align: center;
    margin-bottom: 20px;
    width: 150px;
    height: 150px;
}

.user-profile-picture-admin img {
    width: 150px;
    height: 150px;
}



/* Estilo para o formulário */
.augv-form {
    margin-bottom: 20px;
}

.augv-form label {
    margin-right: 10px;
    font-weight: bold;
}

.augv-form input[type="number"] {
    width: 100px;
    padding: 5px;
    margin-right: 10px;
}

.augv-form input[type="submit"] {
    padding: 5px 15px;
}

/* all-users-grid.css */

/* Estilo para o formulário de seleção de role */
.user-role-form {
    margin-bottom: 20px;
}

.user-role-form label {
    margin-right: 10px;
    font-weight: bold;
}

.user-role-form select {
    padding: 5px;
    margin-right: 10px;
}

.user-role-form input[type="submit"] {
    padding: 5px 15px;
}

/* Estilo para a grade de usuários */
.all-users-grid {
    display: flex;
    flex-wrap: wrap;
}

.user-item {
    width: 20%;
    /* 4 colunas */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.user-item .user-avatar img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
}

.user-item .user-info {
    margin-top: 10px;
    text-align: left;
}

.user-item .user-info p {
    margin: 5px 0;
    color: #FFFFFF;
    font-family: "sohne", Sans-serif;
    font-size: 13px;
    font-weight: 400;
}

/* Ajustes para telas menores */
@media screen and (max-width: 768px) {
    .user-item {
        width: 50%;
        /* 2 colunas */
    }
}

@media screen and (max-width: 480px) {
    .user-item {
        width: 100%;
        /* 1 coluna */
    }
}

.event-folder-filter::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 50px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    pointer-events: none;
}

.download-button {
    display: inline-block;
    margin-top: 10px;
    background: #0073e6;
    color: #fff;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
    font-family: Arial, sans-serif;
}

.download-button:hover {
    background: #005bb5;
}



.image-griddownload {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0;
    /* Remove qualquer margem no container */
    padding: 0;
    /* Se quiser remover padding do container também */
}

/* Responsivo (3 colunas, gap 5px) */
@media (max-width: 600px) {
    .image-griddownload {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
}

/* Cada item da imagem */
.image-download {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    /* Borda arredondada */
}

/* Imagem com proporção quadrada (1:1) e sem distorção */
.image-download img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Mantém proporção 1:1 */
    object-fit: cover;
    /* Ajusta imagem para preencher o container */
    /* display: block; */
    /* Evita possíveis espaços no modo inline */
    height: 100%;
}

/* Botão de download por cima da imagem */
.image-download a {
    position: absolute;
    bottom: 0;
    left: 0;
    width: auto;
    text-align: center;
    background-color: rgb(255 255 255 / 100%);
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-77012af);
    border-radius: 5px;
    margin: 10px;
}

/* Exibe o botão quando o mouse passa por cima do item */
.image-download:hover a {
    opacity: 1;
}


.user-orders-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}


.order-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f9f9f9;
    aspect-ratio: 1 / 1;
    /* Mantém o quadrado */
}

.order-item h3 {
    margin: 0;
    font-size: 18px;
    font-family: "Inter", Sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--e-global-color-77012af);
}

.order-item a {
    margin-top: 10px;
    padding: 5px 10px;
    background: var(--e-global-color-0172488);
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.order-item a:hover {
    background: #444;
}

@media (max-width: 600px) {
    .user-orders-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    font-size: 16px;
    /* Tamanho da fonte para evitar zoom no iOS */
    min-width: 100%;
    /* Garante que o campo de formulário ocupe toda a largura do dispositivo */
    box-sizing: border-box;
    /* Garante que padding e bordas não ultrapassem a largura */
}



.transparentblur {
    -webkit-backdrop-filter: blur(40px);
    backdrop-filter: blur(40px);
}

.transparent-white {
    mix-blend-mode: multiply;
}



.uppu-step-1,
.uppu-step-2,
.uppu-step-3,
.uppu-step-loading {
    display: none;
}

.uppu-step-1.active,
.uppu-step-2.active,
.uppu-step-3.active,
.uppu-step-loading.active {
    display: block;
}


.uploaded-image-preview img {
    width: 100%;
    /* Faz com que a imagem ocupe 100% da largura disponível */
    height: auto;
    /* Mantém a proporção da altura */
    max-width: 100%;
    /* Garante que a imagem não ultrapasse o tamanho do contêiner */
}

/* =========================
   GRID NO ESTILO 'TAILWIND'
   ========================= */
.my-grid {
    /* Variáveis iniciais */
    --max-column-count: 2;
    /* até 5 colunas */
    --min-column-width: 300px;
    /* min width default: 300px */
    --column-gap: 12px;
    /* gap horizontal default: 12px */
    --total-gap-width: calc((var(--max-column-count) - 1) * var(--column-gap));
    --max-column-width: calc((100% - var(--total-gap-width)) / var(--max-column-count));

    /* Ativa grid e define espaçamentos */
    display: grid;
    align-content: flex-start;
    /* mesmo efeito de .content-start */
    column-gap: var(--column-gap);
    /* mesmo efeito de .gap-x-[--column-gap] */
    row-gap: 20px;
    /* mesmo efeito de .gap-y-20 */

    /*
      Substitui a classe .grid-cols-[repeat(...)]
      => repeat(auto-fill, minmax(max(...), 1fr))
    */
    grid-template-columns: repeat(auto-fill,
            minmax(max(var(--min-column-width), var(--max-column-width)),
                1fr));
}

/* === A partir de 720px (mesmo que min-720:[--column-gap:16px] etc.) === */
@media (min-width: 720px) {
    .my-grid {
        --column-gap: 16px;
        /* substitui a gap horizontal para 16px */
        row-gap: 48px;
        /* substitui a gap vertical para 48px */
    }
}

/* === A partir de 840px (mesmo que min-840:[--min-column-width:315px]) === */
@media (min-width: 840px) {
    .my-grid {
        --min-column-width: 315px;
    }
}

/* === A partir de 1280px (mesmo que min-1280:[--min-column-width:360px]) === */
@media (min-width: 1280px) {
    .my-grid {
        --min-column-width: 360px;
    }
}

.blurred-container {
   
    -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .068) 3.3%, rgba(0, 0, 0, .145) 5.9%, rgba(0, 0, 0, .227) 8.1%, rgba(0, 0, 0, .313) 10.1%, rgba(0, 0, 0, .401) 12.1%, rgba(0, 0, 0, .49) 14.6%, rgba(0, 0, 0, .578) 17.7%, rgba(0, 0, 0, .661) 21.8%, rgba(0, 0, 0, .74) 27.1%, rgba(0, 0, 0, .812) 33.9%, rgba(0, 0, 0, .875) 42.4%, rgba(0, 0, 0, .927) 53%, rgba(0, 0, 0, .966) 66%, rgba(0, 0, 0, .991) 81.5%, rgba(0, 0, 0, .991) 100%);
    mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .068) 3.3%, rgba(0, 0, 0, .145) 5.9%, rgba(0, 0, 0, .227) 8.1%, rgba(0, 0, 0, .313) 10.1%, rgba(0, 0, 0, .401) 12.1%, rgba(0, 0, 0, .49) 14.6%, rgba(0, 0, 0, .578) 17.7%, rgba(0, 0, 0, .661) 21.8%, rgba(0, 0, 0, .74) 27.1%, rgba(0, 0, 0, .812) 33.9%, rgba(0, 0, 0, .875) 42.4%, rgba(0, 0, 0, .927) 53%, rgba(0, 0, 0, .966) 66%, rgba(0, 0, 0, .991) 81.5%, rgba(0, 0, 0, .991) 100%);
    padding: 1rem; /* opcional: espaço interno */
    border-radius: 1rem; /* opcional: bordas arredondadas */
    overflow: hidden;
  }
  
  @supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)) {
    .blurred-container {
      background-color: rgba(40, 40, 40, 0.5);
      -webkit-backdrop-filter: saturate(190%) blur(60px);
      backdrop-filter: saturate(190%) blur(60px);
    }
  
    @media (prefers-color-scheme: dark) {
      .blurred-container {
        -webkit-backdrop-filter: saturate(180%) blur(60px);
        backdrop-filter: saturate(180%) blur(60px);
      }
    }
  }
  
  .eael-recaptcha-no-branding-wrapper {
    display: none;
  }

  .elementor-486 .elementor-element.elementor-element-1da3425 .lr-form-wrapper .eael-field-label {
    font-family: "Inter", Sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
    background-color: #ffffff00 !important;
  }

  .elementor-element-9eea406 {
    min-height: 410px!important;
    height: 410px!important;
  }

  @media (max-width: 767px) {
    .elementor-element-9eea406 {
        min-height: 310px!important;
        height: 310px!important;

    }
}