/* General styles */
body,
html {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #060606;
  color: #cdcdcd;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.logo {
  width: 65px;
  height: 45px;
  margin-right: 10px;
}

i[class^="fa"] {
  margin-right: 5px;
}

/* Button styles */
.button {
  padding: 15px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  background-color: #191919;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #000000;
}

/* Container for page layout */
.page-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}



.login-container {
    background-color: #191919;
    color: #cdcdcd;
    padding: 20px;
    margin-top: 20px;
    height: 400px;
    margin-bottom: 20px;
    width: calc(44% - 20px);
    border-radius: 25px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    display: flex; /* Use flexbox */
    flex-direction: column; /* Arrange children vertically */
    justify-content: flex-end; /* Align children to the bottom */

}

.login-container:nth-child(odd) {
    margin-right: 20px;
}

.login-container:nth-child(even) {
    margin-left: 20px;
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
    .login-container {
        width: 375px;
        height: 400px;
        margin-right: 20px;
    }
    .login-container:nth-child(odd),
    .login-container:nth-child(even) {
        margin: 20px 10px;
    }
}

.search-container {
    position: relative;
    
  }

/* Search container */
.search-input {
    flex: 1;
    font-family: poppins;
    border: none;
    border-radius: 25px;
    color: #cdcdcd;
    background-color: #191919;
    padding: 14px;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-color: none;
    width: 300px;
    margin-right: 20px;
    display: block;
  
  }
  
  /* Media query for responsiveness */
  @media screen and (max-width: 720px) {
    .search-input {
      width: 100%;
      margin-left: 0;
      /* Adjust width for smaller screens */
  
  
    }
  }
  
  /* Media query for responsiveness */
  @media screen and (max-width: 720px) {
    .search-container {
      width: 90%;
      /* Adjust width for smaller screens */
  
  
    }
  }
  
  .search-icon {
    position: absolute;
    width: 50px;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #cdcdcd;
  }
  .dropdown-content, .nav-dropdown-content {
    display: none;
position: absolute;
background-color: #191919;
border-radius: 25px;
color: #cdcdcd;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1000;
}

.dropdown-content a, .nav-dropdown-content a {
color: #cdcdcd;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover, .nav-dropdown-content a:hover {
background-color: #222222;
color: #fff;
font-weight: 700;
border-radius: 25px;
}


.notifications-button {
position: relative;
background-color: #191919;
width: 50px;
height: 50px;
margin-right: 10px;

}

.notifications-button:hover {
background-color: #060606;
}


.notifications-button .badge {
position: absolute;
top: -5px;
right: -5px;
background-color: rgba(255, 0, 0, 0.692);
color: #cdcdcd;
font-family: Poppins;
font-weight: 600;
border-radius: 50%;
padding: 1px 5px; /* Adjusted padding */
font-size: 16px;
}


.dropdown:hover .dropdown-content {
  display: block;
}




/* Text styles */
.greetings {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 0;
  font-weight: 400;
}

.registrate {
  margin-top: 25px;
  margin-bottom: 0;
  font-size: 25px;
}

.loan {
  margin: 0px;
}

.texto {
  margin: 0;
  padding: 0;
  color: #cdcdcd;

}

.texto-modal {
  text-align: justify;
  margin-top: 20px;
}

.text {
  margin: 0;
  padding: 0;
  color: #cdcdcd;
  line-height: 2; /* Ajusta el valor según el espacio que desees entre líneas */
  font-size: 18px;
}


/* Form group */
.form-group {
  display: flex;
  width: 900px;
  align-items: center;
}

