@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

body {
    background-color: var(--blackPanel); /* Reemplazar el fondo con imagen */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 30px;
    overflow-y: auto;
    font-family: var(--second);
}

:root {
  /* PALETA DE COLORES */
  --greenFull1: #9df01a;
  --greenFull2: #70e000;
  --greenFull3: #38b000;
  --blackPanel: rgb(10, 10, 10);
  --panel2: rgb(75, 75, 75);
  --blueBtns: #0d64de;
  --blueBtns2: #3e8fff;
  --inputs: rgb(29, 29, 29);
  --borderInputs: rgb(50, 50, 50);
  /* FONTS */
  --main: "Inter", serif;
  --second: "Roboto", serif;
  --third: "Kanit", serif;
  --four: "Preospe", serif;
}


/* Mensajes de alerta centrados */
/* Mensajes de alerta centrados y personalizados */
.alert-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1050; /* Asegurarse de que esté por encima de otros elementos */
    display: none;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 300px;
    font-size: 1.1rem;
    opacity: 0; /* Para la animación */
}

.alert-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.alert-success {
    background-color: #28a745;
    color: #ffffff;
}

.alert.show {
    display: block;
    animation: fadeIn 0.5s forwards, fadeOut 0.5s forwards 2.5s; /* Aparecer y desaparecer */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


/*barra superior*/
/* Barra superior */
.navbar {
    background-color: #15251D;
    border-bottom: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    padding: 0.5rem 1rem;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-text {
    font-size: 1.5rem;
    color: white;
}

.navbar .btn {
    margin-left: 10px;
}

.navbar .container-fluid {
    justify-content: space-between;
    padding: 0 20px;
}

.navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.navbar-toggler-icon {
    width: 25px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 25px;
    height: 2px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .navbar .container-fluid {
        flex-direction: column;
    }

    .navbar .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .navbar .nav-link {
        display: block;
        padding: 10px 0;
        margin: 5px 0;
        border: 2px solid transparent;
        border-radius: 5px;
        transition: all 0.5s;
    }

    .navbar .nav-link:hover {
        border: 2px solid;
        border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
        background-color: #1e1e1e;
    }
}

/* Efectos y animaciones */
.navbar .nav-link.active {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    color: #ffffff;
    animation: borderAnimation 5s infinite;
}

.navbar .nav-link {
    color: #3a9c47;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: #87F414;
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
}

/* Animación del borde */
@keyframes borderAnimation {
    0% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
    50% {
        border-image-source: linear-gradient(135deg, #07141A, #0B340F, #0A6207, #87F414);
    }
    100% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
}

/* Efecto de sombra en el desplazamiento */
.navbar.scrolled {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #1e1e1e;
}

/* Botones de la barra de navegación */
.navbar .nav-link {
    font-size: 1rem;
    padding: 8px 16px;
}

.navbar .btn {
    font-size: 1rem;
    padding: 8px 16px;
}

/* Animación de desvanecimiento */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}


.container {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
  }
  
  body {
    background-color: var(--blackPanel);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

.btn-custom {
    background-color: #007bff;
    color: #ffffff;
}
.btn-custom:hover {
    background-color: #0056b3;
}

.nav-tabs .nav-link.active {
    background-color: #15251D;
    color: #ffffff;
}

.nav-tabs .nav-link {
    color: #007bff;
}

.form-control {
    background-color: #2b2b2b;
    color: #ffffff;
    border: 1px solid #444;
}

.form-control:focus {
    background-color: #2b2b2b;
    color: #ffffff;
    border-color: #007bff;
    box-shadow: none;
}

.input-group-text {
    background-color: #2b2b2b;
    color: #ffffff;
    border: 1px solid #444;
}


.card {
    background-color: #2b2b2b;
    border: none;
}

.card .card-body {
    padding: 10px;
}

.card .btn-danger {
    background-color: #dc3545;
    border: none;
}

.card .btn-danger:hover {
    background-color: #c82333;
}

/*pantalla de carga*/
.center-body {
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999; /* Ensures it is above other content */
}
.loader-circle-9 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 90px;
    font-family: sans-serif;
    font-size: 12px;
    color: #00eaff;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.loader-circle-9:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #0db823;
    border-right: 3px solid #0db823;
    border-radius: 50%;
    animation: animateC 2s linear infinite;
}
.loader-circle-9 span {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}
.loader-circle-9 span:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0db823;
    top: -6px;
    right: -8px;
    box-shadow: 0 0 20px #0db823;
}
@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes animate {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

/*alerta*/
.alert {
    display: none;
}

.alert.show {
    display: block;
}

.suggestion-item {
    background-color: #343a40;
    color: #ffffff;
    padding: 5px;
    margin-top: 5px;
    border-radius: 4px;
    cursor: pointer;
}
/* Sugerencia cuando se pasa el cursor */
.suggestion-item:hover {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    color: #ffffff;
}

/* Estilos para la pestaña activa con animación de gradiente */
.nav-tabs .nav-link.active {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    color: #ffffff;
    animation: borderAnimation 5s infinite;
}

/* Estilos para las pestañas */
.nav-tabs .nav-link {
    color: #ffffff;
    background: none; /* Fondo transparente para las pestañas inactivas */
    border: 2px solid #1C3A40; /* Borde inicial para las pestañas inactivas */
    transition: border 0.5s;
    height: auto;
}

.nav-tabs .nav-link:hover {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    color: #ffffff;
}

/* Animación del borde */
@keyframes borderAnimation {
    0% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
    50% {
        border-image-source: linear-gradient(135deg, #07141A, #0B340F, #0A6207, #87F414);
    }
    100% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
}


/* Estilos para el chatbot */
/* Contenedor del chatbot */
.chatbot-container {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 300px;
    height: 475px;
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background-color: #0e1211;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    color: #ffffff; /* Color del texto dentro del chat */
    animation: borderAnimation 5s infinite;
    display: none;
}
/* Encabezado del chatbot */
.chatbot-header {
    padding: 10px;
    background-color: #15251D;
    color: white;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
}

/* Preguntas del chatbot */
.chatbot-questions {
    padding: 0px;
    border-bottom: 1px solid #ccc;
}

.chatbot-questions button {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: #0e1211;
    color: #ffffff;
    transition: border 0.5s;
}

.chatbot-questions button:hover {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
}

/* Mensajes del chatbot */
.chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    max-height: calc(100% - 120px); /* Ajustar para dejar espacio para input y header */
    color: #ffffff; /* Color del texto dentro del chat */
    word-wrap: break-word; /* Asegura que las palabras largas se dividan en varias líneas */
}

/* Entrada del chatbot */
.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chatbot-input input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 5px;
    color: #000; /* Color del texto dentro del chat */
}

.chatbot-input button {
    padding: 5px 10px;
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    background-color: #0B340F;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: border 0.5s;
}

.chatbot-input button:hover {
    border-image: linear-gradient(135deg, #07141A, #0B340F, #0A6207, #87F414) 1;
}

/* Botón de toggle del chatbot */
/* Icono del chatbot */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;  /* Incrementar el tamaño del botón */
    height: 60px;  /* Incrementar el tamaño del botón */
    background-color: #15251d;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: bounce 2s infinite;  /* Añadir animación */
    transition: transform 0.3s;  /* Añadir transición */
}

.chatbot-toggle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Animación de movimiento */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Efecto hover para mejorar la experiencia de usuario */
.chatbot-toggle:hover {
    transform: scale(1.1);  /* Agrandar el icono al pasar el ratón por encima */
}


.suggestion-item {
    cursor: pointer;
    padding: 5px;
    border: 2px solid transparent;
    border-radius: 5px;
    margin-top: 5px;
    background-color: #0e1211;
    color: #ffffff;
    transition: border 0.5s;
}

.suggestion-item:hover {
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    background-color: #07141A;
}

/* Animación del borde */
@keyframes borderAnimation {
    0% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
    50% {
        border-image-source: linear-gradient(135deg, #07141A, #0B340F, #0A6207, #87F414);
    }
    100% {
        border-image-source: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    }
}


/* mensaje de usuario o contraseña incorrecta*/
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}



/*botones de ejecucion*/
button {
    position: relative;
    width: 3em;
    height: 3em;
    outline: none;
    transition: 0.1s;
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: bold;
    color: #ddebf0;
    margin: 0 auto; /* Centrar horizontalmente */
    display: block; /* Asegurarse de que se comporta como un bloque */
}
  
.d-grid {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente si es necesario */
}
  
.nav-item {
    display: flex;
    justify-content: center;
}
  
.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
}
  
