:root {
    --f7-theme-color: #42A1EC;
    --f7-navbar-bg-color: #ffffff;
    --f7-navbar-text-color: #000000;
    --f7-navbar-border-color: transparent;
}

/* Estilos para reingresos y check-ins */
.reentry-badge {
    background: #ff9500 !important;
    color: white !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
    display: inline-block !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
}

.checkins-list {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px;
    margin-top: 8px;
    border-left: 3px solid #42A1EC;
}

.success {
    color: #28a745 !important;
    font-weight: bold !important;
}

.danger {
    color: #dc3545 !important;
    font-weight: bold !important;
}

/* Estilos para búsqueda y estadísticas */
.pagination-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
}

.success-toast {
    background-color: #4CAF50 !important;
    color: white !important;
}

.warning-toast {
    background-color: #ff9500 !important;
    color: white !important;
}

.error-toast {
    background-color: #f44336 !important;
    color: white !important;
}

/* body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
}

#scanner-container {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 20px auto;
    border: 1px solid #ccc;
}

#result {
    margin-top: 20px;
    font-weight: bold;
} */


/* .navbar {
    --f7-navbar-height: calc(var(--f7-navbar-height) + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
}

.page-content {
    padding-top: var(--f7-navbar-height);
}

.ios {
    --f7-statusbar-height: 0px;
} */

#app .navbar-bg,
#app .navbar .searchbar {
    background-color: white;
}
.wrapper-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-left));
    padding-right: calc(var(--f7-block-padding-horizontal) + var(--f7-safe-area-right));
  }
#event-header img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
  }
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-content {
    padding-top: 10px;
}

.card {
    margin: 15px 0;
}

.custom-clear-button {
    background-color: red;
    color: white;
    border: none;
    padding: 5px;
    width: 50px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1.5px solid red;
}

.custom-clear-button:hover,
.custom-clear-button:focus {
    background-color: darkred;
    border: 1.5px solid darkred;
    transition: all .3s ease;
}

#qrScanner .page-content {
    position: relative;
}

.qr-scanner-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

#searchInput {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#userList {
    margin-bottom: 15vh;
    margin-top: 0;
}

.toolbar-inner a {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .15rem;
}

/* .toolbar .link span {
  font-size: .75rem;
} */

.searchbar::after {
    visibility: hidden;
}

/* .toolbar-inner a:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,.15);
} */
.success-toast {
    background-color: #4CAF50 !important;
    /* Verde */
    color: white !important;
    font-weight: bold;
    border-radius: 8px;
}

.danger {
    background-color: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #58151c;
    font-size: .75rem;
    font-weight: bold;
    padding: 0 .5em;
    border-radius: 3px;
}

.success {
    background-color: #d1e7dd;
    border: 1px solid #a3cfbb;
    color: #0a3622;
    font-size: .75rem;
    font-weight: bold;
    padding: 0 .5em;
    border-radius: 3px;
}
.toolbar-inner {
    background-image: linear-gradient(#42A1EC, #0070C9);
  }
.toolbar .link {
    height: auto !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: white;
}

.toolbar .link span {
    font-size: .75rem;
}

.toolbar .link:not(:last-child) {
    border-right: 1px solid #07C;
}

.button.button-fill {
    background-image: linear-gradient(#42A1EC, #0070C9);
    border: 1px solid #0077CC;
    border-radius: 4px;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    font-size: .75rem;
    letter-spacing: inherit;
    overflow: visible;
    text-align: center;
    vertical-align: baseline;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    text-decoration: none;
    width: fit-content;
    line-height: 1;
    padding: .5rem .75rem;
    margin: 0 auto;
    text-transform: none;
}
.error-toast {
    background-color: #dc3545 !important;
    color: white !important;
}
.print-ticket.link.button.button-fill {
    margin: 0;
    padding: 0;
  }
  .pdf-container {
    display: flex;
    justify-content: center;
    align-items: start;
  }
  #scanQRButton {
    border: 1px solid #07C;
    background-image: linear-gradient(#42A1EC, #0070C9);
  }

  .navbar,
  .toolbar-bottom,
  #participantCount,
  #scanQRButton {
      visibility: hidden;
  }
  
  /* Cuando se muestre explícitamente */
  .show-elements .navbar,
  .show-elements .toolbar-bottom,
  .show-elements #participantCount,
  .show-elements #scanQRButton {
      visibility: visible;
  }
  
  /* Para elementos que deben ocultarse completamente */
  .hide-elements .navbar,
  .hide-elements .toolbar-bottom,
  .hide-elements #participantCount {
      display: none;
  }
  .brand {
    font-family: Arial;
    background-color: #bdbdc2;
    color: transparent;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    font-size: 6rem;
    letter-spacing: -5px;
    user-select: none;
    pointer-events: none;
    margin: 0;
    line-height: 1;
  }

@media (max-width: 786px) {
    /* .brand {
        display: none;
    } */
}