@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { display: flex; min-height: 100vh; background-color: #f4f6f9; color: #333; }


.sidebar { width: 250px; background-color: #343a40; color: #fff; display: flex; flex-direction: column; }
.sidebar-header { padding: 20px; text-align: center; background-color: #212529; font-size: 24px; font-weight: bold; border-bottom: 2px solid #df0000; }
.sidebar-header span { color: #df0000; }
.sidebar nav { display: flex; flex-direction: column; padding: 20px 0; }
.sidebar nav a { color: #c2c7d0; text-decoration: none; padding: 15px 20px; font-size: 16px; transition: 0.3s; display: flex; align-items: center; gap: 10px; }
.sidebar nav a:hover, .sidebar nav a.active { background-color: #df0000; color: #fff; }


.main-content { flex: 1; padding: 30px; overflow-y: auto; }
.page-title { margin-bottom: 25px; color: #212529; border-bottom: 2px solid #ddd; padding-bottom: 10px; }


.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.admin-table th, .admin-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.admin-table th { background-color: #343a40; color: #fff; }
.admin-table img { width: 50px; height: 50px; object-fit: contain; border-radius: 4px; }


.btn { padding: 8px 15px; border: none; border-radius: 4px; cursor: pointer; color: #fff; text-decoration: none; font-size: 14px; font-weight: bold; transition: 0.3s; }
.btn-primary { background-color: #007bff; } .btn-primary:hover { background-color: #0056b3; }
.btn-danger { background-color: #dc3545; } .btn-danger:hover { background-color: #c82333; }
.btn-success { background-color: #28a745; width: 100%; padding: 12px; font-size: 16px; margin-top: 10px; }

.form-container { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #444; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 15px; }

.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; color: #fff; font-weight: bold; }
.alert-success { background-color: #28a745; }
.alert-danger { background-color: #dc3545; }