#clip {
    --color: #2761c3;
    position: absolute;
    top: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 5px double var(--color);
    box-shadow: inset 0px 0px 15px #195480;
    -webkit-clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
  
.arrow {
    position: absolute;
    transition: 0.2s;
    background-color: #2761c3;
    top: 35%;
    width: 11%;
    height: 30%;
}
  
#leftArrow {
    left: -13.5%;
    -webkit-clip-path: polygon(100% 0, 100% 100%, 0 50%);
}
  
#rightArrow {
    -webkit-clip-path: polygon(100% 49%, 0 0, 0 100%);
    left: 102%;
}
  
button:hover #rightArrow {
    background-color: #23aa23;
    left: -15%;
    animation: 0.6s ease-in-out both infinite alternate rightArrow8;
}
  
button:hover #leftArrow {
    background-color: #044e0a;
    left: 103%;
    animation: 0.6s ease-in-out both infinite alternate leftArrow8;
}
  
.corner {
    position: absolute;
    width: 4em;
    height: 4em;
    background-color: #2761c3;
    box-shadow: inset 1px 1px 8px #2781c3;
    transform: scale(1) rotate(45deg);
    transition: 0.2s;
}
  
#rightTop {
    top: -1.98em;
    left: 91%;
}
  
#leftTop {
    top: -1.96em;
    left: -3.0em;
}
  
