/*
  Global App CSS
  ----------------------
  Use this file for styles that should be applied to all components.
  For example, "font-family" within the "body" selector is a CSS property
  most apps will want applied to all components.

  Any global CSS variables should also be applied here.
*/

@font-face {
    font-family: 'Libre_Baskerville';
    src: 
    url(./../fonts/LibreBaskerville-Regular.ttf);
}


@font-face {
    font-family: 'Poppins-ligth';
    src: 
    url(./../fonts/Poppins-Regular.ttf);
}

@font-face {
    font-family: 'Poppins';
    src: 
    url(./../assets/fonts/Poppins-Light.ttf);
  }

body {
  margin: 0px;
  padding: 0px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  overflow-x: hidden;
}

.container-menu-mobile{
  padding: 2rem;
  background-color: black;
}

.font-base{
  font-family:Poppins-ligth;
  font-size:clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
}

.font-subttitle{
  font-size:clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}


.gray-back{
  background-color: #e5e5e5!important;
  color: black;
}
.gray-back .gray{
  display: flex;
  align-items: flex-start;
  
}

.gray-back .description p{
  padding:clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  width: 70%;
}

.gray-back .container-card h3{
  color: black;
}

.gray-back .container-card {
  padding-top: 25%;
}

.gray-back .container-card span{
  border-bottom:black 1px solid ;
}



  body .footer{
    padding: 2rem;
  }

  /*Carousel*/

.carousel-caption h5{
  font-family:Poppins-ligth;
  font-size:clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
  right: 0%;
  position: absolute;
  width: 35%;
}  

.carousel-caption{
  width: 80%;
}


.carousel-caption p{
  font-family:Poppins-ligth;
  font-size:clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 300;
  right: 0%;
  position: absolute;
  width: 35%;
  top: 30%;
}


  /*Carousel products*/

.carouselExampleControls .cards-wrapper {
  display: flex;
  justify-content: center;
}

.carouselExampleControls .cards-wrapper card-trading {
  max-width: 100%;
  max-height: 100%;
  padding: 1em;
}

.carouselExampleControls .carousel-inner {
  padding: 1em;
}

.carouselExampleControls .carousel-control-prev,
.carouselExampleControls .carousel-control-next {
  background-color: #e1e1e1;
  width: 5vh;
  height: 5vh;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 768px) {
  /*.carouselExampleControls card-trading {
    height: 11em;
  }*/
}

.background-bco{
    background-color: #ffffff!important;
}

.rounded-circle{
  width: 6rem;
  color: gray;
  border: 6px gray solid;
  background-color: #d0d0d0;
}

.register-form input-trading input{
  height: 2.7rem;
}

.middle-name{
  margin: -1rem 0px 0px 7.5rem;
}

.container-buttons{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom:1rem;
}

.register-form textarea{
    width: 32rem;
    height: 6rem;
}

.container .register-form tittle-atm-trading p{
  justify-content: flex-start;
}

.form-with-image img{
  width: 80%;
  height: 80%;
}

.gray-back .menu-lateral li{
      border-bottom: 1px solid #000000;
}

.gray-back .menu-lateral{
  color:  #000000;
}

.matches{
  padding-bottom: 5%;
}

.matches .title-gray p{
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    font-family: Poppins;
    font-size: 22px;
    color: #000000;
}

.matches .title-gray span{
    border-bottom: #000000 1px solid;
    margin: 0px auto;
    display: flex;
    width: 15%;
}

.matches .menu-lateral li{
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}


.matches .menu-lateral li span:first-child{
    font-weight: 800;
}

.matches .menu-lateral{
  padding-right: 3rem;
  padding-left: 3rem;

}

.matches .conten-buttons{
  display: flex;
    justify-content: space-between;
    padding: 2em 35em 2em 1em;
}
.matches .content-cards{
      display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 6em;
}
.cards-form .container-cards{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2em;
  background-color:#e5e5e5;
}

.cards-form card-product-form-trading{
  width: 80%;
  padding: 2em;
}


.chat-app {
  height: auto;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  padding: 1em;
}

/* Sidebar */
.inbox {
  background: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}

.inbox h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
}

.inbox .buscar {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background: #eee;
  margin-bottom: 15px;
}

.inbox .contact {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  background-color: #E1E1E1;
  transition: background 0.3s;
}

.inbox .contact:hover {
  background: #f0f0f0;
}

.inbox .contact.active {
  background: #fde5a7;
}

.inbox .contact .avatar,
.inbox .contact .avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 10px;
}

.inbox .contact .contact-info {
  flex: 1;
}

.inbox .contact .contact-info h4 {
  font-size: 14px;
  margin: 0;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}
.inbox .contact .contact-info span {
  font-size: 10px;
}
.inbox .contact .contact-info p {
  font-size: 12px;
  color: #000000;
  padding-top: 2%;
}

.inbox .contact .notificacion {
  background: red;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 6px;
  position: absolute;
  right: 10px;
  top: 10px;
}

/* Chat Window */
.chat-window {
  display: flex;
  flex-direction: column;
  background:#ffffff;
  padding: 2%;
  border-radius: 24px;
  margin: 2%;
}

.chat-window .chat-header {
  display: flex;
  align-items: center;
  background: #eee;
  padding: 10px;
  border-radius: 0 0 8px 8px;
}

.chat-window .chat-header .avatar-img {
  border-radius: 50%;
  margin-right: 10px;
}

.chat-window .chat-header h4 {
  margin: 0;
}

.chat-window .chat-header p {
  font-size: 12px;
  color: #666;
}

.chat-window .chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.chat-window .chat-body .mensaje {
  max-width: 70%;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  position: relative;
}

.chat-window .chat-body .mensaje .hora {
  font-size: 11px;
  color: #666;
  display: block;
  margin-top: 5px;
}

.chat-window .chat-body .mensaje.recibido {
  background: #d9edf7;
  margin-right: auto;
}

.chat-window .chat-body .mensaje.enviado {
  background: #fde5a7;
  margin-left: auto;
}

.chat-window .chat-footer {
  padding: 15px;
  background: #eee;
  border-top: 2px solid #ddd;
}

.chat-window .chat-footer input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  height: 8em;
}

.faqs .content-title{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.accordion-header{
  margin-bottom: 1%;
  font-family: Poppins;
}
.accordion-header button{
  background-color: #E1E1E1;
}

.accordion-button:not(.collapsed) {
  background-color: #E1E1E1;
}

.accordion-body{
  font-family: Poppins;
}

.mesh-second{
  margin: -103px 0px 0px 270px;
}

@media only screen and (max-width : 1024px) {
    .container-main-info{
      padding: 0!important;
    }
}

@media only screen and (max-width : 750px) {    
  .container-cards .row .col{
  }
  body .footer{
    padding: 8px;
  }
  body .container-carousel-main, body .container-carousel-controls
  ,body .register-form{
    padding: 0!important;
  }
  .middle-name{
    margin: 0;
        margin-top: 30px;

  }
  body .container .register-form input{
    width:18rem!important;
  }
  .mesh-second{
    margin:0;
  }
  .register-form textarea{
    width: 20rem;
    height: 6rem;
  }
  .matches {
    padding-bottom: 30%;    
  }
}
