/**
 * FORDIPS TECH - Stripe Payment Styles
 * Styles for payment processing modals and UI
 */

/* ===== PAYMENT PROCESSING MODAL ===== */
.payment-processing-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-processing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.payment-processing-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-processing-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border: 4px solid #f3f4f6;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.payment-processing-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem;
}

.payment-processing-content p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

/* ===== PAYMENT METHOD ICONS ===== */
.payment-methods {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
}

.payment-method-icon {
    width: 50px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.payment-method-icon:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* ===== SECURE PAYMENT BADGE ===== */
.secure-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: 8px;
    color: #166534;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

.secure-payment-badge svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* ===== STRIPE CHECKOUT BUTTON ===== */
.stripe-checkout-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stripe-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.stripe-checkout-btn:active {
    transform: translateY(0);
}

.stripe-checkout-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== PAYMENT CARDS ACCEPTED ===== */
.cards-accepted {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.cards-accepted span {
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

.card-logos {
    display: flex;
    gap: 0.5rem;
}

.card-logo {
    width: 40px;
    height: 26px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #6b7280;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .payment-processing-content {
        padding: 2rem;
        margin: 1rem;
    }

    .payment-processing-content h3 {
        font-size: 1.25rem;
    }

    .stripe-checkout-btn {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
