body {
  font-family: "Open Sans", sans-serif;
  background-image: linear-gradient(
    to right,
    #a7c4e6,
    #d1b8f2
  ); /* Replaces Tailwind gradient */
  padding: 1rem; /* Replaces p-4 */
}

@media (min-width: 768px) {
  /* Replaces md:p-8 */
  body {
    padding: 2rem;
  }
}

.container {
  max-width: 800px; /* Adjust as needed */
  margin: 0 auto;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem; /* Adjust as needed */
}

@media (min-width: 768px) {
  .container {
    padding: 1.5rem; /* Adjust as needed */
  }
}

h1 {
  font-size: 1.5rem; /* Adjust as needed */
  font-weight: 600;
  color: #2b6cb0; /* Adjust as needed */
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2rem; /* Adjust as needed */
  }
}

h2 {
  font-size: 1.25rem; /* Adjust as needed */
  font-weight: 600;
  color: #333; /* Adjust as needed */
  margin-bottom: 0.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333; /* Adjust as needed */
}

input[type="text"],
input[type="file"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.mb-6 {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  gap: 1rem; /* Adds 1rem space between items */
}

.bg-green-500 {
  background-color: #22c55e; /* Green color */
}

.bg-green-500:hover {
  background-color: #16a34a; /* Darker green on hover */
}

.bg-indigo-500 {
  background-color: #6366f1; /* Indigo color */
}

.bg-indigo-500:hover {
  background-color: #5255d7; /* Darker indigo on hover */
}

.bg-indigo-600 {
  background-color: #4f46e5;
}

.bg-indigo-600:hover {
  background-color: #3f33b2;
}

.bg-indigo-700 {
  background-color: #4338ca;
}

.text-white {
  color: white;
}

.table-container {
  overflow-x: auto;
  margin-top: 2rem;
}

.input-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.delete-button {
  background-color: #ef4444;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: inline-block;
}

.delete-button:hover {
  background-color: #dc2626;
}

/* Add more styles as needed to match your design */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
}

/* Responsive styles (replace grid classes) */
@media (min-width: 768px) {
  .grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.lds-dual-ring {
  display: inline-block;
  padding-top: 5px;
  width: 32px; /* Half the original width */
  height: 32px; /* Half the original height */
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 23px; /* Approximately half the original width */
  height: 23px; /* Approximately half the original height */
  margin: 0.5px; /* Adjusted margin */
  border-radius: 50%;
  border: 2.5px solid #22c55e; /* Half the original border width */
  border-color: #22c55e transparent #22c55e transparent;
  animation: lds-dual-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
