body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    color: #333;
}

.admin-wrapper {
    display: flex;
}

.sidebar {
    width: 250px;
    background-color: #37003c;
    /* Premier League Purple */
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: fixed;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    margin: 0;
}

.sidebar-nav {
    flex-grow: 1;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer a {
    color: #fff;
    text-decoration: none;
}

.main-content {
    margin-left: 250px;
    /* Same as sidebar width */
    padding: 30px;
    width: calc(100% - 250px);
}

.main-content h1 {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-top: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.stat-card .stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #37003c;
}

.stat-card .stat-label {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    background-color: #37003c;
    color: white;
    font-size: 1em;
}

.table-wrapper {
    overflow-x: auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
}

table thead tr {
    background-color: #f0f2f5;
    text-align: left;
}

table th,
table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

table tbody tr:last-of-type td {
    border-bottom: none;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

.actions-cell {
    display: flex;
    gap: 5px;
}

.actions-cell a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    text-align: center;
    line-height: 1.5;
}

.btn-sm {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8em;
    transition: background-color 0.2s;
}

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

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-save {
    background-color: #28a745;
    color: white;
}

.btn-sm:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    min-width: 150px;
}

.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}