/* desain_galeri.css - halaman desain galeri admin */

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

h1, h2, h4 {
  margin: 0 0 16px;
  color: #4abdac;
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-warning {
  background: #f7b733;
  color: #fff;
}

.btn-warning:hover {
  background: #e6a500;
}

.btn-danger {
  background: #fc4a1a;
  color: #fff;
}

.btn-danger:hover {
  background: #d9381e;
}

.btn-primary {
  background: #4abdac;
  color: #fff;
}

.btn-primary:hover {
  background: #3aa19c;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-body {
  padding: 20px;
}

.card-body h4 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card-body p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 12px;
  border-radius: 6px;
  background: #e0e0e0;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background 0.3s;
}

.pagination a.active,
.pagination a:hover {
  background-color: #4abdac;
  color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
  .card-body p {
    font-size: 13px;
  }

  h1, h2 {
    font-size: 20px;
  }

  .btn {
    font-size: 13px;
    padding: 6px 10px;
  }
}
