/* Estilos del Modal de PayPal */
#procces_pay.paypal-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 99999 !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    backdrop-filter: blur(5px) !important;
    animation: fadeIn 0.3s ease-out !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#procces_pay .paypal-modal-container {
    background: white !important;
    border-radius: 20px !important;
    max-width: 600px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    animation: slideUp 0.4s ease-out !important;
    position: relative !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#procces_pay .paypal-modal-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: white !important;
    padding: 25px 30px !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

#procces_pay .paypal-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="palm" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23palm)"/></svg>');
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateX(-50px) translateY(-50px) rotate(0deg);
    }

    100% {
        transform: translateX(-50px) translateY(-50px) rotate(360deg);
    }
}

#procces_pay .paypal-modal-header h2 {
    margin: 0 !important;
    font-size: 1.8em !important;
    font-weight: bold !important;
    position: relative !important;
    z-index: 1 !important;
    color: white !important;
}

#procces_pay .paypal-modal-close {
    background: rgba(255, 255, 255, 0.2) !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

#procces_pay .paypal-modal-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1) !important;
}

#procces_pay .paypal-modal-body {
    padding: 30px !important;
}

/* Estilos del formulario */
#procces_pay .form-group {
    margin-bottom: 10px !important;
}

#procces_pay .form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

#procces_pay .form-group select,
#procces_pay .form-group input {
    min-width: 105px !important;
    width: 100% !important;
    padding: 15px !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background: #fafbfc !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    color: #333 !important;
}

#procces_pay .form-group select:focus,
#procces_pay .form-group input:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-2px) !important;
}

#procces_pay .country-selector {
    position: relative !important;
}

#procces_pay .country-selector select {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 20px !important;
    appearance: none !important;
}

#procces_pay .price-input-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    background: #fafbfc !important;
    border: 2px solid #e1e8ed !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

#procces_pay .price-input-container:focus-within {
    border-color: #3b82f6 !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-2px) !important;
}

#procces_pay .currency-symbol {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: white !important;
    padding: 15px 18px !important;
    font-weight: bold !important;
    font-size: 18px !important;
}

#procces_pay .price-input-container input {
    border: none !important;
    background: transparent !important;
    padding: 15px 10px !important;
    flex: 1 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1e40af !important;
}

#procces_pay .price-input-container input:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    background: transparent !important;
}

#procces_pay .currency-label {
    background: #f1f5f9 !important;
    color: #64748b !important;
    padding: 15px 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 1px !important;
}

#procces_pay .phone-input {
    display: flex !important;
    gap: 10px !important;
}

#procces_pay .country-code {
    flex: 0 0 80px !important;
}

#procces_pay .phone-number {
    flex: 1 !important;
}

#procces_pay .security-badges {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 30px 0 !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
}

#procces_pay .security-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #666 !important;
    font-size: 14px !important;
}

#procces_pay .security-icon {
    width: 20px !important;
    height: 20px !important;
    fill: #28a745 !important;
}

#procces_pay .payment-button {
    width: 100% !important;
    background: linear-gradient(135deg, #0070ba, #003087) !important;
    color: white !important;
    border: none !important;
    padding: 18px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

#procces_pay .payment-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#procces_pay .payment-button:hover::before {
    left: 100%;
}

#procces_pay .payment-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 112, 186, 0.4) !important;
}

#procces_pay .payment-button:active {
    transform: translateY(-1px) !important;
}

#procces_pay .payment-button:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

#procces_pay .paypal-logo {
    display: inline-block !important;
    margin-left: 10px !important;
    font-weight: normal !important;
    font-size: 16px !important;
}

#procces_pay .trust-indicators {
    text-align: center !important;
    margin-top: 20px !important;
    color: #666 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

#procces_pay .trust-indicators a {
    color: #3b82f6 !important;
    text-decoration: none !important;
}

#procces_pay .trust-indicators a:hover {
    text-decoration: underline !important;
}

/* Botón del shortcode */
.paypal-modal-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3) !important;
}

.paypal-modal-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4) !important;
}

/* Responsive */
@media (max-width: 768px) {
    #procces_pay .paypal-modal-container {
        margin: 10px !important;
        max-height: 95vh !important;
    }

    #procces_pay .paypal-modal-header {
        padding: 20px !important;
    }

    #procces_pay .paypal-modal-header h2 {
        font-size: 1.5em !important;
    }

    #procces_pay .paypal-modal-body {
        padding: 20px !important;
    }

    #procces_pay .security-badges {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #procces_pay .phone-input {
        flex-direction: column !important;
        gap: 10px !important;
    }

    #procces_pay .country-code {
        flex: none !important;
        width: 100% !important;
    }
}