#leftBottom {
    top: 2.10em;
    left: -2.15em;
}
  
#rightBottom {
    top: 45%;
    left: 88%;
}
  
button:hover #leftTop {
    animation: 0.1s ease-in-out 0.05s both changeColor8,
    0.2s linear 0.4s both lightEffect8;
}
  
button:hover #rightTop {
    animation: 0.1s ease-in-out 0.15s both changeColor8,
    0.2s linear 0.4s both lightEffect8;
}
  
button:hover #rightBottom {
    animation: 0.1s ease-in-out 0.25s both changeColor8,
    0.2s linear 0.4s both lightEffect8;
}
  
button:hover #leftBottom {
    animation: 0.1s ease-in-out 0.35s both changeColor8,
    0.2s linear 0.4s both lightEffect8;
}
  
button:hover .corner {
    transform: scale(1.25) rotate(45deg);
}
  
button:hover #clip {
    animation: 0.2s ease-in-out 0.55s both greenLight8;
    --color: #27c39f;
}
  
@keyframes changeColor8 {
    from {
      background-color: #2781c3;
    }
    to {
      background-color: #27c39f;
    }
}
  
@keyframes lightEffect8 {
    from {
      box-shadow: 1px 1px 5px #27c39f;
    }
    to {
      box-shadow: 0 0 2px #27c39f;
    }
}
  
@keyframes greenLight8 {
    from {
    }
    to {
      box-shadow: inset 0px 0px 32px #27c39f;
    }
}
  
@keyframes leftArrow8 {
    from {
      transform: translate(0px);
    }
    to {
      transform: translateX(10px);
    }
}
  
@keyframes rightArrow8 {
    from {
      transform: translate(0px);
    }
    to {
      transform: translateX(-10px);
    }
}

/*BOTON DE AGREGAR*/
/* Estilos para los nuevos botones */
.btn-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 11rem;
    overflow: hidden;
    height: 2.5rem;
    background-size: 300% 300%;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: 0.5s;
    animation: gradient_301 5s ease infinite;
    border: double 4px transparent;
    background-image: linear-gradient(#000a03, #000a03), linear-gradient(137.48deg, #30833B 10%, #0A6207 45%, #87F414 67%, #0B340F 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    position: relative;
}
  
#container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}
  
strong {
    z-index: 2;
    font-family: 'Avalors Personal Use';
    font-size: 18px;
    letter-spacing: 1px;
    color: #000000;
    text-shadow: 0 0 4px white;
}
  
#glow {
    position: absolute;
    display: flex;
    width: 12rem;
}
  
.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}
  
.circle:nth-of-type(1) {
    background: rgba(9, 124, 5, 0.636);
}
  
.circle:nth-of-type(2) {
    background: rgba(142, 81, 234, 0.704);
}
  
.btn-custom:hover #container-stars {
    z-index: 1;
    background-color: #212121;
}
  
.btn-custom:hover {
    transform: scale(1.1);
}
  
.btn-custom:active {
    border: double 4px #1c0438;
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}
  
.btn-custom:active .circle {
    background: #1c0438;
}
  
#stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}
  
#stars::after {
    content: "";
    position: absolute;
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
}
  
#stars::after {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}
  
#stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    animation: animStar 60s linear infinite;
}
  
#stars::before {
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
    opacity: 0.5;
}
  
@keyframes animStar {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-135rem);
    }
}
  
@keyframes animStarRotate {
    from {
      transform: rotate(360deg);
    }
    to {
      transform: rotate(0);
    }
}
  
@keyframes gradient_301 {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
}
  
@keyframes pulse_3011 {
    0% {
      transform: scale(0.75);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
      transform: scale(1);
      box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
      transform: scale(0.75);
      box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/*BOTONES SIMPLES*/
.btn-outline-secondary {
    margin: 0 auto;
    border: 1px solid var(--borderInputs);
    border-radius: 4px;
    padding: 10px 0px;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    color: white;
    width: 100%;
    font-size: 15px;
    font-family: var(--third);
    font-weight: 300;
    transition: 0.5s all;
  }
 
.btn-outline-secondary:hover {
    background-color: var(--borderInputs);
    box-shadow: 1px 1px 1px 1px var(--borderInputs);
    letter-spacing: 1px;
  }

.sparkle {
    fill: #AAAAAA;
    transition: all 800ms ease;
}
  
.text {
    font-weight: 600;
    color: #d4d4d4;
    font-size: medium;
}
  
#uploadScript::placeholder,
#inputTitle::placeholder,
#inputDescription::placeholder,
#uploadTitle::placeholder,
#uploadScript::placeholder,
#chatgptApiKey::placeholder,
#elevenlabsApiKey::placeholder,
#newUsername::placeholder,
#currentPassword::placeholder,
#newPassword::placeholder {
    color: #ffffff80; /* Color azul */
}


.btn:hover {
    background: linear-gradient(0deg,#0A6207,#0B340F);
    box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4),
    inset 0px -4px 0px 0px rgba(0, 0, 0, 0.2),
    0px 0px 0px 4px rgba(2, 14, 0, 0.2),
    0px 0px 180px 0px #1C3A40;
    transform: translateY(-2px);
}
  
.btn:hover .text {
    color: white;
}
  
.btn:hover .sparkle {
    fill: white;
    transform: scale(1.2);
}

/* Organizar elementos en dos columnas */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

/* Animaciones para desplegables */
.form-select {
    background-color: #1e1e1e;
    color: #ffffffc2;
    border: 2px solid #76c133;
    transition: all 0.3s ease;
}

.form-select:hover, .form-select:focus {
    background-color: #324434;
    color: #ffffff;
    border-color: #76c133;
    box-shadow: 0 0 10px rgba(118, 193, 51, 0.5);
}

/* Animaciones adicionales */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane {
    animation: fadeIn 0.5s ease-in-out;
}



/* Estilo para la alerta de minutos restantes */
.minutes-info {
    background-color: #0B340F;
    color: #ffffff;
    border: 2px solid;
    border-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A) 1;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    margin-top: 20px;
}


/* El contenedor donde se añaden los planes */
/* El overlay */
.panel-upgrade {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}

/* Deja que el contenido se ajuste a su ancho */
.panel-upgrade-content {
    /* Para que se ajuste automáticamente a su contenido */
    display: block;          /* o inline-block, pero 'block' suele ser más seguro */
    max-width: 60%;          /* Ajusta la anchura máxima en pantallas grandes */
    margin: 60px auto;       /* Centra horizontal/horizontal */
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;

    /* Fondo con capa oscura y la misma imagen que el body */
    background:
      linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
      var(--background-image-url);

    background-size: cover;       /* la imagen se escalará para cubrir */
    background-position: center;  /* centramos la imagen */
    background-repeat: no-repeat; /* no se repite */
}


/* El contenedor donde se añaden los planes */
#plansContainer {
    display: flex;
    /* Permite que las tarjetas se ubiquen en la misma línea 
       y salten a otra si no caben: */
    flex-wrap: wrap;  
    justify-content: center; 
    gap: 20px;               
    margin-bottom: 20px;     
}

/* Cada tarjeta (plan) */
.plan-item {
    border: 2px solid #76c133;
    border-radius: 8px;
    background-color: #1e1e1e;
    padding: 15px;
    color: #ffffff;
    animation: fadeIn 0.5s ease-in-out;

    /* Para tener 3 en fila (30% c/u) y que quepan. 
       Ajusta min/max-width a tu gusto. */
    flex: 0 0 30%;
    min-width: 250px;
    max-width: 300px;
    box-sizing: border-box;
}

