/* Custom styles for TextProof */

/* Link color: darker variant of info (hue 198) for palette consistency */
:root {
    --bulma-link-h: 198deg;
    --bulma-link-s: 100%;
    --bulma-link-l: 45%;
}

/* Steps list */
ol.steps {
    list-style-type: none;
    counter-reset: step-counter;
    padding-left: 0;
}

ol.steps li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 3.5rem;
}

ol.steps li::before {
    content: counter(step-counter);
    background-color: hsl(198, 100%, 45%);
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
}

/* QR code image */
.qrcode-img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Deposit badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.2rem;
}

/* Animation for loading */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid hsl(198, 100%, 45%);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Footer: darken links and text for WCAG AA contrast on #f5f5f5 background */
.footer {
    color: #4a4a4a;
}

.footer a {
    color: hsl(198, 100%, 28%);
}

.footer a:hover {
    color: hsl(198, 100%, 20%);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .navbar-menu {
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
    }
}