/* Scrollbar personalizado */
#procces_pay .paypal-modal-container::-webkit-scrollbar {
    width: 8px !important;
}

#procces_pay .paypal-modal-container::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

#procces_pay .paypal-modal-container::-webkit-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 4px !important;
}

#procces_pay .paypal-modal-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8 !important;
}

/* Estilos para el Popup de Notificación de Pago */
#payment-notification.paypal-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    backdrop-filter: blur(5px) !important;
    animation: fadeIn 0.3s ease-out !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Solo mostrar cuando se active explícitamente */
#payment-notification.paypal-modal-overlay.show-notification {
    display: flex !important;
}

.payment-notification-container {
    background: white !important;
    border-radius: 20px !important;
    max-width: 500px !important;
    width: 100% !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    animation: slideUp 0.4s ease-out !important;
    position: relative !important;
    text-align: center !important;
}

.payment-notification-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: white !important;
    padding: 25px 30px !important;
    border-radius: 20px 20px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.payment-notification-header h2 {
    margin: 0 !important;
    font-size: 1.5em !important;
    font-weight: bold !important;
    position: relative !important;
    z-index: 1 !important;
    color: white !important;
}

.payment-notification-body {
    padding: 30px !important;
}

.success-icon,
.cancel-icon {
    font-size: 4em !important;
    margin-bottom: 20px !important;
    display: block !important;
}

.success-icon {
    color: #28a745 !important;
}

.cancel-icon {
    color: #dc3545 !important;
}

.payment-notification-body h3 {
    color: #333 !important;
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
    font-weight: bold !important;
}

.payment-notification-body p {
    color: #666 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}

.notification-details {
    background: #f8f9fa !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin: 20px 0 !important;
    text-align: left !important;
}

.notification-details p {
    margin: 10px 0 !important;
    color: #555 !important;
}

.status-success {
    color: #28a745 !important;
    font-weight: bold !important;
}

.status-cancel {
    color: #dc3545 !important;
    font-weight: bold !important;
}

.notification-actions {
    margin-top: 30px !important;
}

.notification-btn {
    background: linear-gradient(135deg, #0070ba, #003087) !important;
    color: white !important;
    border: none !important;
    padding: 15px 30px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.notification-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(0, 112, 186, 0.3) !important;
}

.notification-btn:active {
    transform: translateY(0) !important;
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
    .payment-notification-container {
        margin: 10px !important;
        max-width: 95% !important;
    }

    .payment-notification-header {
        padding: 20px !important;
    }

    .payment-notification-header h2 {
        font-size: 1.3em !important;
    }

    .payment-notification-body {
        padding: 20px !important;
    }

    .success-icon,
    .cancel-icon {
        font-size: 3em !important;
    }

    .payment-notification-body h3 {
        font-size: 1.5em !important;
    }
}

/* Animaciones para las notificaciones */
#payment-notification.paypal-modal-overlay {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: all 0.3s ease-out !important;
}

#payment-notification.paypal-modal-overlay.notification-visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.payment-notification-container {
    transform: translateY(30px) !important;
    transition: transform 0.3s ease-out !important;
}

#payment-notification.paypal-modal-overlay.notification-visible .payment-notification-container {
    transform: translateY(0) !important;
}

/* Estados específicos de notificación */
#payment-notification.payment-success .payment-notification-header {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

#payment-notification.payment-cancel .payment-notification-header {
    background: linear-gradient(135deg, #dc3545, #fd7e14) !important;
}

/* Efectos hover mejorados */
.notification-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 112, 186, 0.4) !important;
}

.notification-btn:active {
    transform: translateY(-1px) !important;
}

/* Iconos animados */
.success-icon,
.cancel-icon {
    animation: iconBounce 0.6s ease-out !important;
}

@keyframes iconBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Efecto de entrada para el contenido */
#notification-content>div {
    opacity: 0;
    transform: translateY(20px);
    animation: contentSlideIn 0.5s ease-out 0.3s forwards;
}

@keyframes contentSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-input-placeholder {
    /* Chrome, Safari, Opera */
    color: #333 !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #333 !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #333 !important;
}

::placeholder {
    /* Estándar actual */
    color: #333 !important;
}