.plan-item h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #87F414;
}

.plan-item button {
    background-color: #0A6207;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
}

.plan-item button:hover {
    background-color: #0B340F;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Versión móvil: las tarjetas se apilan */
@media (max-width: 768px) {
    #plansContainer {
      flex-direction: column;
      align-items: center;
    }
    .plan-item {
      flex: 0 0 auto;
      width: 80%;    
      margin-bottom: 20px;
    }
}

  



/*boton de upgrade*/
.btn-upgrade {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    background-image: linear-gradient(45deg, #87F414, #0A6207, #0B340F, #07141A);
    background-size: 300% 300%;
    animation: gradient_301 5s ease infinite; /* animación de gradiente */
    border: 2px solid #76c133;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s all;
    font-weight: bold;
    margin-left: 10px;
}

/* Al pasar el mouse */
.btn-upgrade:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(135,244,20,0.7);
}

/* Animación del gradiente */
@keyframes gradient_301 {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}




/*cancelar plan*/
/* Panel de confirmación overlay */
.panel-cancel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 9999;
}

/* Contenido interno (caja negra) */
.panel-cancel-content {
    background-color: #000000;
    display: block;
    max-width: 50%;
    margin: 100px auto;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    text-align: center;
}

/* Botones específicos */
.btn-cancel {
    background: none;
    border: none;
    color: #999999;  /* gris clarito */
    font-size: 0.8rem;  /* más pequeño que el resto */
    cursor: pointer;
    margin-left: 10px; /* un poco de espacio a la izquierda */
    transition: color 0.2s ease;
}

.btn-cancel:hover {
    color: #cccccc;
    text-decoration: underline; /* un leve subrayado al hover */
}


.btn-confirm {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #fff;
    background-color: #dc3545; /* mismo color que .btn-cancel */
    border: 2px solid #dc3545;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-confirm:hover {
    background-color: #c82333;
    border-color: #c82333;
}




#options-subtitle-template,
#options-audio-template,
#more-options-upload {
  display: none;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 20px;
  width: 500px;
  margin-bottom: 20px;
  position: relative;
}

#personalFolderSectionManual {
  display: flex;
  flex-direction: column;
}

.block-form-modal-options {
  padding: 0 0 10px 0;
  border-bottom: 2px solid var(--borderInputs);
  display: flex;
  justify-content: space-between;
  gap: 5px;
  position: relative;
}

.block-form-modal-options > .label-user-dashboard {
  font-family: var(--second);
}

.block-form-modal-options > .select-user-dashboard > option {
  border-radius: none;
}

.block-form-modal-options > .select-user-dashboard {
  border: none;
  border-bottom: 4px solid var(--borderInputs);
  border-radius: 0;
  padding: 0 15px 15px 0;
}

.block-form-modal-options > .select-user-dashboard:focus {
  border: none;
  border-bottom: 4px solid var(--borderInputs);
  box-shadow: none;
  outline: none;
  box-shadow: none;
}

#modal-upload {
  display: none;
  align-items: end;
  justify-content: center;
  position: fixed;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5000;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  background-color: rgba(0, 0, 0, 0.75);
  border-top: 10px solid var(--greenFull3);
}

.modal-options h3 {
  position: absolute;
  top: 0;
  left: 0;
  padding: 35px;
  font-family: var(--third);
  letter-spacing: 2px;
  color: var(--greenFull3);
  filter: drop-shadow(1px 1px 8px var(--greenFull3));
}

.modal-options {
  z-index: 4999;
  height: 90vh;
  width: 60vw;
  position: absolute;
  bottom: 30px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 25px 5px;
}

.close-modal-options {
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 8px 25px;
  border-radius: 4px;
  background-color: var(--greenFull3);
  font-size: 1rem;
  font-weight: bold;
  transition: 0.2s all;
  color: black;
}

.close-modal-options:hover {
  background-color: var(--greenFull2);
}

.close-modal-options > i {
  color: black;
}

.form-user-dashboard {
  width: 80%;
  min-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px;
  border-radius: 5px;
  margin-bottom: 30px;
}

#options-generate-scripts {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  width: 90%;
  margin: 0 auto;
}

#options-generate-scripts > span:nth-child(1) {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  
  #options-generate-scripts > span:nth-child(3) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

.button-option-scripts {
  width: 200px;
  font-size: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px 15px;
  border: 1px solid var(--borderInputs);
  cursor: pointer;
  position: relative;
  transition: 0.3s all;
  color: white;
}

