/* Gradient Background */
.gradient-custom {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  min-height: 100vh;
  padding: 20px;
}

/* Card Styling */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 2rem;
}

/* Form Styling */
.form-control {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-size: 16px;
}

.form-control:focus {
  border-color: #6a11cb;
  box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

/* Button Styling */
.btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-info {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border: none;
  color: white;
}

.btn-info:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, #6c757d, #495057);
  border: none;
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #495057, #6c757d);
  transform: translateY(-2px);
}

.btn-success {
  background: linear-gradient(135deg, #28a745, #218838);
  border: none;
  color: white;
}

.btn-success:hover {
  background: linear-gradient(135deg, #218838, #28a745);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545, #c82333);
  border: none;
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c82333, #dc3545);
  transform: translateY(-2px);
}

.btn-warning {
  background: linear-gradient(135deg, #ffc107, #e0a800);
  border: none;
  color: white;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #e0a800, #ffc107);
  transform: translateY(-2px);
}

/* Todo Item Styling */
.list-group-item {
  background-color: white;
  border: none;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.list-group-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.done {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Checkbox Styling */
.form-check-input {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #6a11cb;
  border-color: #6a11cb;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  width: 90%;
  max-width: 400px;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}

.modal-content input:focus {
  border-color: #6a11cb;
  box-shadow: 0 0 5px rgba(106, 17, 203, 0.5);
}

.modal-content button {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  transform: translateY(-2px);
}

/* Pagination Styling */
.d-flex.justify-content-center {
  margin-top: 20px;
}

/* Tab Styling */
.nav-tabs {
  border-bottom: none;
  margin-bottom: 20px;
}

.nav-link {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #6a11cb;
  transition: all 0.3s ease;
}

.nav-link.active {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
}

.nav-link:hover {
  background: rgba(106, 17, 203, 0.1);
}
