/* Custom styles for zkFold Smart Wallet UI */

/* Light and unintrusive gradient background */
body {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(248, 250, 252, 0.95) 25%,
            rgba(241, 245, 249, 0.92) 50%,
            rgba(248, 250, 252, 0.95) 75%,
            rgba(255, 255, 255, 0.98) 100%);
    /* Fallback for browsers that don't support gradients */
    background-color: var(--pico-background-color);
    /* Ensure the gradient covers the full viewport */
    min-height: 100vh;
}

/* Ensure the gradient doesn't interfere with Pico's container styles */
.container,
.container-fluid {
    position: relative;
    background: transparent;
}

/* Optional: Add a subtle texture overlay for additional depth (very light) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.015;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Ensure main content area works well with the gradient */
main {
    position: relative;
    z-index: 1;
}

/* Custom button styling - white with border and hover shadow */
button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"] {
    --pico-background-color: #ffffff;
    --pico-border-color: #d1d5db;
    --pico-color: #374151;
    --pico-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-width: 1px;
    font-weight: 500;
}

button:hover,
button:focus,
[type="button"]:hover,
[type="button"]:focus,
[type="submit"]:hover,
[type="submit"]:focus,
[type="reset"]:hover,
[type="reset"]:focus,
[role="button"]:hover,
[role="button"]:focus {
    --pico-background-color: #f9fafb;
    --pico-border-color: #9ca3af;
    --pico-color: #1f2937;
    --pico-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
    transition: all 0.2s ease-in-out;
}

button:active,
[type="button"]:active,
[type="submit"]:active,
[type="reset"]:active,
[role="button"]:active {
    --pico-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

/* Remove number input spinner buttons */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}