:root {
    --bg-color: #0f1220;
    --card-color: #181c2f;
    --text-primary: #ffffff;
    --text-secondary: #b6b9d6;
    --accent: #5c7cfa;
    --accent-hover: #748ffc;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    padding: 2rem 1rem;
}

.subtitle {
    color: var(--text-secondary);
}

.upload-card {
    background: var(--card-color);
    max-width: 420px;
    margin: 0 auto;
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

#imagePreview img {
    max-width: 100%;
    margin-top: 1rem;
    border-radius: 10px;
}

input[type="file"] {
    color: var(--text-secondary);
}

button {
    margin-top: 1.25rem;
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background: var(--accent);
    color: white;
    transition: background 0.2s ease, transform 0.1s ease;
}

button:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

button:active:not(:disabled) {
    transform: translateY(0);
}

button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#prediction {
    margin-top: 1.25rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
