body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h2 {
    text-align: center;
    color: #333;
}

.nav-links {
    text-align: center;
    margin: 20px 0;
}

.nav-links a {
    text-decoration: none;
    color: #007bff;
    margin: 0 15px;
    font-weight: 500;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for padding to work */
}

button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

/* Gallery Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.gallery-item p {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    word-wrap: break-word;
}

.approval-form button {
    background-color: #28a745;
    width: auto;
    padding: 8px 15px;
    font-size: 14px;
    margin-top: 10px;
}

.approval-form button:hover {
    background-color: #218838;
}
/* --- Add these styles to your style.css --- */

.admin-actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
}

.admin-actions form {
    margin: 0 5px;
    flex: 1;
}

.admin-actions button {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
}

/* Style for the new delete button */
.delete-btn {
    background-color: #dc3545; /* Red */
}

.delete-btn:hover {
    background-color: #c82333;
}