.mi-dashboard {
  display: flex;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  gap: 20px;
}

.mi-dashboard .perfil {
  text-align: center;
  width: 100%;
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.mi-dashboard .perfil img {
  display: block;
  margin: 0 auto 15px;
  border-radius: 50%;
}

.mi-dashboard .perfil h2 {
  margin-top: 15px;
  font-size: 20px;
  color: #333;
}

.mi-dashboard .perfil p {
  font-size: 14px;
  color: #555;
}

.mi-dashboard .contenido {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.mi-dashboard .contenido p {
  font-size: 16px;
  color: #222;
  line-height: 1.5;
}

.woocommerce-MyAccount-navigation ul {
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  background: #e6e6f0;
  color: #333;
  text-decoration: none;
  padding: 12px 15px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: #53227e;
  color: #fff;
}

form input[type="file"] {
  margin: 20px 0;
}

form button {
  background: #53227e;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

form button:hover {
  background: #6b34a4;
}

#left-area ul, .comment-content ul, .entry-content ul {
  list-style: none!important;
  padding: 0;
  margin: 0;
}

/* Estilo del botón de edición */
.dashboard-bio-button {
  display: inline-block;
  background: #53227e;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.dashboard-bio-button:hover {
  background: #6b34a4;
}

/* POPUP MODAL */
.mi-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.mi-popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.mi-popup-content h3 {
  margin-top: 0;
}

.mi-popup-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mi-popup-content input[type="file"],
.mi-popup-content textarea {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
}

.mi-popup-content button {
  background: #53227e;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  width: 100px;
  align-self: flex-end;
}

.mi-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message{
  background: #53227e!important;
  border-radius: 10px;
}

.woocommerce-account .woocommerce-MyAccount-content{
  width: 65%!important;
  padding: 0px 20px; 
}

.woocommerce .col2-set, .woocommerce-page .col2-set { 
  display: grid!important; 
  width: 100%;
}

a.edit{ 
  color: #53227e!important;
}

/* Formulario Woo */
input[type="file"] {
  display: block;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  padding: 10px;
  border: 2px dashed #bbb;
  background-color: #fafafa;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: border 0.3s ease, background-color 0.3s ease;
}

input[type="file"]:hover {
  border-color: #c1a264;
  background-color: #fdf7e8;
}

/* Facturación Woo */
.woocommerce-account .addresses .title .edit {
  float: none !important;
  display: inline-block;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

/*
.woocommerce-page button.button{
  background: #53227e!important;
  color: #fff!important;
  border-radius: 10px;
}*/