@import url("animations.css");

@font-face {
  font-family: 'MainFont';
  src: url('../fonts/DMSans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --main-color: #1160f3;
  --discord-color: #5c64f4;
  --h1-size: 3.5rem;
  --h2-size:1.5rem;
  --h3-size:1.17rem;
  --a-size:1rem;
  --header-height: 15%;
  --body-height: 85%;
  --width-logo: 30%;
  --slider-height: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  font-size: var(--a-size);
  text-decoration: none;
}

*:focus,
*:active {
  outline: none !important;
  box-shadow: none !important;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-family: "MainFont", sans-serif;
  background: url('../img/blue-bg1.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: hidden;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.glass-container, header, .discord-button,.dashboard, .copy-container, .fileForm,.searcher-container input,.services-select{
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
}
.glass-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem;
  background: rgba(32, 32, 32, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.choices {
  margin-bottom: 0;
}

/* Cuando el select está abierto */
.is-open .choices__inner {
  border-radius: 8px 8px 0 0;
}

/* Estilo del input del select */
.choices__inner {
  background: rgba(87, 87, 87, 0.2);
  border-radius: 8px;
  border: none;
  color: white;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(10px);
  outline: none;
  transition: background 0.4s ease;
}

.choices__inner:hover {
  background: rgba(87, 87, 87, 0.3);
}

/* Contenedor desplegable */
.choices__list--dropdown,
.choices__list[aria-expanded] {
  background: rgb(32, 32, 32);
  border: none;
  border-radius: 0 0 12px 12px;
  margin-top: 0;
}

/* Opciones */
.choices__item--selectable {
  color: white;
  padding: 10px;
  border-radius: 0;
  transition: background 0.2s ease;
}

.choices__item--selectable:last-child {
  border-radius: 0 0 12px 12px;
}

/* Opción resaltada al navegar con teclado o hover */
.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: rgba(87, 87, 87, 0.223);
}

/* Hover específico por id en opciones (puedes generalizar esto si quieres) */
#choices--services-select-item-choice-1:hover,
#choices--services-select-item-choice-2:hover {
  background:rgba(87, 87, 87, 0.223);
}



.glass-container {
  height: var(--body-height);
  width: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  width: 100%;
  padding: 2rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 10px;
  width: var(--width-logo);
}

.logo img {
  width: 100%;
  mix-blend-mode: screen;
  opacity: 1;
}

.navlinks-normal {
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: 0.5s;
}

.navlinks-normal a {
  color: white;
  font-weight: 600;
  transition: 0.5s;
  padding: 0.5rem 0.8rem;
  border-radius: 5px;
  height: 35px;
  text-align: center;
}

.navlinks-normal a:hover {
  background-color: rgb(64, 64, 64);
  backdrop-filter: blur(70px);
}

.discord-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: 0.5s;
  backdrop-filter: blur(70px);
}


.discord-button:hover {
  background-color: var(--main-color);
}

.discord-button:hover img {
  animation: bounce 0.6s;
}

.discord-button img {
  fill: white;
  stroke: white;
}

.select-button{
  padding: 1.4rem;
}

.session-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.user-profile {
  width: 60px;
}

.profile-img img {
  transition: 0.3s;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.165);
}

.badge {
  display: inline-block;
  background: var(--main-color);
  color: white;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--h1-size);
  font-weight: 600;
  line-height: 1.2;
}

h2{
  font-size: var(--h2-size);
}

h3{
  font-size: var(--h3-size);
}

p {
  color: #ccc;
  margin: 1rem auto 2rem;
  max-width: 600px;
}

