/* line 11, app/assets/stylesheets/actiontext.scss */
.trix-content .attachment-gallery > action-text-attachment,
.trix-content .attachment-gallery > .attachment {
  flex: 1 0 33%;
  padding: 0 0.5em;
  max-width: 33%;
}

/* line 20, app/assets/stylesheets/actiontext.scss */
.trix-content .attachment-gallery.attachment-gallery--2 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--2 > .attachment, .trix-content .attachment-gallery.attachment-gallery--4 > action-text-attachment,
.trix-content .attachment-gallery.attachment-gallery--4 > .attachment {
  flex-basis: 50%;
  max-width: 50%;
}

/* line 29, app/assets/stylesheets/actiontext.scss */
.trix-content action-text-attachment .attachment {
  padding: 0 !important;
  max-width: 100% !important;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

/* Will Pagination */
.apple_pagination {
  margin: 20px 0;
  background: #02090f;
  border: 1px solid #02090f;
  text-align: center;
  padding: 0.5em;
  cursor: default;
  font-size: 1.2rem;
}

.apple_pagination a,
.apple_pagination span {
  padding: 0.2em 0.3em;
}

.apple_pagination .disabled {
  color: #aaaaaa;
}

.apple_pagination .current {
  font-style: normal;
  font-weight: bold;
  background-color: #42306d;
  display: inline-block;
  min-width: 1.4em;
  height: 1.4em;
  line-height: 1.5;
  -moz-border-radius: 1em;
  -webkit-border-radius: 1em;
  border-radius: 1em;
  text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 1px;
}

.apple_pagination a {
  text-decoration: none;
  color: #fff;
}

.apple_pagination a:hover,
.apple_pagination a:focus {
  color: #495057;
}


.text-end {
  text-align: end;
}

/* User Avatar Header */
.user-avatar-header {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.user-avatar-header:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

.user-avatar-initials {
  background: linear-gradient(135deg, #6a6bec 0%, #8b8bef 100%);
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-name-header {
  color: var(--iq-body-text, #fff);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .user-name-header {
    display: none;
  }
}

/* Cashback Badge - Estilo Animado */
.cashback-badge-wrapper {
  margin-right: 15px;
}

.cashback-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-radius: 25px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  animation: cashback-pulse-glow 2s ease-in-out infinite;
}

.cashback-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
  text-decoration: none;
  color: white;
}

.cashback-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cashback-icon-bounce 1.5s ease-in-out infinite;
}

.cashback-icon svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.cashback-amount {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  animation: cashback-text-shine 2s ease-in-out infinite;
}

.cashback-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.3);
  animation: cashback-pulse-ring 2s ease-out infinite;
  pointer-events: none;
}

/* Animações */
@keyframes cashback-pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(40, 167, 69, 0.7), 0 0 20px rgba(40, 167, 69, 0.3);
  }
}

@keyframes cashback-icon-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes cashback-text-shine {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes cashback-pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 991px) {
  .cashback-badge-wrapper {
    margin-right: 10px;
  }

  .cashback-badge {
    padding: 6px 12px;
    font-size: 12px;
  }

  .cashback-icon svg {
    width: 16px;
    height: 16px;
  }
}
label.asdndzone * {
  box-sizing: border-box;
}

label.asdndzone {
  box-sizing: border-box;
  display: block;
  border: 3px solid #c8ce3e;
  border-radius: 6px;
  min-height: 220px;
  max-width: 310px;
  width: 100%;
  padding: 99px 20px 20px;
  text-align: center;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 21px;
  letter-spacing: 0.6px;
}

label.asdndzone:focus-within {
  outline: 2px solid #7aacfe; /* for non-webkit browsers */
  outline: 5px auto -webkit-focus-ring-color;
}

label.asdndzone .asdndz-highlight {
  color: #8dc63f;
}

label.asdndzone .asdndz__icon-container {
  text-align: left;
}

label.asdndzone .direct-upload {
  display: inline-block;
  position: relative;
  border-radius: 10px;
  height: 18px;
  min-width: 126px;
  background-color: #f5f5f5;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #212121;
  margin-top: 8px;
  padding: 5px 10px;
}

label.asdndzone .direct-upload__complete {
  background-color: #c8ce3e;
}

label.asdndzone .direct-upload__progress {
  opacity: 0.57;
  background-color: #c8ce3e;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  transition: width 120ms ease-out, opacity 60ms 60ms ease-in;
  transform: translate3d(0, 0, 0);
}

label.asdndzone .direct-upload__remove {
  display: inline-block;
  vertical-align: top;
  margin-top: 13px;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  color: #212121;
}

label.asdndzone .direct-upload__filename {
  position: relative;
  max-width: 190px;
  overflow: hidden;
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
}

label.asdndzone .direct-upload__filesize {
  position: relative;
  float: right;
  font-size: 10px;
  letter-spacing: 0.1px;
  color: #707e87;
  padding-left: 7px;
}

label.asdndzone .direct-upload[data-direct-upload-id='error'] {
  border: 1px solid red;
}
