/* Minimal Frontend Styles for Finachub M-Pesa Checkout */
body.mpesa-waiting-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f7f7;
    font-family: 'Jost', sans-serif;  /* Updated font */
    margin: 0;
    padding: 0;
}

.mpesa-waiting-container {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mpesa-waiting-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.mpesa-waiting-spinner svg {
    animation: rotate 2s linear infinite;
    width: 100%;
    height: 100%;
}

.mpesa-waiting-spinner circle {
    stroke: #0073aa;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
    stroke-dasharray: 90,150;
    stroke-dashoffset: 0;
    fill: none;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1,150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90,150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90,150; stroke-dashoffset: -124; }
}
