main {display: flex; justify-content:center; text-align: left; padding:20px;}

.content-wrapper {
    display: flex;
    flex-direction: column;
    /*align-items: center; */            
    width: 700px;
    padding: 20px;
    gap: 0px; 
    background-color: #f7f7f7; /* Fondo de color suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */        
    border: 0px dashed red;
}

/* contenedor padre mi-cuenta */

.contenedor-flex {
    display: flex;
    gap: 40px; /* Espacio entre los divs */
    width: 100%;
    /*height: calc(100vh - 200px);*/
}

/* opciones menú mi-cuenta */

.div-1 {
    width: 20%;
    padding: 10px 0;
    border: 0px solid #f1f1f1;
    background-color: #fff;
    /*height: calc(100vh - 200px);*/
}

.avatar-info {
    display: flex;
    align-items: center; /* Centra verticalmente */
    gap: 10px; /* Espacio entre el avatar y el texto */
}

.avatar-container {
    position: relative; /* Para posicionar el botón de eliminar */
    display: inline-block;
}

.avatar {
    width: 70px;
    height: 70px;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background-color: #ccc;
    overflow: hidden;
    position: relative; /* Necesario para el botón de eliminar */
}

.avatar span {
    font-weight: 400;
    line-height: 24px;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}   

/*
.remove-avatar {
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid var(--primary);
    z-index: 1000;
}

.remove-avatar img {
    width: 8px;
    height: 8px;
}
*/

.info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra los textos verticalmente */
}

.alias {
    font-weight: 500;
    font-size: 16px;
}

.email {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 300;
}

.editar-foto-perfil {
    display: block;
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    text-decoration: none;
    color: var(--gray-2);
    cursor: pointer;
}

.publish-btn {
    display: inline-flex; /* Se ajusta al contenido */
    align-items: center; /* Centrar verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    gap: 10px; /* Espacio entre la imagen y el texto */
    background-color: var(--primary); /* Color del botón */
    color: white; /* Color del texto */
    border-radius: 25px; /* Bordes redondeados */
    padding: 5px 10px; /* Espaciado interno */
    cursor: pointer; /* Cursor de botón */
    transition: background 0.3s ease; /* Efecto suave en hover */
    width: auto; /* Ajuste automático al contenido */
    text-decoration: none !important;
}

.publish-btn:hover {
    background-color: var(--primary-hover); /* Cambio de color en hover */
}

.publish-btn img {
    width: 20px;
    height: 20px;
}

.publish-txt {
    font-size: 14px !important;
    font-weight: 300 !important;
    text-decoration: none !important;
}

.sep {
    height: 2px;
    width: 100%;
    background-color: var(--gray-4);
    margin: 25px 0 40px 0; /* Ajusta según necesites */
}

.options {
    display: flex;
    flex-direction: column; /* Apilar elementos verticalmente */
    gap: 5px; /* Espacio entre opciones */
}

.option {
    display: flex;
    align-items: center; /* Centrar verticalmente */
    gap: 15px; /* Espacio entre la imagen y el texto */
    cursor: pointer; /* Cursor de botón */
    padding: 8px 12px; /* Espaciado interno */
    border-radius: 10px; /* Bordes redondeados */
    transition: background 0.3s ease; /* Efecto suave al pasar el cursor */
    text-decoration: none; /* Quitar subrayado del enlace */
    color: inherit; /* Mantener color de texto */
}

.option:hover {
    background-color: #f1f1f1; /* Color al hacer hover */
}

.option.bg-secondary {
    background-color: var(--secondary); /* Color al hacer hover */
}

.option.bg-secondary:hover {
    background-color: var(--secondary); /* Color al hacer hover */
}

.option img {
    width: 20px; /* Ajusta el tamaño de la imagen */
    height: 20px;
    object-fit: contain; /* Evita espacios en blanco */
}

.publish-txt {
    font-size: 16px;
    color: var(--black); /* Color del texto */
}


.red {
    color: var(--primary) !important;
}

.black {
    color: var(--black) !important;
}

.publish-txt.red {
    color: var(--primary) !important;
}

.publish-txt.white {
    color: var(--white) !important;
}

.publish-txt.italic {
    font-style: italic;
}

/* contenedor anuncios / usuario con mensajes */

.div-2 {
    padding: 20px;
    width: 700px;
    /*width: 40%;*/
    border-radius: 10px;
    background-color: #f7f7f7; /* Fondo de color suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */  
    /*overflow-y: auto;
    height: calc(100vh - 200px);*/
}