main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  gap: 1rem;
  text-align: center;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.buttons a {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-primary:active{
  transition: 0.5s;
  color: black;
  background-color: white;
}

.btn-primary{
  background-color: var(--main-color);
  color: white;
  border-radius: 4px !important;
}

.btn-primary:hover{
  background-color: #4174d2;
  transition: 0.3s;
}

.buttons a.sub-buttons.cancel-button{
  background-color: #d9d9d9;
  color: black;
}

.buttons a.sub-buttons.cancel-button:hover{
  background-color: #ffffff;
  transition: 0.3s;
}

.slider-fade-wrapper {
  position: relative;
  margin: 1rem;
  text-align: center;
  width: 65%;
}

.slider-container {
  overflow: hidden;
  padding: 20px 0;
  margin: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  pointer-events: none;
}

.slider-track img {
  height: var(--slider-height);
  margin-right: 40px;
  user-select: none;
  opacity: 0.95;
  filter: invert(0.7) grayscale(100%) brightness(1.2) contrast(1.3) saturate(0);
}

.menu-toggle-open, .menu-toggle-close {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.navlinks, .nav-wrapper {
    display: none;
}

#error-box, #success-box {
  position: fixed;
  top: 50px;
  right: 45px;
  background-color: #e6847d;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 250px;
  max-width: 450px;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.4s ease;
}

#success-box {
  background-color: #88de8b;
  color: black
}

#error-box.hide, #success-box.hide {
  opacity: 0;
  pointer-events: none;
}

#error-box .close-btn, #success-box,.close-btn-success {
  margin-left: 15px;
  cursor: pointer;
  font-weight: bold;
}

.dashboard{
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #00000032;
  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 10px;
}

.dashMenu{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: .5rem;
  gap: .5rem;
  width: 20%;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;

}

.dashMenu-item{
  gap: 1rem;
  width: 95%;
  height: 3rem;  
}

.dashMenu-item button{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin: auto;
  width: 100%;
  color: white;
  height: 100%;
  background-color: transparent;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  font-family: 'MainFont';
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;     
}

.dashMenu-item button:hover{
  box-shadow:
    inset -6px 6px   20px rgba(158, 228, 255, 0.178),  /* sombra interior azul arriba derecha */
    0 4px 8px rgba(0, 0, 0, 0.2); 
  letter-spacing: 1.5px;
  transition: 0.3s;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(28, 120, 249, 0.217);
}

.dashMenu-item button.active {
  background-color: #618eff22; /* Puedes personalizar este color */
  border-left: 5px solid #006eff;
  font-weight: bold;
  color: #ffffff;
}

.dashContent{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 80%;
  height: 100%;
}

.dashContent-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  gap: 2rem;
  width: 90%;
  height: 90%;
}



.copy-container{
  position: relative;
  width: 350px;
}

.copy-container.trial{
  width: 520px;
}

.copy-container.trial div{
  width: max-content;
}

.copy-container.trial h3{
  display: flex;
  justify-content: center;
  align-items: center;

}
  

.copy-container.trial input{
  width: 60px;
  background: rgb(24, 24, 24);
  font-size: 1.2rem;
  border-radius: 5px;
  margin-left: .5rem;
  margin-right: 1rem;
  padding: .3rem;
  color: white;
  border: none;
  text-align: center;
}

.trialsButton{
  color: white;
  padding: .3rem;
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
}

.trialsButton:hover{
  background-color: rgba(208, 208, 208, 0.118);
  border-radius: 5px;
  transition: 0.3s;
}

.copy-alert {
  position: absolute;
  background-color: #3e3e3e;
  color: white;
  padding: 5px 12px;
  border-radius: 4px;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 12px;
  font-weight: bold;
  pointer-events: none;
}

.copy-container, .fileForm {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}



.fileForm{
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}

.custom-file-label {
  background-color: var(--main-color);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s;
  border :none;
}

.custom-file-label:hover {
  transition: 0.3s;
  background-color: white;
  color: black;
}

#fileName {
  margin-left: 10px;
  font-style: italic;
}

  .copy-container h3{
    display: inline-block;
    width: 100%;
    text-align: center;
  }

  .copy-container button{
    background-color: transparent;
    border: none;
    cursor: pointer;
    border-left:1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0.5rem;
    transition: 0.3s;
  }

  .copy-container button:hover{

    transition: 0.3s;
  }
  .copy-alert.show {
    opacity: 1;
  }


.slider-fade-wrapper::before,
.slider-fade-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.guide-btn{
  display: flex;
  align-items: center;

  justify-content: center;
  gap: 0.1rem;
}


