﻿body {
    font-family: system-ui, -apple-system, Arial;
}

.wrap {
    max-width: 760px;
    margin: 20px auto;
    text-align: center;
}

canvas {
    border: 1px solid #999;
    background: #fafafa;
    display: block;
    margin: 12px auto;
}

.controls {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

button, input[type="file"] {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    cursor: pointer;
}

#file {
    display: none;
}

/* Style the custom label as a button */
.custom-file-upload {
    display: inline-block;
    padding: 8px 32px;
    cursor: pointer;
    background-color: brown;
    color: white;
    border-radius: 5px;
}

.angle {
    min-width: 120px;
}

table {
    margin: 15px auto;
    border-collapse: collapse;
    min-width: 500px;
    cursor: pointer;
}

th, td {
    border: 1px solid #aaa;
    padding: 6px 10px;
}

th {
    background: #eee;
}

tr.active {
    background: #fffae0;
}

