
.dash-hero {
  padding: 4vh 1rem 5px 1rem;
}

.dash-nav {
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 10px;
  width: 100%;
  padding-bottom: 20px;
}
.dash-nav ul {
  display: flex;
  list-style: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0;
  white-space: nowrap;
}

.dash-nav li a {
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 0.85em;
  padding: 0 1.2em 0.8em 1.2em;
  cursor: pointer;
  transition: 0.3s;
}

.dash-nav a:hover {
  color: #fff;
  border-bottom: 2px solid var(--primary-color);
  transition: 0.2s;
}

.dash-nav a.active {
  border-bottom: 2px solid var(--primary-color);
}

.dash-user-img {
  display: flex;
  justify-content: center;
  margin-left: 1em;
  position: relative;
}

.dash-user {
  display: flex;
  font-size: 1rem;
  grid-gap: 1.5em;
  align-items: center;
	width: 100%;
  margin-bottom: 2em;
}

.dash-user-img {
  font-size: 0.7rem;
  font-size: clamp(0.7rem, 0.6399999999999999rem + 0.30000000000000004vw, 1rem);
  width: 7.2em;
  height: 7.2em;
}

.dash-user-img .user-img {
  border-radius: 50%;
  position: relative;
  z-index: 1;
	max-width: 200px;
}

.dash-user-img:after {
  content: "";
  width: 10.7em;
  height: 5.35em;
  background-color: #4caf50;
  clip-path: circle(50% at 50% 0%);

  overflow: hidden;
  display: block;
  position: absolute;
  z-index: 0;
  bottom: -1.8em;
}

.dash-user-content {
  font-size: 1rem;
}

.user-title h1 {
  font-size: 2.2rem;
  font-size: clamp(2.2rem, 2.16rem + 0.19999999999999973vw, 2.4rem);
  font-family: var(--font-heading);
  color: #fff;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.6;
}

.user-title span {
  color: var(--primary-color);
}

.user-name {
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
}

.dashboard {
  padding: 20px;
}

.dash-container {
  display: grid;
  grid-gap: 20px;
}

.dash-section {
  background: #f7f7f7;
  font-size: 0.9rem;
  padding: 1.5em;
  border-radius: 5px;
}

.dash-section.dash-profile {
  
  height: fit-content;
}

.dash-title-profile {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #000;
  text-transform: uppercase;
}

.dash-title {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 0.8rem;
  color: #000;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
}

.dash-description {
  margin-top: 0.5em;
}
.dash-title:after {
  content: "";
  background-image: url(../../icons/triangle-down.svg);
  background-size: 0.65em;
  width: 0.65em;
  height: 0.65em;
  right: 0;
  display: inline-block;
  background-repeat: no-repeat;
  margin-left: 0.5em;
  margin-bottom: 0.1em;
}

.dash-profile-data {
  list-style: none;
  padding-left: 0;
}

.dash-profile-data li {
  font-size: 0.9rem;
  border: 1px solid var(--primary-color);
  padding: 0.75em 0.65em 0.75em 0.65em;
  position: relative;
  border-radius: 15px;
  color: #9e9e9e;
  background: #fff;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.dash-profile-data li:before {
  content: "";
  background-image: url(../../icons/check-arrow.svg);
  background-size: 1.2em;
  width: 1.2em;
  height: 1.2em;
  display: inline-flex;
  margin-right: 0.8em;

  background-repeat: no-repeat;
  opacity: 0.3;
}

.dash-profile-data li:after {
  content: "";
  background-image: url(../../icons/circle-arrow-right.svg);
  background-size: 1.4em;
  width: 1.4em;
  height: 1.4em;
  display: inline-flex;
  position: absolute;
  right: 0.6em;
  background-repeat: no-repeat;
  filter: var(--color-svg-primary);
  opacity: 1;
}

.dash-profile-data li.data-check:before {
  filter: var(--color-svg-primary);
  opacity: 1;
}

.dash-profile-data li.data-check:after {
  filter: none;
  opacity: 0.3;
}

.dash-profile-data li.data-check {
  text-decoration: line-through;
  border: 1px solid var(--color-gray-3);
  background: transparent;
}

.dash-broker-box {
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--color-gray-3);
  font-size: 0.9rem;
  margin-top: 15px;
}

.dash-broker-box.add-broker .broker-profile {
  justify-content: center;
}

.dash-broker-wrap {
  position: relative;
  padding: 30px 15px 20px 15px;
  font-size: 0.9rem;
}
.dash-broker-wrap  .switch-wrap .switch-text{
   display: none;
}
.dash-broker-wrap .broker-profile {
  display: flex;
  grid-gap: 10px;
  align-items: center;
}

.broker-img-wrap {
  font-size: 0.7rem;
  font-size: clamp(0.7rem, 0.6599999999999999rem + 0.2000000000000001vw, 0.9rem);
  width: 7em;
  background: var(--color-gray-1);
  padding: 0.35em;
  border-radius: 50%;

}

.dash-broker-wrap .broker-img {
  width: 100%;
  border-radius: 50%;
  display: block;
}