.copy-btn img {
  transition: opacity 0.3s ease;
  position: absolute; /* para que se superpongan */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.copy-btn {
  position: relative; /* para el posicionamiento absoluto de las imágenes */
  width: 40px;  /* ajusta según tus iconos */
  height: 40px;
}

.refresh-btn {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  transition: 0.3s;
  cursor: pointer;
}

.refresh-btn:hover {
  background-color: rgba(235, 235, 235, 0.1);
  border-radius: 10px;
  transition: 0.3s;
}

.copy-btn .icon-check {
  opacity: 0;
  pointer-events: none; /* para que no interfiera al hacer click */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.searcher{
  width: 100%;
}

.searcher-form{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.searcher-container {
  position: relative;
  display: inline-block;
  width: 100%; /* o el ancho que necesites */
}

.searcher-container input {
  width: 100%;
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.111);

  padding: 10px 40px 10px 12px; /* espacio a la derecha para el ícono */
  font-size: 14px;
  border-radius: 6px;
  border: none;
  box-sizing: border-box;
}

.searcher-container img {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none; /* evita que interfiera con clics */
  opacity: 0.6;
}


.table-scroll {
  overflow-x: auto;
  width: 100%;
  max-height: 400px;
}

.usersTable {
  min-width: 100%;
  border-collapse: collapse;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  table-layout: fixed;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: #fff;
  color: black;
  border-radius: 8px;
  overflow-x:auto;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}



.usersTable thead {
  background-color: #f4f4f4;
}

.usersTable th,
.usersTable td {
  padding: 8px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
  word-wrap: break-word;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.usersTable th {
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  font-size: 13px;
}

.usersTable th:first-child{
  border-radius: 8px 0 0 0;
}

.usersTable th:last-child{
  border-radius: 0 8px 0 0;
}
.usersTable tbody tr:hover {
  background-color: #f9f9f9;
}

.usersTable .avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: block;
  margin: 0 auto;
}

.usersTable tr:last-child td {
  border-bottom: none;
}


.usersTable tbody{
  gap: 1rem;  
}

.pagination-controls {
  display: flex;
  margin-top: auto;
  justify-content: center;
  gap: 5px;
}

.pagination-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
  background-color: #e0e0e0;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.pagination-btn.active {
  background-color: #0062ff;
  color: white;
}

.pagination-btn:hover:not(.active) {
  background-color: #b0c4ff;
}
td:hover{
  border-radius: 8px;
}

.usersTable .activated, .subEndDate{
  
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.usersTable .activated div{
  border-radius: 4px;
  padding: 0.3rem;
  transition: 0.5s;
}




.subEndDate img{
  transition: 0.5s;
  padding: 0.3rem;
  box-sizing: content-box;
  border-radius: 3px;
  cursor: pointer;
}

.usersTable .activated div:hover, .subEndDate img:hover{
  transition: 0.5s;

  background-color: rgb(233, 233, 233);
}
.tooltip-form {
  position: relative;
  display: inline-block;
}

.tooltip-box {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Fondo oscuro que cubre todo */
#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Caja del modal */
#userModal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  background-color: white;
  color: black;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 300px;
  width: 100%;
  position: relative;
}

/* Imagen y nombre */
#userModal img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

#userModal h2 {
  margin: 0;
  font-size: 20px;
}

#userModal span {
  font-size: 12px;
}

/* Botón de cerrar */
#closeModal {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

#userModal form button{
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: 0.5s;

}

#userModal form button.btn-danger-cancel{
  background-color: rgb(255, 72, 72);
}

#userModal form button.btn-danger-cancel:hover{
  background-color: rgb(250, 4, 4);
}



#activateForm div{
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

input[type="date"] {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #333;
  font-size: 16px;
  font-family: 'MainFont', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
}

input[type="date"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
  background-color: #fff;
}

#activateForm input{
  width: 65px;
  padding: 10px;
  height: 35px;
  border-radius: 5px;
  background-color: rgb(243, 243, 243);
  border: none;
}

#activateForm button, #changeSubEndDate button{
  margin-top: 1rem;
}

#userModal form button:hover{
  transition: 0.5s;
  background-color: #70b5ff;
}



@media (max-width: 1300px) {

  :root{
    --h1-size: 3rem;
    --header-height: 13%;
    --body-height: 87%;
    --slider-height: 50px;
  }
  

}

