body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    background-color: #3d484f;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.logo {
    height: 50px;
    margin-right: 20px;
}

.header-title {
    color: #329dcf;
    font-size: 1.5em;
    margin: 0;
    flex: 1; /* Allow the title to take up remaining space */
}

/* Responsive styles */
@media (max-width: 600px) {
    .header-title {
        font-size: 1.2em; /* Reduce font size on small screens */
        text-align: center; /* Center the text on small screens */
        margin-top: 10px; /* Add some margin on top for spacing */
    }

    .logo {
        margin: 0 auto; /* Center the logo on small screens */
    }
}

#admin-reviews-widget {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.review {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.review .rating {
    color: #f39c12;
    margin-bottom: 5px;
}

.review .date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.review .description {
    margin-bottom: 10px;
}

.review .username {
    font-style: italic;
    color: #34495e;
    margin-bottom: 10px;
}

.review .status {
    font-weight: bold;
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    gap: 10px;
}

button {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.approve {
    background-color: #2ecc71;
    color: white;
}

button.withhold {
    background-color: #e74c3c;
    color: white;
}

button:hover {
    opacity: 0.8;
}

button.disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

#pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#pagination button {
    margin: 0 10px;
}

#page-info {
    font-weight: bold;
}

/* Styles for Admin Reviews page */
.review-card {
    margin-bottom: 20px;
}

.status-badge {
    font-size: 0.8em;
    padding: 5px 10px;
    border-radius: 10px;
}

.status-Approved {
    background-color: #d4edda;
    color: #155724;
}

.status-Pending {
    background-color: #fff3cd;
    color: #856404;
    border: 2px solid #856404;
}

.status-Withheld {
    background-color: #f8d7da;
    color: #721c24;
}

.stats-panel {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 10px;
}

.stats-panel .stat {
    flex: 1;
    min-width: 100px;
    margin: 5px;
    padding: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100px; /* Set a fixed height for alignment */
}

.stats-panel .stat h6 {
    margin-bottom: 10px; /* Add some space between the header and the number */
    font-size: 0.9em;
}

.stats-panel .stat p {
    margin: 0;
    font-size: 1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Ensure the number takes up the remaining space */
}

.btn-disabled {
    pointer-events: none;
    opacity: 0.65;
}

.btn-logout {
    padding: 5px 10px;
    font-size: 0.875rem; /* Smaller font size */
    background-color: #9d8e8f; /* Bootstrap's danger color */
    border-color: #454242;
}

.btn-logout:hover {
    background-color: #c82333; /* Slightly darker red on hover */
    border-color: #bd2130;
}