.div-3 {
    padding: 20px;
    width: 40%;
    border-radius: 10px;
    background-color: #f7f7f7; /* Fondo de color suave */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */  
    /*overflow-y: auto;
    height: calc(100vh - 200px);*/
}

.titulo {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    padding-top: 50px;
}

.titulo-ajuste {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    padding-top: 20px;    
}


/* Row styling to ensure proper stacking */
.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}


/* Half width columns */
.column-half {
    width: 50%;
    padding: 10px;
    border: 0px solid blue; /* Border color for 50% width divs */
}

.input-group {
    display: flex;
    flex-direction: column; /* Coloca las etiquetas y el input en columnas */    
    margin-bottom: 15px; /* Espacio entre grupos de inputs */
}

.label-container {
    display: flex;
    justify-content: space-between; /* Espacio entre las etiquetas */
    align-items: center; /* Alinea verticalmente las etiquetas */
    margin-bottom: 3px;
}

.label-left {
    font-size: var(--fs-12);
    color: var(--gray-3);
    margin-right: auto; /* Asegura que la etiqueta de la izquierda se alinee a la izquierda */
}

.label-left span {
    font-size: var(--fs-12);
    color: var(--gray-2);  
    margin-right: 50px;
}

.error-label-right {
    margin-left: auto; /* Asegura que la etiqueta de la derecha se alinee a la derecha */
    color: var(--primary);
    font-size: var(--fs-12);
}

.input-group:last-child {
    margin-bottom: 0px; /* Espacio entre grupos de inputs */
}

.input-group label {
    display: block; /* Hace que el label ocupe toda la línea */
    margin-bottom: 0px; /* Espacio entre el label y el input */
    text-align: left;
}

.input-group input {
    width: 100%; /* Asegura que el input ocupe el 100% del ancho del contenedor */
    padding: 8px; /* Añade padding para mayor comodidad */
    box-sizing: border-box; /* Incluye padding en el ancho total */
}

/* Full width columns */
.column-full {
    width: 100%;
    padding: 0;
    border: 0px solid red; /* Border color for 100% width divs */
}

.column-full u{
    display: block;
    border: 0px solid red;
    padding: 10px 0;
}

.checkbox-container {
    display: flex; /* Cambiado a flex para alinear horizontalmente */
    align-items: center; /* Alinea verticalmente en el centro */
    gap: 10px; /* Espacio de 5px entre checkbox y label */
}

.input-file-group {
    display: flex;
    align-items: center; /* Alinear verticalmente */
    margin-top: 20px; /* Separación entre inputs */
    margin-bottom: 5px; /* Separación entre inputs */
}

.input-file-group input[type="file"] {
    display: none; /* Ocultar el input de tipo file */
}

.custom-file-upload {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: var(--fs-14);
    background-color: var(--primary); /* Color de fondo */
    color: #fff; /* Color del texto */
    padding: 10px 15px; /* Espaciado del botón */
    border-radius: 4px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar el ratón */
}


.remove-avatar {
    margin-left: 10px; 
    align-self: center; 
    font-size: var(--fs-12);
    text-decoration: underline;
    font-weight: 300;
    cursor: pointer;
}

.content-account-my-info input[type="text"],input[type="password"] {
    width: var(--w-100pct);
    padding: var(--p-7);
    font-size: var(--fs-16);
    font-weight: var(--fw-300);
    color: var(--gray-3);
    border: 1px solid var(--gray-4);
    border-radius: var(--br-4);
    transition: border 0.3s;    
}

.content-account-my-info input[type="text"]:hover, input[type="password"]:hover {
    border: 1px solid var(--blue-asnadi);
}

/* Modificación para el focus */
.content-account-my-info input[type="text"]:focus, input[type="password"]:focus {
    border: 1px solid var(--blue-asnadi);
    outline: none;
}

.input-error {
    border: 1px solid #c00000 !important; /* Borde rojo para error */
}

button {
    display: block;
    padding: 10px 20px;
    color: var(--black);
    font-weight: 300;
    background-color: var(--white);
    border: 1px solid var(--primary);
    font-size: 14px;
    /*
    margin-right: auto; 
    padding: 10px 20px;
    background-color: var(--buttons);
    color: #fff;
    font-weight: 300;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    font-size: 16px;
    */
    transition: background-color 0.3s ease;
}

button:hover {
    color: var(--white);
    background-color: var(--primary);
    transition: background-color 0.3s ease;
}

.content-account-my-info button:hover {
    background-color: var(--buttons);
}

.column-full {
    text-align: left;
}

.content-account-my-info .disclaimer {
    font-size: 13px;
    line-height: 20px;
}

.content-account-my-info .disclaimer span {
    font-weight: 600;
}

