.gradiente {
  position: relative;
  padding-left: 98px;
  padding-right: 98px;
  padding-top: 98px;
  border-radius: 20px;
  overflow: hidden;
}

.gradiente::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* Ajusta la altura como necesites */
  background: linear-gradient(180deg, rgba(233,149,73,1), rgba(244,91,83,1));
  border-radius: 20px;
  z-index: 0; /* Envía el gradiente al fondo */
}

.profile-pic {
  position: absolute;
  top: -100px; /* Ajusta este valor para que la foto se superponga al gradiente */
  z-index: 1; /* Asegura que la imagen esté por encima del gradiente */
}

.col-with-gradient {
  position: relative; /* Para posicionar el pseudo-elemento respecto a la columna */
}

.col-with-gradient:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px; /* Ancho del borde vertical (similar a la altura del .gradient-line, pero invertido) */
  height: 100%; /* Se extiende a lo largo de toda la columna */
  background: linear-gradient(to bottom, rgba(244,91,83,1), rgba(233,149,73,1));
}

.seleccion {
  background: #121212 !important; /* Gris inicial */
  color: #ffffff;
  font-weight: bold;
  padding: 10px 26px;
  margin: 10px;
  top: 0;
  left: 0;
  border-radius: 20px !important;
  overflow: hidden;
  transition: background 0.3s ease; /* Transición suave para el cambio de color */
}

.seleccion:active, .seleccion:focus {
  background: #ffff !important; /* Blanco cuando está activo o enfocado */
  font-weight: bold;
  color: #121212;
}

.seleccion:hover {
  opacity: 0.9;
}
.margensote{
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-label {
  font-weight: bold;
  color: #121212;
}

.btn-secondary {
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Ajusta el tamaño del botón */
  color: white;
  font-weight: bold;
}

.btn-tercero {
  border-radius: 50px; /* Bordes redondeados */
  padding: 10px 30px; /* Ajusta el tamaño del botón */
  color: rgb(58, 58, 58);
  font-weight: bold;
}

/* Estilos para el botón de tres puntos */
.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

.bi-three-dots-vertical {
  font-size: 1.2rem;
}

/* Estilos para los dropdowns */
.dropdown-menu {
  min-width: 200px;
}

.dropdown-item {
  padding: 0.5rem 1rem;
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

/* Estilos para las tarjetas de trabajo */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Estilos para los badges de categoría */
.badge {
  font-size: 0.8em;
  padding: 0.5em 0.75em;
}

@media (max-width: 768px) {
  .user-info {
    text-align: center;
    margin-top: 6rem;
  }

  .profile-pic {
    margin-bottom: 1rem;
  }

  .row.my-4 {
    flex-direction: column;
    align-items: center;
  }
}

  .row.tarjetas-contenido {
    margin-left: 20px;
    margin-right: 1rem;
    
  }
  .card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    height: auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
  }

  .card:hover {
    transform: scale(1.01);
    transition: 0.3s ease-in-out;
  }

  .card-img-top {
    height: auto;
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 0;
  }

  .card-body {
    padding: 0.5rem;
    overflow: hidden;
  }

  .card-title {
    font-size: 1rem;
    font-weight: 600;
  }

  .card-text {
    font-size: 0.875rem;
    color: #444;
  }

  /* Por cambiar */
  .bg-red {
    background-color: #f45b53;
  }

  .bg-green {
    background-color: #53F491;;
  }

  .bg-blue {
    background-color: #5358f4;    
  }

  .bg-orange {
    background-color: #F4A953;
  }

  .bg-purple {
    background-color: #A953F4;
  }

  .bg-skyblue {
    background-color: #53acf4;
  }

.btn-secondary{
  background-color: #121212 !important;
  color: #ffffff !important;
  border-radius: 40px;
  padding: 10px 10px;
  overflow: hidden;
}

.truncate-description {
  display: -webkit-box;
  line-clamp: 3; /* Número de líneas visibles */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-mutedd{
  color: #dddbdb;
}
.btn{
  font-size: 12px;
}
.btn:hover{
  color:#ffffff;
}

.trabajo-item {
  transition: all 0.3s ease;
}

.modal-title {
  font-weight: bold;
  color: #121212;
}

.badgeicon {
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
  color:#121212;
}

#botonChatFlotante {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
}

#botonChatFlotante:hover {
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
}


#modalChat {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 300px;
  height: 400px;
  background-color: #121212;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

#modalChat.hidden {
  display: none;
}

.chat-header {
  padding: 10px;
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
  color: rgb(0, 0, 0);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

#chatMensajes {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

#formChat {
  display: flex;
  color: #ffffff;
}

#formChat input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
  color: #ffffff;
}

#formChat button {
  background: linear-gradient(0deg, rgba(244,91,83,1), rgba(233,149,73,1));
  color: rgb(0, 0, 0);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

#cerrarChat {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: rgb(0, 0, 0);
}

#inputMensaje {
  border-radius: 20px;
  background-color: #121212;
  padding: 10px;
  border: 1px;
  outline: none;
  width: 100%;
}

.mensaje-chat {
  background-color: #222;
  color: white;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-text {
  margin: 6px 0;
  margin-left: 6px;
}

.chat-date {
  font-size: 11px;
  color: #bbb;
  text-align: right;
}

