/* Override Bootstrap styles with Material Design principles */
body {
  font-family: 'Roboto', sans-serif;
}

/* Cards */
.card {
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Elevation level 3 */
  transition: box-shadow 0.3s ease-in-out;
}
.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Elevation level 4 on hover */
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Elevation level 2 */
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease-in-out;
}
.btn:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Elevation level 3 on hover */
}
.btn.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  transform-origin: center;
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Ripple animation */
@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Primary and secondary buttons */
.btn-primary {
  background-color: #6200EE; /* Material Design purple */
  border-color: #6200EE;
}
.btn-primary:hover {
  background-color: #4a00b7; /* Darkened for hover */
  border-color: #4a00b7;
}

.btn-secondary {
  background-color: #03DAC6; /* Material Design teal */
  border-color: #03DAC6;
}
.btn-secondary:hover {
  background-color: #02b8a6; /* Darkened for hover */
  border-color: #02b8a6;
}

/* Inputs */
.form-control {
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.form-control:focus {
  border-color: #6200EE;
  box-shadow: 0 0 0 4px rgba(98, 0, 238, 0.2); /* Primary color with opacity */
}

/* Floating Action Button (FAB) */
.btn-fab {
  border-radius: 50%;
  width: 56px;
  height: 56px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-fab:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Modal animations */
.modal-content {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}