.content-account-my-info .disclaimer a {
    color: var(--links);
}

/* Estilos personalizados para el checkbox */
.newsletter input[type="checkbox"] {
    appearance: none; /* Elimina el estilo por defecto del checkbox */
    width: 16px;
    height: 16px;
    border: 1px solid var(--primary); /* Borde azul asnadi */
    border-radius: 2px; /* Bordes redondeados */
    background-color: #fff; /* Fondo blanco */
    cursor: pointer; /* Hace que el cursor sea tipo "mano" */
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Check al marcar el checkbox */
.newsletter input[type="checkbox"]:checked {
    background-color: var(--primary); /* Fondo azul asnadi al marcar */
    border-color: var(--primary); /* Mantiene el borde azul */
}

/* Crear el check en el checkbox */
.newsletter input[type="checkbox"]:checked::after {
    content: '✓'; /* El símbolo de check */
    color: #000; /* Check de color blanco */
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Estilos adicionales para el label si es necesario */
.newsletter label {
    margin-top: 0px;
    font-size: 14px;
    cursor: pointer;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: var(--m-10);
    top: var(--m-5);
    cursor: pointer;
    font-size: var(--fs-18); 
    color: var(--blue-asnadi); 
}

.toggle-password img {
    width: 20px;
}

#file-name {
    font-size: 12px;
}

#map-container {
    position: relative;
}

#map {
    width: 100%;
    height: 330px;
    margin-bottom: 20px;
}

#map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px; /* Ajusta el tamaño según sea necesario */
    height: 20px;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none; /* Para que no interfiera con el mapa */
    transition: opacity 0.2s ease;
}

#map-marker.hidden {
    opacity: 0;
}

.save-place {
    margin-top: 20px; 
    padding: 10px 20px; 
    font-size: 16px;
}

.pac-container {
    font-size: 14px !important;
    font-weight: 500;
    /*border: 1px solid #f9f9f9 !important;*/
    border-radius: 4px;
    z-index: 9999 !important; /* Asegura que se muestre sobre otros elementos */
}

.pac-item {
    font-size: 14px !important;
    font-weight: 500;
    /*background-color: #f9f9f9;*/
    padding: 10px;
    /*border-bottom: 1px solid #ddd;*/
    cursor: pointer;
}

.pac-item:hover {
    font-size: 14px !important;
    font-weight: 500;
    /*background-color: #e6e6e6;*/
}

.pac-item .pac-item-query {
    font-size: 14px !important;
    font-weight: 500;
    color: #333;
}

.pac-item .pac-matched {
    font-weight: 900;
    font-size: 14px !important;
    color: #333;
}

.pac-item .pac-icon {
    display: none !important;
}

/* Estructura de la fila que contiene nombre + switch */
.notification-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 0 0 0;
}

.notification-separator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 1px;
    margin: 35px 0 25px 0;
    background-color: #ddd;
}

.notification-group {
    width: 100%;
    font-size: 14px;
    font-weight: 300;
    text-decoration: underline;
    border:0px solid black;
}

.second {
    margin-top: 20px;
}


/* Nombre (80%) */
.notification-name {
    width: 100%;
    font-size: 14px;
    font-weight: 300;
    border:0px solid black;
}

/* Switch (20%) */
.notification-switch {
    width: 20%;
    text-align: right;
    border: 0px solid red;
    position: relative; /* Posiciona el switch de forma relativa */
    top: 11px; /* Ajusta la posición hacia abajo */
}

/* Switch toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(14px);
}

.save-notifications {
    margin-top: 20px;
    /*margin-bottom: 50px;*/
}

.sobre-mis-datos {
    margin-top: 15px;    
    font-size: 14px;
    font-weight: 300;
}

.save-button {
    width: 150px;
}

.download-data {
    display: inline-block;
    width: 150px;
    margin-top: 10px;
    margin-bottom: 40px;
    cursor: pointer;
}

.download-msg {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 300;  
    color: var(--primary);
}

.eliminar-cuenta {
    margin-top: 15px;    
    font-size: 14px;
    font-weight: 300;
    cursor: pointer;
}

.remove-account {
    width: 150px;
    margin-top: 10px;
}

/* Overlay */
.modal-overlay {
    display: flex; /* Mantener display como flex */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden; /* Ocultar la modal inicialmente */
    transition: opacity 1s ease, visibility 0s linear 1s; /* 1s para opacity y delay para visibility */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 300px;
}

