/* Modern, clean style for AnythingIsPWA */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f8fa;
    color: #222;
    margin: 0;
    padding: 0;
}

main, .container {
    max-width: 420px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 32px 28px 24px 28px;
}

h1, h2, h3 {
    font-weight: 600;
    color: #1a202c;
    margin-top: 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
}

input[type="text"], input[type="url"], input[type="email"], input[type="password"] {
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9fafb;
    transition: border 0.2s;
}
input:focus {
    border-color: #3182ce;
    outline: none;
    background: #fff;
}

button, input[type="submit"] {
    background: linear-gradient(90deg, #3182ce 60%, #63b3ed 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(49,130,206,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
button:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #2563eb 60%, #4299e1 100%);
    box-shadow: 0 2px 8px rgba(49,130,206,0.13);
}

.icon-preview-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}
#icon_preview {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    object-fit: contain;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

#process_image_hint {
    color: #e53e3e;
    font-size: 0.97rem;
    margin-top: 4px;
}

a.source-link {
    display: inline-block;
    margin: 24px auto 18px auto;
    padding: 10px 18px;
    background: #f1f5f9;
    color: #2563eb;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(49,130,206,0.07);
    border: 1px solid #e2e8f0;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
a.source-link:hover {
    background: #e0e7ef;
    color: #1a365d;
    box-shadow: 0 2px 8px rgba(49,130,206,0.13);
    text-decoration: underline;
}

@media (max-width: 600px) {
    main, .container {
        padding: 16px 6px 12px 6px;
        max-width: 98vw;
    }
    #icon_preview {
        width: 48px;
        height: 48px;
    }
}
