body {
    font-family: 'Inter', sans-serif;
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

#signature-pad {
    border: 2px dashed #cbd5e1;
    border-radius: 1rem;
    cursor: crosshair;
    touch-action: none;
    background: #fff;
}

.success-message {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #ecfeff;
    color: #0f172a;
    font-weight: 600;
    text-align: center;
    border: 1px solid #bae6fd;
}

.success-message.active {
    display: block;
}

.is-hidden {
    display: none;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    z-index: 2000;
}

.loading-overlay.active {
    display: flex;
}

.loading-box {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    text-align: center;
    min-width: 220px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-text {
    color: #1e293b;
    font-size: 0.95rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