@media (max-width: 1000px) {
  :root{
    --h1-size: 2.8rem;
    --header-height: 12%;
    --body-height: 88%;
    --slider-height: 42px;
    --width-logo: 27%;
    --a-size: 0.9rem;
  }
  
  .dashboard{
    flex-direction: column;
  }

  #error-box, #success-box {
    top: 115px;
    right: 45px;
  }

  .dashMenu{
    flex-direction: row;
    padding: .5rem;
    width: 100%;
    height: 10%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dashMenu-item-span{
    font-size: 0.95rem;
  }

  .dashContent{
    width: 95%;
  }

  .dashContent-item{
    margin-top: .8rem;
    gap: 1.6rem;
    width: 100%;
    height: 100%;
  }

  .discord-button {
    padding: 12px 18px;
  }

  .select-button{
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
  }

  main {
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  :root{
    --width-logo: 18%;
  }

  .dashMenu-item-span{
    display: none;
  }


  .navlinks-normal{
    display: none;
  }
  
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .menu-toggle-open {
    display: block;
    z-index: 3;
  }

  .session-buttons{
    display: none;
  }

  .navlinks {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0px;
    width: 100%;
    backdrop-filter: blur(60px);
   -webkit-backdrop-filter: blur(60px);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    z-index: 2;
  }

  .navlinks.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
  }

  .menu-toggle-close{
    position: fixed;
    top: 40px;
    right: 50px;
  }

  .menu-toggle-close.show{
    display: block;
    z-index: 3;
  }

  
  .discord-button{
    background: rgba(0, 0, 0, 0.432);
  }

  .select-button{
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
  }
  .navlinks .navlink {
    width: 60%;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: .6rem;
  }

  .navlink.home{
    transition: 0.3s;
  }

  .navlink.home:hover{
    transition: 0.3s;
    color: rgb(109, 181, 252);
  }

  .profile-img img:hover {
    transition: 0.3s;
    border-color: white;
  }


  .session-buttons {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

@media (max-width: 650px) {
  :root{
    --width-logo: 21%;
  }
  
  main{
    width: 90%;
  }

  .dashContent-item{
    width: 98%;
  }
  .slider-fade-wrapper{
    width: 100%;
  }

  .copy-container.trial{
  width: 260px;
  }

  .copy-container.trial h3{
    flex-direction: column;
    gap: 1rem;
    font-size: .9rem;
    margin-left: 1rem;
  }
    
  .copy-container.trial input{
    padding: 7px;
    font-size: .9rem;
  }

  .trialsButton{
    font-size: .9rem;
    padding: 7px;
  }
}


@media (orientation: landscape) and (max-height: 500px) {
  :root{
    --h1-size: 2.1rem;
    --h2-size: 1.5rem;
    --h3-size: 1rem;
    --slider-height: 30px;
  }
  
  main{
    gap: 0;
  }

  p{
    margin: .5rem auto 1rem;
    font-size: .8rem;
  }

  .buttons a{
    padding: 7px;
    border-radius: 5px;
  }

  .logo img{
    width: 60%;
  }

  .dashContent-item{
    gap: .8rem;
    padding-top: 1rem;         /* opcional, para evitar que quede pegado arriba */
    box-sizing: border-box;    /* asegura que padding se incluya en el alto */
  }

  .dashMenu{
    min-height: 3.5rem;
  }

  .copy-container, .fileForm{
    padding: 0;
  }

  .fileForm{
    padding: .5rem;
    font-size: .9rem;
  }

  .custom-file-label{
    font-size: 1rem;
    padding: 4px;
  }

}
@media (max-width: 455px) {
    :root{
      --h1-size: 2.1rem;
      --h2-size: 1.2rem;
      --h3-size: 1rem;
      --width-logo: 23%;
  }

  header{
    padding: 1rem 2rem 1rem 1.5rem;
  }
  
  main{
    width: 98%;
  }

  #error-box, #success-box{
    max-width: 300px;
    font-size: .9rem;
  }
  
  .copy-container{
    width: 300px;
  }
  
  .slider-fade-wrapper{
    width: 100%;
  }

  .glass-container{
    padding: 1.5rem;
  }
}