.modal-buttons {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.modal-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.accept {
    background-color: var(--green); 
    color: #fff;
}

.cancel {
    background-color: var(--primary);
    color: #fff;
}

/* Show modal */
.modal-overlay.show {
    opacity: 1;
    visibility: visible; /* Hacer visible la modal */
    transition: opacity 1s ease, visibility 0s linear 0s; /* Sin delay para visibility */
}

/* Overlay */
.modal-account-overlay {
    display: flex; /* Mantener display como flex */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden; /* Ocultar la modal inicialmente */
    transition: opacity 1s ease, visibility 0s linear 1s; /* 1s para opacity y delay para visibility */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-account-overlay.show {
    opacity: 1;
    visibility: visible; /* Hacer visible la modal */
    transition: opacity 1s ease, visibility 0s linear 0s; /* Sin delay para visibility */
}

[id^="idx-"] {
    scroll-margin-top: 60px;
}

.contenedor-indice {
    border-radius: 10px;
    padding: 0px;
    margin: 20px 0;
}

.contenedor-indice a {
    display: block;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    padding: 8px;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s ease;
}

.contenedor-indice a:last-child {
    border-bottom: none; /* quitamos borde del último */
}

.contenedor-indice a:hover {
    color: var(--primary); /* estilo típico WP */
    background-color: var(--white);
}

.bienvenida-ayuda {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin: 15px 0 15px;    
}

.titulo-ayuda {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin: 15px 0 15px;    
}

.pregunta, .respuesta {
    display: flex;
    align-items: center; /* alinea verticalmente imagen y texto */
    
    font-size: 14px;
}

.pregunta {
    color: #333;
    margin: 10px 0;
} 

.respuesta {
    color: #666;
    font-weight: 300;
    margin: 10px 10px 10px 20px;
} 

.respuesta b{
    color: #333;
} 

.respuesta a {
    color: #666;
    text-decoration: underline;
}

.pregunta-img, .respuesta-img {
    margin-right: 10px;
    flex-shrink: 0;
}

.pregunta-img img, .respuesta-img img {
    width: 12px;
    height: 12px;
}

.mb40 {
    margin-bottom: 40px;
}

.sm {
    font-size: 13px !important;
}

#cookie-popup {
    /*display: none;*/
    background: transparent;
}

#cookie-popup.ready { 
    /*display: block; */
}

#cookie-popup h2 {
    margin-top: 0;
    font-weight: 500;
    font-size: 16px;
    color: var(--black);
}

#cookie-popup p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 300;
    color: var(--black);
}

#cookie-popup p a {
    text-decoration: underline !important;
    color: var(--primary);
}

#cookie-popup p a:hover {
    text-decoration: underline !important;
    color: var(--primary);
}

#cookie-popup label {
    display: block;
    margin: 8px 0;
    font-size: 15px;
}

.cookie-group {
    margin-top: 15px;
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 400;
}

.cookie-desc {
    font-size: 12px !important;
    font-weight: 300;
    color: var(--black);
    margin-top: 5px;
    margin-bottom: 10px;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    left: -9999px; 
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: background-color 0.3s;
    border-radius: 34px;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: transform 0.3s;
    border-radius: 50%;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:hover {
    background-color: var(--primary-hover);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider:hover {
    background-color: #bbb;
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


.botones {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.botones button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.botones button[type="submit"] {
    background-color: var(--white);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.botones button[type="submit"]:hover {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: var(--white);
}

.botones button[type="button"] {
    background-color: var(--primary);
    color: white;
}

.botones button[type="button"]:hover {
    background-color: var(--primary);
    color: white;
}












@media (max-width: 1440px) {
    

}

@media (max-width: 1280px) {
    
    .div-1 {
        width: calc(30% - 10px);
    }
    
    .div-2 {
        width: calc(40% + 10px);
    }
    
    .div-3 {
        width: 30%;
    }
    

}

@media (max-width: 1024px) {
    
    .div-1 {
        display: none;
    }
    
    .div-2 {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0px;
        border-radius: 0px;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0); 
        background: transparent;
    }
    
    .div-3 {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0px;
    }
    

}

@media (max-width: 768px) {
    main {
        flex-direction:column;
        padding:0 20px;
        margin-bottom: 100px;
    }
    
    .content-wrapper {
        width: 100%;        
    }    
    
    .contenedor-flex {
        flex-direction: column;
        width: 100%;
        height: auto;
    }
        
    .div-2 {
        display: block;
        width: 100%;
        height: auto;
        padding: 0px;
        border-radius: 0px;
        box-shadow: 0 0px 0px rgba(0, 0, 0, 0); 
        background: transparent;
        border: 0px solid green;
    }
    
    .div-3 {
        display: block;
        width: 100%;
        height: auto;
        padding: 0px;
        border: 0px solid blue;
    }

}

@media (max-width: 620px) {
    
}