header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

h1 {
    color: #1e5799;
    margin-bottom: 10px;
}

.admin-panel {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.password-form {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.password-form h3 {
    margin-bottom: 20px;
    color: #1e5799;
}

.password-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

button {
    padding: 12px 25px;
    background-color: #1e5799;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #16437e;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #1e5799;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.table-container {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 800px;
}

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

.results-table th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
}

.admin-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.logout-btn {
    background-color: #dc3545;
}

.logout-btn:hover {
    background-color: #c82333;
}

.clear-btn {
    background-color: #ffc107;
    color: #212529;
}

.clear-btn:hover {
    background-color: #e0a800;
}

@media (max-width: 768px) {
    .admin-panel {
        padding: 20px;
    }
    
    .results-table {
        font-size: 14px;
    }
    
    .results-table th, .results-table td {
        padding: 8px;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .admin-actions button {
        width: 100%;
    }
    
    .password-form {
        padding: 0 10px;
    }
}