/* Admin Panel Styling */
.wrap h2 {
  color: #0073aa;
  font-size: 24px;
  font-weight: bold;
}

form {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

form label {
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
}

form input[type="text"],
form input[type="number"],
form input[type="file"] {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input[type="submit"] {
  background-color: #0073aa;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

form input[type="submit"]:hover {
  background-color: #005177;
}

table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

table th,
table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

table th {
  background-color: #f1f1f1;
  font-weight: bold;
}

table td img {
  max-width: 100px;
  max-height: 100px;
}

/* Frontend Styling */
.diara-search-form {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.diara-search-form label {
  flex: none;
  font-weight: bold;
  display: block;
  margin-bottom: 8px;
}

.diara-search-form input[type="text"],
.diara-search-form input[type="number"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.diara-search-form input[type="submit"] {
  background-color: #0073aa;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.diara-search-form input[type="submit"]:hover {
  background-color: #005177;
}

.diara-pagination-wrapper {
    margin-top: 20px;
    text-align: center;
}

.diara-pagination-wrapper .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    border: 1px solid #0073aa;
    background: #f1f1f1;
    color: #0073aa;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.diara-pagination-wrapper .page-numbers:hover {
    background: #0073aa;
    color: #fff;
}

.diara-pagination-wrapper .page-numbers.current {
    background: #0073aa;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.diara-pagination-wrapper .page-numbers.dots {
    background: transparent;
    border: none;
    color: #555;
}

