

.payment-container {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 470px;
    overflow: hidden;
}

.header {
    text-align: center;
}

    .header h1 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .header p {
        opacity: 0.9;
    }

.payment-options {
    padding: 20px;
}

.payment-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 17px;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
}

    .section-title i {
        margin-right: 10px;
        font-size:18px;
        color: #4b6cb7;
    }

.payment-method {
    display: flex;
    align-items: center;
    padding: 9px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .payment-method:hover {
        border-color: #4b6cb7;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(75, 108, 183, 0.1);
    }

    .payment-method.selected {
        border-color: #4b6cb7;
        background-color: #f8faff;
    }

    .payment-method input {
        margin-right: 15px;
    }

.logo {
    width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    background: white;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .logo img {
        max-width: 100%;
        max-height: 100%;
    }

.text-container {
    flex: 1;
}

.method-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.method-description {
    font-size: 14px;
    color: #718096;
}

.return-a {
    cursor: pointer;
    border: none;
    font-size: 16px;
    text-decoration: none !important;
    color: black;
}

.return-a:hover {
        font-size: 17px;
}


.continue-btn {
    display: block;
    margin: auto;
    width: 80%;
    padding: 16px;
  /*  background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);*/
    background: linear-gradient(90deg, #d94107 0%, #f67f00 100%);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    color:white;
}

    .continue-btn:hover {
        transform: translateY(-2px);
      /*  box-shadow: 0 5px 15px rgba(75, 108, 183, 0.4);*/
        box-shadow: 0 5px 15px rgb(183 116 75 / 95%);
    }

    .continue-btn:active {
        transform: translateY(0);
    }

.credit-cards-logo {
    display: inline-block;
    width: 50px;
    height: 40px;
    background-image: url('../../../Recursos/syn/Tarjetas-Credito-Debito.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pagoefectivo-logo {
    display: inline-block;
    width: 50px;
    height: 40px;
    background-image: url('../../../Recursos/syn/PagoEfectivo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.kashio-logo {
    display: inline-block;
    width: 50px;
    height: 40px;
    background-image: url('../../../Recursos/syn/Kashio.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.yape-plin-logo {
    display: inline-block;
    width: 50px;
    height: 40px;
    background-image: url('../../../Recursos/syn/YapePlin.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-logos {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.mini-logo {
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #4b6cb7;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 500px) {
    .payment-method {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .card-logos {
        justify-content: center;
    }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

    .overlay.active {
        display: block;
    }

/* Lightbox */

.lightboxPEKA {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    max-width: 70%;
    max-height: 70vh;
    overflow: auto;
}

    .lightboxPEKA.active {
        display: block;
    }

.lightbox {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 5px 10px 20px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
}

    .lightbox.active {
        display: block;
    }

/* Header del lightbox */
.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
}

/* Contenido del lightbox */
.lightbox-content {
    padding: 17px;
}

/* Sección de tarjetas de prueba */
.test-cards-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid #007bff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(calc(100% - 60px));
    transition: transform 0.3s ease;
}

    .test-cards-section.expanded {
        transform: translateY(0);
    }

.toggle-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #007bff;
    color: white;
    cursor: pointer;
}

    .toggle-section h3 {
        margin: 0;
        font-size: 16px;
    }

.toggle-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.test-cards-section.expanded .toggle-icon {
    transform: rotate(180deg);
}

.cards-content {
    padding: 0px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.test-cards-section.expanded .cards-content {
    max-height: 600px;
    padding: 20px;
    overflow-y: auto;
}

/* Estilos para grupos de procesadores */
.processor-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.processor-tab {
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

    .processor-tab.active {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }

    .processor-tab:hover:not(.active) {
        background: #e9ecef;
    }

.cards-group {
    display: none;
}

    .cards-group.active {
        display: block;
    }

.processor-badge {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.test-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-family: "Courier New", monospace;
    position: relative;
}

    .test-card h4 {
        margin-bottom: 10px;
        color: #333;
        font-size: 14px;
    }

.card-number {
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-size: 14px;
}

.card-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.card-type {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
    font-style: italic;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    color: #856404;
    margin-top: 20px;
}

    .note strong {
        display: block;
        margin-bottom: 5px;
    }

.copy-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    transition: background 0.3s;
}

    .copy-btn:hover {
        background: #0056b3;
    }

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transform: translateX(150%);
    transition: transform 0.3s ease;
}

    .copy-notification.show {
        transform: translateX(0);
    }

.group-title {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.2em;
}

.group-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .test-cards-section {
        transform: translateY(calc(100% - 50px));
    }

    .processor-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .test-cards-section.expanded .cards-content {
        max-height: 500px;
    }
}
