/* style.css */

/* Reset di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}

header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Container principale */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Login Container */
.login-container, .dashboard-container, .crea-ticket-container {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    font-size: 24px;
}

p.description {
    font-size: 14px;
    margin-bottom: 30px;
    color: #ccc;
}

input[type="text"], input[type="password"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
}

input[type="submit"], button {
    width: 100%;
    padding: 10px;
    background-color: #4caf50;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover, button:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #333;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #333;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    padding: 10px;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #ccc;
}

/* Responsività */
@media (max-width: 600px) {
    .login-container, .dashboard-container, .crea-ticket-container {
        padding: 20px;
    }

    header h1 {
        font-size: 24px;
    }
}
