@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap");

body {
  font-family: "Inter", sans-serif;
}

.logo-img {
  width: 15em;
  height: 5em;
  margin: 10px 10px;
  margin-left: 20px;
}


.navbar-custom {
  width: 100vw;
  max-width: 100vw;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
}

.navbar-custom .btn:last-child {
  margin-right: 100px;
}

.navbar-custom .nav-link {
  color: #4caf50 !important;
  font-family: "Inter", sans-serif !important;
  font-weight: 500 !important;
}

.navbar-custom .nav-link {
  font-size: 1em;
}

.navbar-custom .btn {
  background-color: #4caf50;
  color: white;
  border: none;
  margin-left: 10px;
  padding: 14px 9px;
  transition: background-color 0.3s ease;
}

.navbar-custom .btn:hover {
  background-color: #45a049; 
  color: white;
}

.navbar-custom .navbar-nav .nav-item {
  margin-right: 25px;
}

.i-sesion-img {
  width: 1.5em;
  height: 1.5em;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


@media (max-width: 992px) {

  .navbar-custom .navbar-nav .nav-item {
  margin-right: 0px !important;
}
  .navbar-custom .navbar-nav {
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    gap: 10px;
  }

  .navbar-custom .d-flex {
    flex-direction: column !important;
    gap: 10px;
    margin-top: 10px;
  }

  .navbar-custom .form-control,
  .navbar-custom .form-select {
    font-size: 0.95em;
  }

  .navbar-custom .btn {
    width: 100%;
    text-align: center;
  }

  .navbar-custom .logo-img {
    width: 10em;
    height: auto;
    margin-left: 0;
  }

  .navbar-custom .btn:last-child {
    margin-right: 0;
  }

  .navbar-custom form {
    width: 100% !important;
    margin-top: 10px;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .form-select {
    width: 100%;
    margin-top: 10px;
  }

  .form-control {
    width: 100%;
  }

  .navbar-custom .form-group {
    width: 100%;
  }
}


@media (min-width: 993px) and (max-width: 1493px) {
  .navbar-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .navbar-nav{
    margin-right: 0px !important;
    flex-direction: column !important;
  }

  .btn-buscar-nav{
    margin-right: 0px !important;
  }

  .input-group{
    flex-wrap: nowrap !important;
    width: 35vw !important;
  }

  .navbar-custom .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
  }

  .navbar-custom .navbar-collapse {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 1rem;
    flex-wrap: nowrap;
  }

  .navbar-custom form.busqueda {
    flex: 1 1 auto;
    max-width: 40vw;
    min-width: 250px;
  }

  .input-group {
    width: 100%;
    flex-wrap: nowrap;
  }

  .input-group .form-control {
    min-width: 0;
    flex: 2;
  }

  .input-group .form-select {
    flex: 1;
    min-width: 90px;
  }

  .input-group .btn {
    flex: 0 0 auto;
  }

  .navbar-custom .d-flex.align-items-center {
    flex-wrap: nowrap;
    min-width: fit-content;
  }

  .navbar-custom .btn-outline-danger {
    font-size: 0.88em;
    padding: 5px 12px;
  }
}





@media (min-width: 1630px) {
  .navbar-custom form {
    width: 70%; 
  }

  .navbar-custom .input-group {
    max-width: 100%;
  }
}
.noti-tarjeta {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 18px 0 rgba(50, 50, 93, 0.09),
    0 1.5px 4px 0 rgba(0, 0, 0, 0.03);
  padding: 1.1em 1.5em;
  transition: box-shadow 0.19s;
  min-width: 300px;
  position: relative;
  border: 1.5px solid #f2f3f8;
}

.noti-tarjeta:hover {
  box-shadow: 0 10px 22px 0 rgba(50, 50, 93, 0.14),
    0 2px 6px 0 rgba(0, 0, 0, 0.06);
}

.noti-foto-perfil {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #e4e7ef;
  background: #fff;
  transition: border-color 0.16s;
}

.perfil-link:hover .noti-foto-perfil {
  border-color: #3d71ea;
  box-shadow: 0 2px 10px 0 rgba(60, 90, 210, 0.06);
}

.noti-mensaje {
  background: #f7f8fc;
  color: #444;
  font-size: 0.99em;
  border-radius: 9px;
  padding: 8px 13px;
  margin-top: 7px;
  display: inline-block;
  max-width: 260px;
  word-break: break-word;
  border: 1px solid #ececec;
}

.noti-btn-accion {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3faf3;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  transition: background 0.13s, box-shadow 0.12s;
  box-shadow: 0 2px 5px 0 rgba(90, 200, 100, 0.04);
  outline: none;
  margin: 0 2px;
}

.noti-btn-accion:active {
  transform: scale(0.97);
}

.select-rol {
  max-width: 35%;
}

.noti-btn-accion.btn-aceptar i {
  color: #30be6e;
}

.noti-btn-accion.btn-rechazar i {
  color: #ef6161;
}

.noti-btn-accion:hover {
  background: #ebf0fa;
  box-shadow: 0 6px 15px 0 rgba(70, 140, 250, 0.08);
  filter: brightness(1.1);
}

.noti-btn-accion.btn-aceptar:hover {
  background: #e6fbef;
}

.noti-btn-accion.btn-rechazar:hover {
  background: #ffeaea;
}

.noti-solicitud-text {
  display: inline-block;
  max-width: 180px;
  font-weight: 500;
  vertical-align: middle;
  word-break: break-word;
  white-space: normal;
}

.noti-mensaje-row {
  width: 100%;
  display: flex;
  margin-top: 0.35em;
}

.noti-mensaje {
  background: #f7f8fc;
  color: #444;
  font-size: 1.03em;
  border-radius: 11px;
  padding: 9px 17px;
  border: 1px solid #ececec;
  box-shadow: 0 1px 2.5px 0 rgba(120, 130, 150, 0.07);
  min-width: 150px;
  max-width: 100%;
  word-break: break-word;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 430px) {
  .noti-mensaje,
  .noti-mensaje-row {
    max-width: 90vw;
    padding: 9px 10px;
  }

  .noti-solicitud-text {
    max-width: 80vw;
  }
}

@media (max-width: 1560px) and (min-width: 1400px) {
  .buscador-texto {
    width: 30% !important;
  }
}

.noti-tarjeta {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px #0001;
  padding: 18px 20px;
  transition: box-shadow 0.13s;
  margin-bottom: 12px;
  align-items: flex-start !important;
}

.noti-tarjeta:hover {
  box-shadow: 0 4px 24px #0002;
}

.noti-foto-perfil {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #eee;
}

.noti-solicitud-text {
  display: inline;
  font-weight: 500;
}

.noti-mensaje-row {
  margin-top: 8px;
  margin-bottom: 0;
  display: flex;
}

.noti-mensaje {
  background: #f4f4f4;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 1.08em;
  color: #444;
  word-break: break-word;
  min-width: 180px;
  max-width: 270px;
}

.noti-btn-accion {
  background: #f7f8fa;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 transparent;
  transition: background 0.2s;
}

.noti-btn-accion.btn-aceptar i {
  color: #34be6c;
}

.noti-btn-accion.btn-rechazar i {
  color: #eb5252;
}

.noti-btn-accion:hover {
  background: #eaeaea;
}

.busqueda{
  max-width: 40% !important; min-width: 76px;
}

.login{
  display: flex;
}

@media (max-width: 1200px) {

  .logo-img{
    max-width: 10em !important;
  }

}

@media (max-width: 992px) {
  .lado-izquierdo {
    display: none !important;
  }
  .login, .register{
    margin: 0px !important;
    display: inline-block !important;
  }

  .navbar-brand{
    width: 100% !important;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .navbar-collapse {
    padding: 1rem 0;
  }
.btn-buscar-nav{
    margin-top: 0px !important;
    width: 10% !important;
  }
  .busqueda {
    max-width: 90% !important;
    min-width: 76px;
  }

  .navbar-collapse form.d-flex {
    flex-direction: column !important;
    width: 100% !important;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .input-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  gap: 0; /* 🔧 Quitamos el espacio */
}

.input-group .form-control {
  flex: 2;
  min-width: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.select-rol{
  margin: 0 !important;
}

.input-group .form-control {
  height: 40px;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}

.dropdownNotificaciones{
  margin: 0px !important;
}

.navbar-collapse .dropdown{
    margin: 0px !important;
}

.input-group .form-select {
  flex: 1;
  min-width: 90px;
  border-radius: 0;
  height: 40px; /* 🔧 Forzamos mismo alto */
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  margin-bottom: 0; /* 🔧 Por si algún navegador le pone margen */
  align-self: stretch; /* 🔧 Para que se alinee al alto completo */
}


.input-group .btn {
  flex: 0 0 auto;
  padding: 0 14px;
  height: 40px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

  .navbar-collapse .form-control,
  .navbar-collapse .form-select {
    height: 40px;
  }

  .navbar-collapse .btn i {
    margin: 0 auto;
  }

  .navbar-collapse .navbar-nav {
    width: 100%;
    text-align: center;
  }


  .navbar-collapse .d-flex.align-items-center {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .navbar-collapse .btn-outline-danger {
    width: 80%;
  }

  .navbar-collapse img.rounded-circle {
    margin: 0 auto;
  }

  .navbar-collapse .dropdown {
    margin-bottom: 1rem;
  }

  .navbar-collapse .dropdown-toggle::after {
    margin-left: 0.5em;
  }
}


