.custom-card {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.custom-card:hover {
    transform: scale(1.05);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545, #a71d2a);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.card-body i {
    opacity: 0.8;
}

.card-footer {
    font-weight: bold;
}

.big-text {
    font-size: 1.5rem; /* Ajusta según lo necesites */
    font-weight: normal;
}

/* Estilos para tarjetas con degradado */
.card-gradient-primary {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #529ff1, #5089DE);
}

.card-gradient-primary:hover {
    transform: scale(1.05);
}

.card-footer-gradient-primary {
    background: linear-gradient(135deg, #529ff1, #5089DE);
    border-top: none;
}

.card-gradient-info {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #6db1fa, #56C2D6);
}

.card-gradient-info:hover {
    transform: scale(1.05);
}

.card-footer-gradient-info {
    background: linear-gradient(135deg, #6db1fa, #56C2D6);
    border-top: none;
}

.card-gradient-danger {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #f59414, #F0643B);
}

.card-gradient-danger:hover {
    transform: scale(1.05);
}

.card-footer-gradient-danger {
    background: linear-gradient(135deg, #f59414, #F0643B);
    border-top: none;
}

.card-gradient-success {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #23d432, #029602);
}

.card-gradient-success:hover {
    transform: scale(1.05);
}

.card-footer-gradient-success {
    background: linear-gradient(135deg, #23d432, #029602);
    border-top: none;
}

.card-gradient-warning {
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: linear-gradient(135deg, #fcdfa3, #F8CC6B);
}

.card-gradient-warning:hover {
    transform: scale(1.05);
}

.card-footer-gradient-warning {
    background: linear-gradient(135deg, #fcdfa3, #F8CC6B);
    border-top: none;
}


/* Alinear un texto a la derecha personalizado */
.text-derecha {
    text-align: right;
}
  .inline-linea {
    display: inline-block;
    margin-right: 10px; /* Espacio entre el label y el p */
}
.form-group-propio label, .form-group-propio p {
    display: inline-block;
    margin-bottom: 8px; /* Espacio entre el label y el p */
}
/* Aseguramos que cada par esté en una nueva línea */
.form-group-propio div {
    margin-bottom: 10px; /* Espacio entre las filas */
  }

  
/* Funciones para botones */
.btn-degra-purple {
  background: linear-gradient(135deg,#A1A7CE,#727CB6);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-purple:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-primary {
  background: linear-gradient(135deg,#1eaaeb,#2d56a1);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-warning {
  background: linear-gradient(135deg,#FEC571,#F67260);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-warning:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-danger {
  background: linear-gradient(135deg,#f85f38,#da110a);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-danger:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-morado {
  background: linear-gradient(135deg,#A05DE7,#5650A8);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-morado:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-success {
  background: linear-gradient(135deg,#76d4ac,#15B392);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-success:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-degra-info {
  background: linear-gradient(135deg,#69e4fa,#56C2D6);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-degra-info:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.superior-celda {
    font-weight: bold;
    text-align: center;
}
.inferior-celda {
    text-align: center;
}

#graficoComprasVentas {
    width: 250px !important;
    height: 250px !important;
}

#tblSeguimientoGarantias td:nth-child(8) {
    white-space: normal !important;
    word-wrap: break-word;
    max-width: 200px;
}

.btn-xs {
  padding: 0.15rem 0.3rem;
  font-size: 0.7rem;
}
.btn-xs i {
  font-size: 0.8rem;
}

.big-text {
    font-size: 20px;
    font-weight: bold;
    color: #385cac;
}