.button-option-scripts:hover {
  background-color: var(--borderInputs);
  color: var(--greenFull2);
  box-shadow: 1px 1px 1px 1px var(--borderInputs);
}

.button-option-scripts > i {
  transition: 0.2s all;
}

.button-option-scripts:hover > i {
  transform: scale(1.1);
  filter: drop-shadow(2px 4px 6px black);
}

.button-option-scripts > p {
  font-size: 15px;
  font-family: var(--main);
  font-weight: bold;
}

.label-user-dashboard {
  font-family: var(--main);
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.input-user-dashboard {
  padding: 10px 5px;
  background-color: var(--inputs);
  border: 1px solid var(--borderInputs);
  font-family: var(--second);
  color: white;
  border-radius: 4px;
  font-size: 18px;
}

.input-user-dashboard:focus {
  outline: none;
}

#inputManualScript {
  background-color: var(--inputs);
  border: 1px solid var(--borderInputs);
  padding: 20px 12px;
  border-radius: 4px;
  color: white;
  font-family: var(--second);
  font-weight: 500;
  font-size: 18px;
}

#inputManualScript:focus {
  border: 1px solid var(--borderInputs);
  outline: none;
}

#btn-upload-script {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: black;
}

.block-form {
  padding: 0 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: 4px;
  position: relative;
}

@media (max-width: 968px) {
  #options-generate-scripts {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px 5px;
    grid-template-areas:
      "button-area1 button-area2"
      "button-area3 button-area3";
    justify-items: center;
    align-items: center;
  }
  
  #options-subtitle-template,
  #options-audio-template,
  #more-options-upload {
    width: 90%;
    gap: 25px;
  }
  
  .close-modal-options {
    width: 60%;
  }
}

@media (max-width: 668px) {
  .modal-options {
    width: 100vw;
    height: 100vh;
    top: 10px;
  }
  
  .block-form-modal-options {
    padding: 0;
  }
}


@media (max-width: 968px) {
    #options-generate-scripts {
      padding: 5px 10px;
      margin-top: 55px;
      display: grid;
      grid-auto-columns: 1fr;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 5px 5px;
      grid-template-areas:
        "button-area1 button-area2"
        "button-area3 button-area3";
      justify-items: center;
      align-items: center;
    }
  
    #options-subtitle-template,
    #options-audio-template,
    #more-options-upload,
    #options-audio_GENERATE,
    #options-subtitle_GENERATE {
      width: 90%;
      gap: 25px;
    }
  }
  
  @media (max-width: 468px) {
    .suggest-tittle-content {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  
    #options-generate-scripts {
      grid-auto-columns: 1fr;
      grid-template-columns: 1fr;
      grid-template-rows: 1fr;
      gap: 2px;
      margin: 0px 10px !important;
      grid-template-areas:
        "button-area1"
        "button-area2"
        "button-area3";
    }
  }


/* Estilos mejorados para el contenedor de videos existentes */
#existingVideos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    transition: all 0.5s ease;
    overflow: hidden;
}

.open-existing {
    max-height: 2000px; /* Mayor altura para asegurar que todo se muestre */
    height: auto;
    overflow-y: visible;
    padding: 20px 0;
    opacity: 1;
    margin-top: 20px;
}

.close-existing {
    max-height: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    margin: 0;
}

/* Estilo para el botón de toggle con indicador visual */
#btn-open-existing-videos {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    border-radius: 5px;
    position: relative;
}

#btn-open-existing-videos:after {
    content: '\f107'; /* Icono de flecha hacia abajo */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
    position: absolute;
    right: 20px;
}

#btn-open-existing-videos.active:after {
    transform: rotate(180deg); /* Rota la flecha cuando está activo */
}

#btn-open-existing-videos:hover {
    background-color: var(--greenFull3);
    color: black;
    padding-left: 20px;
}


/* Estilos mejorados para las tareas en progreso */
.task-progress {
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.9), rgba(5, 5, 5, 0.9));
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--borderInputs);
    margin-bottom: 15px;
    width: 100%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

/* Estilo para la animación de puntos suspensivos */
#puntos-suspensivos {
    display: flex;
    align-items: center;
}

