/* style.css */
body { margin: 0; font-family: 'Segoe UI', sans-serif; background: #111; color: #eee; }
a { text-decoration: none; color: inherit; }

/* Auth & Dashboard Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.auth-box { width: 350px; margin: 100px auto; padding: 30px; background: #1e1e1e; border: 1px solid #333; border-radius: 8px; text-align: center; }
input { width: 100%; padding: 10px; margin: 10px 0; background: #2a2a2a; border: 1px solid #444; color: white; border-radius: 4px; box-sizing: border-box; }
button.btn-main { width: 100%; padding: 10px; background: #0066cc; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; }
button.btn-main:hover { background: #0077ee; }

/* Dashboard Grid */
.header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 20px; margin-bottom: 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: #1e1e1e; padding: 20px; border: 1px solid #333; border-radius: 8px; transition: 0.2s; position: relative; }
.card:hover { border-color: #00d2ff; transform: translateY(-2px); }
.card h3 { margin: 0 0 10px 0; font-size: 18px; }
.card p { color: #888; font-size: 12px; }
.card .actions { margin-top: 15px; display: flex; justify-content: space-between; }
.btn-small { padding: 5px 10px; background: #333; border-radius: 4px; font-size: 12px; }
.btn-small:hover { background: #444; }
.btn-new { background: #00d2ff; color: #000; padding: 10px 20px; border-radius: 4px; font-weight: bold; }

/* Errori */
.alert { background: #550000; color: #ffcccc; padding: 10px; border-radius: 4px; margin-bottom: 10px; text-align: left; font-size: 13px; }
.selected-shape {
    background-color: green;
    border: 5px solid red;
}