/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    animation: scale-up-center 0.4s;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #010314, #080a23);
    color: #fff;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
}
span{
    transition: all 0.4s ease-in-out;
}
header.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    width: 100%;
    background-color: transparent;
}

header .logo img {
    width: 65px;
    animation: shadow-pop-bottom-right 0.4s linear both;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #ddd;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #fff;
}

/* Finalize Purchase Section */
.finalize-purchase {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #101327;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.summary-card {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff007c;
}

.plan-details {
    background: linear-gradient(135deg, #ff007c, #ff7d00);
    padding: 1rem;
    border-radius: 10px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-weight: bold;
}

.plan-price {
    font-size: 1.5rem;
}

.config-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    color: #fff;
    background-color: #202437;
    border: 1px solid #333;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    border-color: #ff007c;
    outline: none;
}

.image-width-custom {
    width: 20px;
}
.image-width-custom-yape {
    width: 40px;
    margin-left: -10px;
    height: auto;
    filter: brightness(0) saturate(100%) invert(47%) sepia(15%) saturate(326%) hue-rotate(188deg) brightness(92%);
}

.image-width-custom-yape:hover {
    filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(2500%) hue-rotate(320deg) brightness(85%);
}
.btn.confirm-purchase {
    background: linear-gradient(135deg, #ff0077, #ff9900);
    color: #fff;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    margin-top: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 180px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}


.btn.confirm-purchase:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #ff007c, #ff7d00);
}




footer.footer {
    margin-top: 2rem;
    text-align: center;
    color: #aaa;
}
/* Coupon Popup */
.coupon-popup {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #8b671f;
    border-radius: 8px;
    background-color: #603d134d;
  }
.coupon-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.coupon-container input {
    width: calc(100% + 15rem);
    padding: 0.8rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1a1e33;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
.coupon-container .btn {
    padding: 10px 1px;
    background-color: #007bff;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.coupon-container .btn:hover {
    background-color: #0056b3;
  }
  
#coupon-feedback {
    margin-top: 15px;
    font-size: 14px;
}
.coupon-popup h3 {
    margin-bottom: 1rem;
    color: #ff7d00;
    font-size: 1.5rem;
    text-align: center;
}
.coupon-popup button {
    width: 100%;
    background: linear-gradient(135deg, #ff0077, #ff9900);
    color: #fff;
    padding: 0.8rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    transition: transform 0.3s ease;
}

.coupon-popup button:hover {
    transform: scale(1.05);
}

.payment-options {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #151a34;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.payment-options label {
    font-size: 0.9rem;
    color: #ccc;
}

.payment-options input {
    width: calc(100% - 1rem);
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #1a1e33;
    color: #fff;
    font-size: 1rem;
}

#qr-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
    background: linear-gradient(135deg, #151a34, #101327);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#qr-popup.show {
    display: flex;  /* Mostrar el popup cuando sea necesario */
}
.icon-witd-custom {
    width: 100px;
    height: 100px;
}
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.3s ease-in-out;
}
.popup-content {
    background: linear-gradient(135deg, #151a34, #101327);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    max-width: 400px; /* Limita el tamaño del popup */
    width: 100%;
}

.qr-code {
    width: 250px; /* Ajusta el tamaño según sea necesario */
    height: auto;
    margin-top: 1rem;
    border-radius: 10px;
}

/* Botón de cierre */
.btn.close-popup {
    background-color: #e74c3c; /* Rojo */
    color: rgb(255, 255, 255);
    border: none;
    margin-top: 30px;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover y clic */
.btn.close-popup:hover {
    background-color: #c0392b; /* Más oscuro al pasar el mouse */
}

.btn.close-popup:active {
    transform: scale(0.98); /* Efecto de clic */
}

/* Estilo para el botón "Enviar comprobante" */
.btn.send-proof {
    background-color: #4CAF50; /* Color verde */
    color: white; /* Texto en blanco */
    font-family: Arial, Helvetica, sans-serif;
    border: none; /* Sin bordes */
    border-radius: 5px; /* Bordes redondeados */
    padding: 10px 20px; /* Espaciado interno */
    font-size: 16px; /* Tamaño de fuente */
    font-weight: bold; /* Fuente en negrita */
    cursor: pointer; /* Manita al pasar el mouse */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Animaciones */
}

/* Hover y clic */
.btn.send-proof:hover {
    background-color: #45a049; /* Más oscuro al pasar el mouse */
}

.btn.send-proof:active {
    transform: scale(0.98); /* Efecto de clic */
}
.hidden {
    display: none;
    font-family: Arial, Helvetica, sans-serif;
}
.input.style-text {
    margin-top: 20px;
    font-family: Arial, Helvetica, sans-serif;
}
/* Para el precio original tachado */
#original-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-right: 10px;
}

#original-price.strike-through {
    text-decoration: line-through;
    color: #888; /* Color para el precio tachado */
}

/* Para el nuevo precio con descuento */
#discounted-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff15; /* Color para el precio con descuento */
    display: none;  /* Asegúrate de que esté oculto por defecto */
    margin-top: 10px;
}
#discounted-price.show {
    display: block;
}
#discounted-price span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff007c;
}

/* Para dispositivos pequeños */
@media (max-width: 600px) {
    .btn.send-proof {
        font-size: 14px; /* Ajuste para pantallas pequeñas */
        padding: 8px 16px;
    }
}

@keyframes scale-up-center {
    0% {
      transform: scale(0.5);
    }
    100% {
      transform: scale(1);
    }
  }


/* Contenedor de iconos */
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 150px;
    margin-top: -65px;
    left: 80%;
    top: 50%;
    margin-left: 120px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
}

/* Iconos individuales */
.payment-icons i {
    font-size: 1.9rem;
    color: #5b6075;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    position: relative;
}

.payment-icons i span {
    font-family: Arial;
    font-size: 1rem;
    margin-left: 35px;
    position: absolute;
    top: 20%; /* Aparece debajo del ícono */
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

.payment-icons i:hover span {
    visibility: visible;
    opacity: 1;
}


.text-icons {
    display: flex;
    justify-content: center;
    gap: 150px;
    font-family: Arial;
    margin-top: -65px;
    left: 100%;
    top: 50%;
    margin-left: 0px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    color: white;
}

/* Efecto hover en iconos */
.payment-icons i:hover {
    transform: scale(1.2);
    color: #ff0095;
}

.btn-inv-payments {
    background: none;
    color: transparent;
    cursor: pointer;
    border: none;
    outline: none;
    width: auto;
    height: auto;
}

/* Mostrar iconos */
.btn.confirm-purchase:hover + .payment-icons,
.payment-icons:hover  {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(8%);
}
.payment-icons.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(10%);
}