/* Media query for responsiveness */
@media screen and (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Button container */
.button-container {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.button-container button {
  font-size: 16px;
  border: none;
  border-radius: 25px;
  background-color: #191919;
  color: #cdcdcd;
  cursor: pointer;
  font-family: poppins;
  font-weight: 500;
  margin-top: 10px;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.button-container button:hover {
  background-color: #000000;
  font-weight: 700;
  color: #fff;
}

/* Profile button styles */
.profile-button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin-top: 20px;
  background-size: cover;
  background-position: center;
  background-image: url('/profile.jpg');
  border: none;
  cursor: pointer;
  outline: none;
}

.profile-button:hover {
  opacity: 0.8;
}

/* Category wrapper styles */
.category-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #222222;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding: 20px;
}

/* Modal styles */
.buttons-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-contenido {
    background-color: #121212;
    margin: 15% auto;
    padding: 50px;
    border-radius: 10px;
    width: 900px;
    max-width: auto;
}

/* Close button styles */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* styles for the expandable square */

.box123new {
  display: flexbox;
  background-color: #191919;
  margin-left: 25px;
  margin-right: 25px;
  max-width: 1600px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 25px;

}

.box1234 {
  display: flex;
  margin-top: 25px;

}

.box12345 {
  display: flex;
  margin-top: 25px;
  background-color: #222222;

}

.box123456 {
  padding: 0;
  display: flex;
  margin-top: 25px;

}

section {
  margin-left: auto;
  margin-right: auto;
}

section+section {
  margin-top: 2.5em;
}

h1 {
  font-weight: 700;
  line-height: 1.125;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
}

summary {
  position: relative;
  cursor: pointer;
  padding: 1em 0.5em;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  background-color: #121212;
}

summary div {
  display: flex;
  align-items: center;
}

summary h3 {
  display: flex;
  flex-direction: column;
}

summary small {
  color: #999;
  font-size: 0.875em;
}

summary strong {
  font-weight: 700;
}

summary span:first-child {
  width: 4rem;
  height: 4rem;
  border-radius: 10px;
  background-color: #f3e1e1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-right: 1.25em;
}

summary span:first-child svg {
  width: 2.25rem;
  height: 2.25rem;
}

summary span:last-child {
  font-weight: 700;
  margin-left: auto;
}

summary:focus {
  outline: none;
}

summary .plus {
  color: #289672;
}

summary .minus {
  color: #ff6f61;
}

details {
  border-bottom: 1px solid #cdcdcd;
}



details:first-of-type {
  border-top: 1px solid #b5bfd9;
}

details>div {
  padding: 2em 2em 0;
  font-size: 0.875em;
}

dl {
  display: flex;
  flex-wrap: wrap;
}

dl dt {
  font-weight: 700;
}

dl div {
  margin-right: 4em;
  margin-bottom: 2em;
}

.svg-item {
  width: 100%;
  font-size: 16px;
  margin: 0 auto;
  animation: donutfade 1s;
}

.line {
  background-color: #abafc6;
  width: 20px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.month-group:hover .line,
.selected .line {
  background: #5397d6;
}

.month-group:hover p,
.selected p {
  color: #cdcdcd;
}

.h-25 {
  height: 25%;
}

.h-50 {
  height: 50%;
}

.h-75 {
  height: 75%;
}

.h-100 {
  height: 100%;
}

summary .plus {
  color: #289672;
}

.circle {
  border-radius: 50%;
  clip: rect(0px, 100px, 200px, 0px);
  height: 100%;
  position: absolute;
  width: 100%;
  font-size: 1.5rem;
}

.boxagents1 {
  margin: 25px auto; /* Center horizontally and add top/bottom margin */
  padding: 25px;
  background-color: #191919;
  border-radius: 25px;
  width: 90%; /* Use a percentage for responsive width */
  max-width: 820px; /* Maximum width */
  height: auto; /* Adjust height based on content */
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
  .boxagents1 {
    padding: 20px; /* Adjust padding */
    width: 80%; /* Adjust width for smaller screens */
    max-width: 700px; /* Adjust maximum width */
  }
}

@media screen and (max-width: 768px) {
  .boxagents1 {
    padding: 15px; /* Further adjust padding */
    width: 95%; /* Almost full width for mobile screens */
    max-width: 500px; /* Adjust maximum width */
  }
}


.box123 {
  display: flex;

}

.saludos {
  margin-left: 25px;
  margin-top: 25px;

}

.icon-button {
  margin-top: auto;
  margin-left: 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #333333;
  background: #dddddd;
  border: none;
  outline: none;
  border-radius: 50%;
}

.icon-button:hover {
  cursor: pointer;
  background-color: #121212;
}

.navbar {
  width: auto;
  margin-top: 25px;
  margin-bottom: 25px;
  font-weight: 600;
  overflow: auto;
}



/* Navbar links */
.navbar a {
  float: left;
  border-radius: 50px;
  text-align: center;
  margin-left: 10px;
  padding: 15px;
  color: #cdcdcd;
  background-color: #222222;
  text-decoration: none;
  font-size: 18px;
}

/* Navbar links on mouse-over */
.navbar a:hover {
  background-color: #121212;
}



/* Add responsiveness - will automatically display the navbar vertically instead of horizontally on screens less than 500 pixels */
@media screen and (max-width: 500px) {
  .navbar a {
    float: none;
    display: block;
  }
}

summary .plus {
  color: #289672;
}

.hora {
  font-weight: 400;
  font-size: 18px;
  text-align: left;
  margin-bottom: 0;
}

.registrate {
  margin-bottom: 0;
  font-size: 25px;
  text-align: left;
  margin-top: 0;
}

.btn-primary {
  border: none;
  padding: 0;
  background-color: #cdcdcd;
  height: 58px;
  width: 100%;
  margin-top: 20px;
  color: #191919;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-primary:hover {
  background-color: #282828;
  color: #cdcdcd;
}

.btn-secondary {
  border: none;
  padding: 0;
  background-color: #121212;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  margin-top: 20px;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-secondary:hover {
  border: none;
  padding: 0;
  background-color: #cdcdcd;
  height: 58px;
  width: 100%;
  color: #121212;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-tertiary {
  border: solid;
  padding: 0;
  margin-top: 25px;
  background-color: transparent;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-tertiary:hover {
  border: none;
  padding: 0;
  margin-top: 25px;
  background-color: #121212;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-tertiary {
  border: solid;
  padding: 0;
  margin-top: 25px;
  background-color: transparent;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-fortuary {
  border: none;
  padding: 0;
  margin-top: 25px;
  background-color: #333;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.btn-fortuary:hover {
  border: none;
  padding: 0;
  margin-top: 25px;
  background-color: #121212;
  height: 58px;
  width: 100%;
  color: #cdcdcd;
  font: inherit;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;

}


.input-drop {
  height: 58px;
  width: 405px;
  border: none;
  padding: 15px;
  margin-bottom: 10px;
  color: #cdcdcd;
  font-family: poppins;
  border-radius: 25px;
  background-color: #121212;
  font-size: 19px;
  border: #121212 1.8px solid;
  outline: none;
  /* Find replacement */
  transition: all 0.4s;
}

.input {
  border: none;
  margin-bottom: 10px;
  padding: 15px;
  color: #cdcdcd;
  width: 95%;
  border-radius: 50px;
  font-family: poppins;
  background-color: #121212;
  font-size: 19px;
  border: #121212 1.8px solid;
  outline: none;
  transition: all 0.4s;
}

.step-container {
  background-color: #191919;
  color: #cdcdcd;
  padding: 20px;
  margin-top: 20px;
  height: 500px;
  margin-bottom: 20px;
  width: calc(44% - 20px);
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
 
}

.step-container:nth-child(odd) {
  margin-right: 20px;
}

.step-container:nth-child(even) {
  margin-left: 20px;
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
  .step-container {
      width: 375px;
      height: 400px;
      margin-right: 20px;
  }
  .step-container:nth-child(odd),
  .step-container:nth-child(even) {
      margin: 20px 10px;
  }
}



.section-title {
  margin-bottom: 0;
  font-size: 25px;
  text-align: left;
  margin-top: 20px;
  margin-left: 20px;
}

.section-subtitle {
  font-weight: 400;
  font-size: 18px;
  text-align: left;
  margin-bottom: 0;
  margin-top: 0;
  margin-left: 20px;

}

.notifications-button {
  position: relative;
}




.step-container-payment {
  background-color: #191919;
  color: #cdcdcd;
  padding: 20px;
  margin-top: 20px;
  height: auto;
  margin-bottom: 20px;
  width: auto;
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
 
}

.step-container:nth-child(odd) {
  margin-right: 20px;
}

.step-container:nth-child(even) {
  margin-left: 20px;
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
  .step-container {
      width: 375px;
      height: 400px;
      margin-right: 20px;
  }
  .step-container:nth-child(odd),
  .step-container:nth-child(even) {
      margin: 20px 10px;
  }
}

.page-heading{
  font-size: 30px;
  margin-top: 0;
}

.new {
  background-color: #191919;
  border: none;
  color: #cdcdcd;
  padding: 12px 16px;
  font-family: Poppins;
  font-size: 16px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 25px;
  }
  
  
  .new:hover {
  background-color: #060606;
  font-weight: 700;
  
  }

.new-box {
  background-color: #191919;
  border-radius: 10px;
  margin-bottom: 25px;
  padding: 50px;
  margin-left: auto;
  margin-right: auto;
}

.profile {
  border: none;
  padding: 0;
  margin-left: auto;
  margin-right: 10px;
  font: inherit;
  background-color: #333;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.4s;
}

.profile:hover {
  background-color: #282828;
  color: #cdcdcd;
}

.column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media only screen and (max-width: 768px) {
  .column {
      width: 100%;
  }
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 1fr));
  gap: 10px;
}

.details-box {
  min-height: 350px;
  width: 355px;
  padding: 20px;
  border-radius: 10px;
  background-color: #121212;
  
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr); /* Change to display only one column */
  gap: 10px;
}

@media only screen and (min-width: 768px) {
  .calculator-grid {
    grid-template-columns: repeat(2, minmax(200px, 1fr)); /* Reset to two columns for larger screens */
  }
}

@media screen and (max-width: 768px) {
  .details-box {
    width: calc(100% - 40px); /* Adjust width for smaller screens */
    padding: 10px; /* Adjust padding for smaller screens */
  }
}



.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #191919;
  margin: 15% auto;
  padding: 50px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.carousel-container {
  max-height: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.carousel-slide {
  width: 100%;
  display: flex;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  box-sizing: border-box;
}

.carousel-nav button {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  outline: none;
  transition: background 0.3s;
}

.carousel-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.carousel-dot {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-dot button {
  border: none;
  cursor: pointer;
  margin: 0 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  outline: none;
  transition: background 0.3s;
}

.carousel-dot button.active {
  background: #cdcdcd;
}

.images {
  display: flex;
  flex-wrap: wrap;
}



.mixed {
  width: 500px;
  color: #cdcdcd;
  margin-left: 10px;
}

.new-modal {
  display: none;
  position: fixed;
  z-index: 2;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.new-modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.new-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.new-close:hover,
.new-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.carousel-column,
.images-column {
  flex: 1;
  box-sizing: border-box;
}

.details-headings {
margin: 0;
transition: all 1s;
color: #cdcdcd;
font-size: 25px;
margin: 0px 0px 10px;


}

.minitext {
  margin-left: 0;
}

.tiny-box{
  background-color: #191919;
  height: 100px; 
  margin-right: 10px;
  margin-left: 0px;
  margin-top: 0;
  margin-bottom: 10px;
  padding: 19px;
  border-radius: 20px;
  width: 100px;
}

.medium-box{
  background-color: #191919;
  height: 100px; 
  margin-right: 10px;
  margin-top: 10px;
  margin-left: 0px;
  padding: 16px;
  border-radius: 20px;
  width: 250px;
}

.loans-container {
  background-color: #191919;
  color: #cdcdcd;
  padding: 20px;
  margin-top: 20px;
  height: auto;
  margin-bottom: 20px;
  width: calc(44% - 20px);
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  display: flex; /* Use flexbox */
  flex-direction: column; /* Arrange children vertically */
  justify-content: flex-end; /* Align children to the bottom */

}

.loans-container:hover {
  background-color: #222222;
}


.login-container:nth-child(odd) {
  margin-right: 20px;
}

.login-container:nth-child(even) {
  margin-left: 20px;
}

/* Media query for smaller screens */
@media screen and (max-width: 1200px) {
  .login-container {
      width: 375px;
      height: 400px;
      margin-right: 20px;
  }
  .login-container:nth-child(odd),
  .login-container:nth-child(even) {
      margin: 20px 10px;
  }
}

.loan-details {
  display: flex;
  justify-content: space-between; /* Spread content across the container */
  width: 100%; /* Ensure the content fills the width of the column */

}

.details{
  justify-content: left;
  margin: 0;
  margin-left: 0;
  text-align: left;
}

.buttons-container{
  display: flex;
  flex: 1;
  margin-top: 0;
  margin-bottom: 20px;
}


