:root {
  --color-primary: #5c3aff;
  --color-secondary: #f5f5f5;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --gradient-main: linear-gradient(135deg, #5c3aff, #8f6fff);
}

body {
  background: var(--color-secondary);
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding-bottom: 60px;
}

h4, h5 {
  font-weight: 600;
}

.card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  border: none;
  transition: all 0.3s;
}
.btn-primary:hover {
  opacity: 0.9;
}

.btn-success {
  background-color: var(--color-success);
  border: none;
}
.btn-danger {
  background-color: var(--color-danger);
  border: none;
}

input, select, textarea {
  border-radius: 0.75rem !important;
}

/* Animaciones suaves */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Botón flotante */
.floating-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 24px;
  z-index: 1000;
  transition: transform 0.3s;
}
.floating-btn:hover {
  transform: scale(1.05);
}


.card-module {
    border-radius:1rem;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-module:hover {
    transform: translateY(-5px);
    box-shadow:0 8px 22px rgba(0,0,0,0.35);
}
.card-title {
    font-weight: bold;
    font-size: 1.2rem;
}
a.text-decoration-none:hover { text-decoration: none; }


.card-module {
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    background: #fff;
    color: #d90429;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 140px;
    padding: 0.5rem;
    transition: transform 0.2s ease;
}
.card-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.3);
}
.card-module i { font-size: 2rem; margin-bottom: 0.3rem; }
.card-title { font-weight: bold; font-size: 1rem; }