.dot {
    font-size: 30px;
    margin-top: -10px;
    animation: fadeInOut 1.5s infinite;
    color: var(--greenFull3);
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Mejorar la barra de progreso */
.progress-container {
    width: 100%;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--inputs);
    margin: 10px 0;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--greenFull3) 0%,
        var(--greenFull2) 50%,
        var(--greenFull1) 100%
    );
    border-radius: 10px;
    animation: pulse 2s infinite;
    transition: width 0.5s ease;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}


/* CONFIG SECTION */
#configForm,
#changeCredentialsForm {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  margin: 20px auto;
}

#newUsername,
#currentPassword,
#newPassword {
  width: auto;
  border-radius: 0;
  border: none;
  background: transparent;
  border-bottom: 4px solid var(--greenFull3);
  font-family: var(--third);
}

.btn-config {
  margin-top: 30px;
  padding: 5px 20px;
  background-color: var(--greenFull3);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Inter";
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: white;
}

.btn-config:hover {
  background-color: var(--greenFull1);
}

#content-change-credencials,
#content-config-apis {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: 0.8s all;
  width: 80%;
  background-color: transparent;
  padding: 2rem;
}

.open-form-config {
  transition: 0.8s all;
  overflow-y: scroll;
  height: 60vh;
  width: 90%;
  padding: 60px;
  background-color: transparent;
  margin-bottom: 40px;
  border: 1px solid var(--borderInputs);
  border-radius: 4px;
}

.close-form-config {
  transition: 1s all;
  height: 1px;
  width: 40%;
  border-radius: 5px;
  border-top: 1px solid var(--borderInputs);
  box-shadow: 1px 1px 3px 1px var(--panel2);
  overflow-y: hidden;
  background-color: transparent;
  padding: 0;
}

#btn-open-credencials,
#btn-open-config-api {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 260px;
  color: white;
  border: 1px solid var(--borderInputs);
  background-color: transparent;
  transition: 0.6s all;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
}

#btn-open-credencials:hover,
#btn-open-config-api:hover {
  background-color: var(--borderInputs);
}

#show-pw-config1,
#show-pw-config2 {
  position: absolute;
  right: 20px;
  top: 60px;
}

.btn-cancel-plan {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border-radius: 4px;
  border: none;
  background-color: transparent;
  transition: 0.2s;
  position: relative;
  color: var(--panel2);
  cursor: pointer;
  font-family: Inter;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: left;
  padding: 5px 10px;
  position: relative;
  text-align: left;
  margin: 0 auto;
}

.btn-cancel-plan:hover {
  background-color: red;
  color: white;
}

.btn-cancel-panel {
  color: var(--greenFull3);
  font-weight: bold;
}

.btn-cancel-panel:hover {
  color: var(--greenFull1);
  background-color: black;
}

.btn-confirm-panel {
  font-weight: bold;
  color: rgb(255, 86, 86);
}

.btn-confirm-panel:hover {
  background-color: black;
  color: red;
}

.minutes-info {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 12px;
}

.minutes-info-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 5px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--borderInputs);
  color: white;
}

.minutes-info-line > p {
  text-align: left;
  width: 170px;
  color: white;
  font-weight: bolder;
  letter-spacing: 1px;
  font-size: 1.5rem;
  font-family: var(--main);
}

.minutes-info-line > strong {
  color: var(--greenFull2);
  font-weight: bolder;
  letter-spacing: 1px;
  font-size: 1.5rem;
  font-family: var(--third);
  filter: drop-shadow(1px 1px 6px black);
}

/*cancelar plan*/
/* Panel de confirmación overlay */
.panel-cancel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  background-color: rgba(13, 13, 13, 0.343);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.panel-cancel > a {
  position: absolute;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--four);
  font-weight: bold;
  font-size: 25px;
  color: var(--greenFull3);
  filter: drop-shadow(1px 1px 5px black);
  font-size: 25px;
}

.panel-cancel > a > img {
  width: 70px;
  filter: drop-shadow(1px 1px 5px var(--greenFull3));
}

/* Contenido interno (caja negra) */
.panel-cancel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 90vw;
  height: 80vh;
  padding: 20px;
  box-sizing: border-box;
  font-family: var(--main);
  text-align: center;
  overflow-y: auto;
}

.panel-cancel-content > div {
  width: 80%;
}

.panel-cancel-content > div > h2 {
  color: white;
  font-weight: 200;
  font-size: 2rem;
  font-family: var(--third);
  margin-bottom: 1rem;
}

.panel-cancel-content > div > p {
  color: white;
  font-size: 1.2rem;
  font-family: var(--third);
  text-align: center;
  font-weight: 200;
  width: 100%;
}