.dash-broker-box.add-broker .broker-img-wrap {
  background: #d6f5ff;
  padding: 0.5em;
  border-radius: 50%;
}

.broker-content {
  color: #000;
}

 .broker-title {
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-gray-3);
  margin-right: 1em;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  grid-gap: 0.2em;
}



.broker-img-plus {
  font-size: 1rem;
  width: 1.6em;
  height: 1.6em;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 15px;
  top: 15px;
}
.broker-img-remove {
  font-size: 1rem;
  width: 1.6em;
  height: 1.6em;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right:15px;
  top: 44px;
  cursor: pointer;
}

.broker-description {
  font-size: 0.95rem;
  margin-top: 0.5em;
  line-height: 1.35;
  display: flex;
  align-items: center;
  grid-gap: 0.2em;
  font-weight: bold;
}


.broker-title  .broker-icon,.broker-description .broker-icon  {
  height: 1.25em;
}

.broker-description .broker-icon {
   filter: var(--color-svg-primary);

  }

  
.broker-img-remove img {
  width: 0.85em; filter: invert(1);
}

.broker-img-plus img {
  width: 0.85em; 
}

/*Progress Bar*/

.progress-container {
  width: 100%;
  background-color: #ece8e8;  
  border-radius: 25px;  
  overflow: hidden;      
  border: 1px solid #e3e2e2;
}

.progress-bar {
  height: 6px;  
  background-color: var(--secondary-color); 
  text-align: center; 
  line-height: 6px;  
  color: white;  
  border-radius: 25px;  
  flex-grow: 1;
  width: 0; /* Comienza en 0% */
  transition: width 1s ease; /* Transici��n para el efecto */
}

.dash-profile .progress-bar {
  background-color: var(--primary-color); 
  
}



/*Dash Payments*/
.plus-btn  
{ 
 background: #000;
 border-radius: 50%;
 font-size: 1rem;
 height: 1.35em;
 width: 1.35em;

 margin-top: 1em;
 display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

 margin: 10px 10px 10px auto;
}
.plus-btn img
{ 
    height: 0.9em; 
    width: auto;
    filter: invert(1);
}

/*Edit User - Popup*/

.edit-user-popup {
  margin: 0 1rem;
  width: 100%;
  padding: 2.5em 2em;
 
  box-shadow: 0 0 4em rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;

  grid-gap: 1em;
  overflow-y: auto;
  max-height: 95%;
  max-width: 750px;

}
.edit-user-popup form#upload-profile-picture{
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-gap: 1em;
  }

.close-popup {
  position: absolute;
  top: 1em;
  right: 1em;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
}

.close-popup img {
  height: 1.25em;
}

.open-popup-btn {
  padding: 10px 20px;
  background-color: #007bff; 
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.open-popup-btn:hover {
  background-color: #0056b3;  
}

input[type=text], input[type=url], input[type=password], input[type=email], input[type=textarea], input[type=tel], textarea {
  width: 100%;
}

input[type=file] {
  border: 1px solid var(--color-gray-3);
  max-width: 260px;
  width: 100%;
  padding: 0.5em 0.5em 0.5em 0.5em;
  background: #fff;
  border-radius: 10px ;  
  font-size: 0.9rem;
 
}


input[type=file]::file-selector-button {
  margin-right: 10px;
  border: none;
  background: #000;;
  padding: 0.5em 0.9em;
  border-radius: 10px;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;

}

input[type=file]::file-selector-button:hover {
  background:  var(--primary-color);
  color: #000; 
}


.user-avatar{
  border-radius: 50%;
  height: 7em;
  width: 7em;
  margin: 0 auto;
}


/*Historial de Pagos*/
#payment_table{
 width: 100%; 
}
 

.popup-payment table{
  font-size: 1rem;
  border-collapse: collapse; 
}
 
.popup-payment  table  tr td{
  border: 1px solid #ccc; 
  padding: 0.5em 0.5em; 
  text-align: center;
}

.popup-payment  table  tr th{
  border: 1px solid #ccc; 
  padding: 0.7em 0.5em; 
}

 /*Dash*/
 .dash-payments  table thead{
 display: none;
}
 
.dash-payments  table{
  font-size: 0.95rem;
}
 
.dash-payments  table  tr td{
  border-bottom: 1px solid #ccc; 
  padding: 0.5em 0.5em; 
}

 

@media screen and (min-width: 699px) {
  .dash-nav ul {
    justify-content: flex-end;
  }
}

@media screen and (min-width: 999px) {
  .dashboard {
    margin-top: -80px;
  }

  .dash-nav li a {
    padding: 0 2em 0.8em 2em;
  }

  .dash-hero {
    padding: 4vh 1rem 4vh 1rem;
  }

  .dash-section.dash-profile {
    margin: 50px 0;
    margin-top: 80px;
  }
  .dash-container {
    grid-template-columns: 0.8fr 1fr 1fr;
  }

  .dash-wrap {
    display: flex;
    justify-content: space-between;
	  align-items: center;
  }

 

}
