/* Estilos generales */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #121212;
  color: #ffffff;
}

.btn-rounded {
  border-radius: 20px; /* Ajusta el valor según lo redondeado que quieras los bordes */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Gradientes */
.text-gradient {
  background: linear-gradient(rgba(244,91,83,1), rgba(233,149,73,1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-line {
  width: 40px;
  height: 4px;
  background: linear-gradient(rgba(244,91,83,1), rgba(233,149,73,1));
  margin: 10px auto;
}

/* Botones */

.btn-gradient {
  background: linear-gradient(0deg,rgba(244,91,83,1), rgba(233,149,73,1));
  color: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  padding-left: 30px;
  padding-right: 30px;
  
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* Navbar */
.navbar {
  padding: 20px 0;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #ffffff;
}

.navbar-brand:hover {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: rgba(233, 149, 73, 1);
}

.navbar-toggler {
  color:  rgba(233, 149, 73, 1);
}

.nav-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #ffffff;
}

.nav-link:hover {
  color: rgba(233, 149, 73, 1);
}

/* Secciones */
section {
  padding: 60px 0;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 47px;
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  padding: 20px 0;
}

footer p {
  margin: 0;
  font-size: 14px;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-input {
  border-color: #dc3545 !important;
}

/* POR VER */
/*button {
  opacity: 0.7;
  cursor: not-allowed;
}*/

.spinner-border {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.alert-success {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  animation: fadeInOut 5s ease-in-out forwards;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  background: transparent;
  border: 0;
  cursor: pointer;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

.card-img {
  width: 100%; /* Asegúrate de que la imagen ocupe todo el ancho */
  height: auto; /* Mantén la proporción de la imagen */
  object-fit: cover; /* Ajusta la imagen para que cubra el espacio del card */
  border: none; /* Elimina bordes de la imagen */
}

/* Estilo para el badge de notificaciones */
#notificationBadge {
  position: relative;
  top: -10px;
  right: -5px;
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}

/* Estilo para el modal de notificaciones */
#notificationsList {
  max-height: 60vh;
  overflow-y: auto;
}

#notificationsList .list-group-item {
  border-left: none;
  border-right: none;
  transition: background-color 0.2s;
}

#notificationsList .list-group-item:first-child {
  border-top: none;
}

#notificationsList .list-group-item.unread {
  background-color: rgba(13, 110, 253, 0.1);
}

.mensaje-chat {
  margin: 8px 0;
}

.chat-bubble {
  padding: 8px 12px;
  max-width: 100%;
  word-wrap: break-word;
}

.mensaje-propio .chat-bubble {
  background-color: none;
  color: white;
}

.mensaje-otro .chat-bubble {
  background-color: none;
  color: black;
}

.chat-time {
  margin-top: 4px;
  opacity: 0.8;
}