/* style.css */
body {
    background-color: #000000;
    color: #b041ff; /* Viola acceso per leggibilità */
    font-family: 'Courier New', Courier, monospace; /* Stile tecnico/terminale */
    margin: 0;
    padding: 0;
}

/* Menu stile Word */
.menubar {
    background-color: #1a1a1a;
    border-bottom: 2px solid #5a005a;
    padding: 5px;
    display: flex;
}

.menu-item {
    padding: 5px 15px;
    cursor: pointer;
    color: #b041ff;
    position: relative;
    font-weight: bold;
}

.menu-item:hover {
    background-color: #330033;
}

/* Dropdown simulation */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(255,0,255,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border: 1px solid #5a005a;
}

.menu-item:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #b041ff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #330033;
}

/* Area di lavoro "Foglio" */
.workspace {
    padding: 20px;
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #330033;
    min-height: 600px;
    box-shadow: 0 0 10px #330033;
}

h1, h2, h3 { color: #d699ff; border-bottom: 1px solid #5a005a; }

/* Form Elements */
input, select, textarea {
    background-color: #111;
    border: 1px solid #b041ff;
    color: #fff;
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
}

button {
    background-color: #5a005a;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover { background-color: #800080; }

table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border: 1px solid #5a005a; padding: 8px; text-align: left; }
th { background-color: #1a1a1a; }

/* Stati del flusso */
.status-preventivo { color: yellow; }
.status-accettato { color: cyan; }
.status-materiale { color: orange; }
.status-intervento { color: lime; }
.status-concluso { color: grey; text-decoration: line-through; }