.panel-cancel-content > form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 80%;
  margin: 0 auto;
}

.panel-cancel-content > form > label,
.panel-cancel-content > form > select,
.panel-cancel-content > form > select > option,
.panel-cancel-content > form > textarea {
  width: 100%;
  text-align: left;
  font-family: var(--second);
  border-radius: 5px;
  font-size: 20px;
}

.panel-cancel-content > form > select,
.panel-cancel-content > form > textarea {
  background-color: transparent;
  color: white;
  border-radius: 2px;
}

#motivo > option {
  color: black;
  background-color: white;
}

#motivo,
#motivos:focus,
#motivos:active {
  border: none;
  border-bottom: 2px solid var(--greenFull3);
  padding: 0 0 5px 0;
}

#comentarios,
#comentarios:focus,
#comentarios:active {
  border-top: 1px solid var(--borderInputs);
  border-left: 1px solid var(--borderInputs);
  border-right: 1px solid var(--borderInputs);
  border-bottom: 2px solid var(--greenFull3);
  padding: 0.6rem;
}

.cancel-buttons-div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 15px;
}

.cancel-buttons-div > button {
  border: none;
  background-color: rgba(34, 34, 34, 0.27);
  font-weight: bolder;
  font-size: 1rem;
  font-family: var(--main);
  padding: 15px;
  cursor: pointer;
  border-radius: 4px;
}

/* PANEL DE PLANES DE PAGO */
.panel-upgrade {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  background-color: rgba(255, 255, 255, 0);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
  flex-wrap: wrap;
}

.panel-upgrade-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0px auto;
  padding: 20px;
  border-radius: 8px;
  box-sizing: border-box;
  background: transparent;
}

.title-upgrade-panel {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: var(--greenFull3);
  font-weight: bold;
  font-size: 2.5rem;
  font-family: var(--main);
  margin-bottom: 20px;
}

.close-panel {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px;
  background: transparent;
  transition: 0.6s;
  width: 40px;
  font-size: 25px;
  color: white;
  border: none;
  cursor: pointer;
}

.close-panel:hover {
  transition: 0.6s;
  transform: scale(1.2);
}

#plansContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* CARD PLAN */
.plan-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  background-color: black;
  padding: 15px;
  color: #ffffff;
  animation: fadeIn 0.5s ease-in-out;
  transition: 0.5s all;
  width: 400px;
  height: 400px;
  position: relative;
}

#plan-item-feature {
  margin-top: 60px;
}

#plan-item-feature-line {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  font-family: var(--main);
  margin-top: 5px;
}

#plan-item-feature-line > span {
  width: 80%;
}

#plan-item-feature-line > img {
  width: 30px;
}

.plan-item h3 {
  font-size: 2rem;
  color: black;
  font-family: var(--third);
  font-weight: bolder;
  background-color: var(--greenFull1);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
}

.plan-item h3 > img {
  width: 40px;
  filter: drop-shadow(1px 1px 5px var(--greenFull2));
  position: absolute;
  right: 5px;
  top: 10px;
}

#plan-item-content-finally {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#price-plan {
  font-weight: bold;
  font-family: var(--third);
  font-size: 30px;
  width: fit-content;
  text-align: right;
  padding: 5px;
  background: linear-gradient(to right, #4caf50, #78ff7f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-item > p:nth-child(3) {
  font-size: 1.2rem;
  font-weight: 200;
  font-family: var(--second);
  color: var(--greenFull2);
  padding: 0;
}

.btn-subscription {
  background-color: var(--greenFull3);
  color: #ffffff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  padding: 10px 20px;
  cursor: pointer;
  color: black;
  font-weight: bold;
  font-family: var(--main);
  transition: 0.3s;
}

.btn-subscription:hover {
  background-color: var(--greenFull2);
  transform: translateY(-1px);
}


.voice-selector-container {
  position: relative;
  width: 100%;
}

.voice-play-btn {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: #38b000;
  border: none;
  border-radius: 50%;
  color: white;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.voice-play-btn:hover {
  background: #2d8a00;
}

.voice-play-btn i {
  font-size: 0.8rem;
}

.playing {
  background: #ff5722;
}

.voice-play-btn.playing:hover {
  background: #e64a19;
}

/* Ajuste para hacer espacio al botón dentro del select */
select.has-play-button {
  padding-right: 50px;
}