/* style.css */
:root {
    --sbam-blue: #003366;
    --sbam-orange: #ff6600;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #333;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--bg-light); color: var(--text-dark); margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; }

/* Header */
header { background: var(--white); border-bottom: 4px solid var(--sbam-orange); padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
header img { height: 50px; }
header .user-menu a { margin-left: 15px; text-decoration: none; color: var(--sbam-blue); font-weight: 600; }
header .user-menu a:hover { color: var(--sbam-orange); }

/* Layout */
.container { max-width: 1250px; margin: 30px auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
.card { background: var(--white); padding: 25px; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; }

h1, h2, h3 { color: var(--sbam-blue); margin-top: 0; }

/* Form */
label { display: block; margin-bottom: 5px; font-weight: bold; font-size: 14px; }
input, select, textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; font-size: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--sbam-blue); outline: none; }

button { background: var(--sbam-blue); color: white; border: none; padding: 12px 20px; cursor: pointer; border-radius: 4px; font-weight: bold; font-size: 16px; transition: background 0.3s; }
button:hover { background: var(--sbam-orange); }

/* Tabelle */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
th { background-color: #f8f9fa; color: #555; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Badges Stato */
.badge { padding: 5px 10px; border-radius: 12px; font-size: 12px; font-weight: bold; display: inline-block; }
.st-Aperto { background: #e3fcef; color: #00ad45; }
.st-In-Corso { background: #fff8e1; color: #f39c12; }
.st-Chiuso { background: #eee; color: #777; }
/* --- FOOTER CREDITS --- */
.footer-credits {
    text-align: center;
    padding: 30px 10px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    color: #888;
    font-size: 13px;
}

.footer-credits b {
    color: var(--sbam-blue); /* Usa il blu aziendale per i nomi */
}