* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

h2 {
    margin-bottom: 20px;
    color: #555;
}

input, select, button {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #0056b3;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.nav a {
    text-decoration: none;
    color: #666;
    padding: 8px 15px;
    border-radius: 4px;
}

.nav a.active, .nav a:hover {
    background: #007bff;
    color: white;
}

.search-section {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.search-section input, .search-section select {
    flex: 1;
    min-width: 150px;
    margin-bottom: 0;
}

.search-section button {
    width: auto;
    padding: 12px 30px;
    margin-bottom: 0;
}

.score-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.score-card:hover {
    background: #f9f9f9;
    border-color: #007bff;
}

.score-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

.score-card p {
    margin: 5px 0;
    color: #666;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.modal-content li:last-child {
    border-bottom: none;
}

.modal-content a {
    color: #007bff;
    text-decoration: none;
}

.modal-content a:hover {
    text-decoration: underline;
}

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

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background: #f8f9fa;
    font-weight: bold;
}

.btn-approve {
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

.btn-reject {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-delete {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.upload-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

#message {
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
    text-align: center;
}
/* Centra il contenitore del logo */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

/* Gestisce le dimensioni del logo */
.main-logo {
    max-width: 200px; /* Regola questa larghezza in base ai tuoi gusti */
    height: auto;     /* Mantiene le proporzioni originali */
    display: inline-block;
}
/* Stile per il bottone di download */
.download-icon-btn {
    background-color: #007bff; /* Il blu che stai usando */
    color: white !important;   /* Forza il colore della freccia in bianco */
    text-decoration: none;     /* Rimuove la sottolineatura del link */
    padding: 5px 10px;         /* Spazio interno per dare forma al tasto */
    border-radius: 4px;        /* Arrotonda gli angoli */
    display: inline-flex;      /* Centra l'icona */
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s; /* Effetto al passaggio del mouse */
}

/* Effetto quando si passa sopra con il mouse */
.download-icon-btn:hover {
    background-color: #0056b3; /* Un blu più scuro */
    color: white !important;
}
