@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

body.dark-mode {
    background: url('https://i.imgur.com/MGw2SIS.jpeg') no-repeat center center fixed !important;
    background-size: cover !important;
    color: #e0e0e0;
    font-family: 'Roboto Condensed', sans-serif;
    margin: 0;
    padding: 0;
}

/* Contenitore centrale */
.container {
    max-width: 1100px;
    margin: 60px auto;
    padding: 30px 40px;
    background-color: rgba(20, 20, 20, 0.85);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

/* Titoli */
h1, h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #f7941d;
    text-shadow: 1px 1px 2px #000;
}
h2 {
    margin-top: 60px;
    font-size: 1.4em;
    border-bottom: 2px solid #444;
    padding-bottom: 5px;
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(30, 30, 30, 0.85);
    margin-top: 10px;
    border-radius: 6px;
    overflow: hidden;
}
th, td {
    padding: 14px;
    border: 1px solid #444;
    text-align: left;
}
th {
    background-color: #2b2b2b;
    font-weight: bold;
    color: #ccc;
}
td {
    color: #ddd;
}
tr:nth-child(even) {
    background-color: #1c1c1c;
}

/* Stati */
.status-pending {
    color: #f1c40f;
    font-weight: bold;
}
.status-approved {
    color: #2ecc71;
    font-weight: bold;
}
.status-rejected {
    color: #e74c3c;
    font-weight: bold;
}
.status-resubmit {
    color: #f39c12;
    font-weight: bold;
}

/* Bottoni */
.btn-approve,
.btn-reject,
.button-resubmit,
.button-secondary {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s ease;
    margin-right: 5px;
}

.btn-approve {
    background-color: #28a745;
    color: white;
}
.btn-approve:hover {
    background-color: #218838;
}

.btn-reject {
    background-color: #dc3545;
    color: white;
}
.btn-reject:hover {
    background-color: #c82333;
}

.button-resubmit {
    background-color: #3498db;
    color: white;
}
.button-resubmit:hover {
    background-color: #2980b9;
}

.button-secondary {
    background-color: #555;
    color: white;
    text-decoration: none;
}
.button-secondary:hover {
    background-color: #444;
}

/* Input password (creazione utente) */
.input-password {
    width: 100%;
    padding: 10px;
    margin: 12px 0;
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #444;
    border-radius: 5px;
    font-size: 16px;
}

/* Messaggi */
.success-message {
    font-style: italic;
    color: #2ecc71;
    margin-top: 15px;
}

p {
    text-align: center;
    color: #ccc;
}

.btn-revoke {
    background-color: #d9534f;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.btn-revoke:hover {
    background-color: #c9302c;
}

.navbar {
    background-color: #222;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.navbar a:hover {
    color: #ffa500;
}

