
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@400;500;600&family=Poppins:wght@600;700&display=swap');

/* MARK: ALERTS */
.alert {

    width: 96%; /* Ancho completo del contenedor */
    max-width: 460px; /* Limite de ancho */
    position: absolute;
    top: 180px; /* Justo debajo del header */
    left: 50%;
    transform: translateX(-50%); /* Centra la alerta horizontalmente */
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    text-align: center;
    color: #000000; /* Negro */
    background-color: rgba(0, 0, 0, 0.1); /* Negro semi-transparente */

}

#infoAlert {
    background-color: rgb(255, 204, 112,  1); /* Amarillo con transparencia */
    color: #000000; /* Negro */
}

#errorAlert {
    background-color:rgb(255, 107, 107, 1); /* Naranja con transparencia */
    color: #FFFFFF; /* Negro */
}

#warningAlert {
    background-color: rgb(65, 88, 208, 1); /* Azul con transparencia */
    color: #FFFFFF; /* Negro */
}

/* BASE ---------------------------------------------------------------------------------------------- */
/* MARK: DEFAULT CARD */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    
}

body {

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #cc2faa, #7873f5);
    background-size: 200% 200%;

}

.container {

    width: 100%;
    max-width: 460px;

}

.card {

    background: white;
    /*border-radius: 20px;*/
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    height: 840px;
    max-height: 840px;

    position: relative;
}


/* BASE FINAL --------------------------------------------------------------------- */

/* MARK: ERRORS */
body.errors #header {
    justify-content: center;
}

body.errors #header p {
    margin-top: 200px;
    font-size: 2.75rem;
}

body.errors main#content {
    margin-top: 200px;
    text-align: center;
    padding: 0px 50px;
}

body.errors main#content h1 {
    margin-bottom: 25px;
    color: #ff6b6b;
}

body.errors main#content h2 {

    margin-bottom: 55px;
}

body.errors main#content a {

    text-decoration: none; 
    padding: 15px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.25rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}



/* MARK: LOGIN */
/* LOGIN Y REGISTER*/

.body-register form input#latitud,
.body-register form input#longitud{
    display: block;
}

.body-register #map {
    height: 23%;
    width: 360px;
    margin: 10 auto 30px;
}

.body_forgot_password div.error-message p,
.body-register  div#error-message p{
    text-align: center;
    color: red;
}



.body-login,
.body-register,
.body_forgot_password {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff6b6b, #cc2faa, #4158D0);
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
    padding: 20px;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.body-register #register-card
{
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
 
}

.body-register div#content-register  {
    height: 500px;
    max-height: 500px;
    overflow: auto;
}
.body_forgot_password .card-header{
    padding-top: 70px;
    padding-bottom: 30px;
}

.body-login #login-card,
.body_forgot_password #forgot-card  {
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.body-login .card-header,
.body-register .card-header {
    margin-bottom: 2rem;
}

.body-login .logo-login,
.body-register .logo-register,
.body_forgot_password .logo-forgot {
    text-align: center;
    margin-bottom: 1rem;
    color: #FF6B6B;
    font-size: 2.5rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    font-family: 'Poppins', sans-serif;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.body-login .input-group {
    margin-bottom: 1rem;
}

.body-login .input-group.error input {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.body-login .input-group.error label {
    color: #e53e3e;
}

.body-login label,
.body-register label,
.body_forgot_password label
 {
    display: block;
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
}

.body-login input,
.body-register input ,
.body_forgot_password input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.body-login input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.body-login .password-input {
    position: relative;
}

.body-login .primary-button,
.body-register .primary-button,
.body_forgot_password .primary-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.body-login .primary-button:hover,
.body-register .primary-button:hover,
.body_forgot_password .primary-button:hover {
    opacity: 0.9;
}

.body-login .primary-button:disabled,
.body-register .primary-button:disabled,
.body_forgot_password .primary-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.body-login .links-group,
.body-register .links-group,
.body_forgot_password .links-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.body-login .secondary-link,
.body-register .secondary-link,
.body_forgot_password .secondary-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.2s;
}

.body-login .secondary-link:hover,
.body-register .secondary-link:hover,
.body_forgot_password .secondary-link:hover {
    color: #ff6b6b;
}

.body-login .error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
    min-height: 1.25rem;
}

.body-login .footer-text,
.body-register .footer-text
.body_forgot_password .footer-text {
    text-align: center;
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    font-family: 'Inter', sans-serif;
}
.body_forgot_password .informative_header {
    text-align: center;
    color: #718096;
    margin-top: 12px;
    font-family: 'Inter', sans-serif;

}

/* MARK: INSIDE APP */


/* MARK: HEADER */

header {

    height: 84px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
}

header p {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.logo {
    padding: 24px;
    color: #FF6B6B;
    font-size: 1.5rem;
    font-weight: bold;
    animation: pulse 2s infinite;
    font-family: 'Poppins', sans-serif;

}

/* IN MESSAGES */
.find {
   
    padding-right: 1.1rem;

}

/* FOR BLUR USED IN PROFILE WHEN CLICKING SUBMENU*/
#grey-background {

    z-index: 10;

    display: none;
    position: absolute;

    /*border-radius: 20px;*/
    background-color: rgba(80, 80, 80, 0.6);
    width: 460px;
    height: 840px;

}


/* SUBMENU IN PROFILE */
#submenu-button {
   
    /* Remove styles */
    background: none;
	border: none;
	font: inherit;

    z-index: 12;

    text-align: center;

    width: 100px;
    height: 84px;
    font-size: 1.2rem;
    background-color: white;

    /*border-top-right-radius: 20px;*/

}

/* Submenu styling */

#submenu {

    position: absolute;
    z-index: 11;

    height: auto;
    width: 300px;
    top: 84px;
    left: 160px;

    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: white;
}

#submenu li {
    padding: 20px 0px;
}

#submenu li:hover {
    background-color: #e0e0e0;
}

#submenu a {
    text-decoration: none;
    font-size: 1rem;
    color: black;
    font-weight: bold;
}


/* END OF HEADER */

/* MARK: MAIN */

main {

height: 688px;
position: relative;

}

/* MARK: DYNAMIC CONTENT */

/* MARK: DISCOVER */

/* HEADER BUTTON CONFIG */

/* FOR BLUR USED IN PROFILE WHEN CLICKING SUBMENU*/
body.discover #grey-background {

    z-index: 10;

    display: none;
    position: absolute;

    /*border-radius: 20px;*/
    background-color: rgba(80, 80, 80, 0.6);
    width: 460px;
    height: 840px;

}


/* SUBMENU IN PROFILE */
body.discover #submenu-button {
   
    /* Remove styles */
    background: none;
	border: none;
	font: inherit;

    z-index: 12;

    text-align: center;

    width: 100px;
    height: 84px;
    font-size: 1.2rem;
    background-color: white;

    /*border-top-right-radius: 20px;*/

}

/* Submenu styling */

body.discover #submenu {

    position: absolute;
    z-index: 11;

    height: auto;
    width: 380px;
    top: 120px;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */

    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: white;

    font-family: 'Inter', sans-serif;
    
}

body.discover #submenu div {

    padding:20px;
    text-align: center;
    word-wrap: break-word
}

body.discover #submenu div:first-child {
    border-bottom: 1px solid rgb(165, 165, 165);
}

body.discover #submenu div#error-field {
    padding: 0px 10px;
}

body.discover #submenu div#error-field p {
    padding:0;
    padding-top: 8px;
    color: #e53e3e;
    font-size: 0.875rem;
    text-align: center;
    font-weight: 100;
    font-family: 'Inter', sans-serif;
}



body.discover #submenu div.fields label {
    font-weight: bold;
    text-align: left;
}

body.discover #submenu div.fields input {
    text-align: center;
    width: 70px;
    margin-left: 5px;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
}

body.discover #submenu div.fields input:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}


body.discover #submenu div.send {
    text-align: center;
}

body.discover #submenu div.send input {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.discover #submenu div.send input.disabled {

    cursor: default;
    font-size: 1rem;
    background: #e0e0e0;
    color: #fff;
}

/* DISCOVER MAIN CONTENT*/

main.discover {
    padding: 0.2rem;
}

/* MARK: INTEGRATION */
/* Integrate in profile, or else where images with carrousell */
/* its parent content must be position: relative */

main.discover img {

    width: 100%;
    height: 92%;
    object-fit: cover;
    object-position: center;

}

main.discover #carrousel-container {

    position: absolute;
    top: 460px;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;

    backdrop-filter: blur(10px);
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";

    text-align: center;
    margin-top: 10px;
}

main.discover #carrousel-container span.dot {

    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;

}

main.discover #carrousel-container span.dot.active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: add shadow */
    background-color: white;
}


main.discover #info-container {

    position: absolute;
    top: 74%;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: white;

    font-size: 1.25rem;

    backdrop-filter: blur(10px);
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";
}

/* MARK: END INTEGRATION */

main.discover #buttons-container {

    position: absolute;
    top: 85%;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */
    display: flex;
    justify-content: center;
    gap: 40px;

}

main.discover div#buttons-container button {

    width: 90px; /* Adjust size as needed */
    height: 90px; /* Make sure width and height are equal */
    border-radius: 50%; /* Makes it a perfect circle */

    color: white;
    font-weight: bold;
    font-size: 1.25rem; /* Adjust font size */

    cursor: pointer; /* Pointer cursor on hover */
    display: flex; /* Center text inside */
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: add shadow */
    transition: background-color 0.3s ease; /* Optional: smooth hover effect */
}

main.discover div#buttons-container #no-button {
    border: 8px solid rgb(151, 151, 151); 
    background-color: rgb(165, 165, 165); /* Button color */
}

main.discover div#buttons-container #no-button:hover {
    background-color: rgb(172, 172, 172); /* Button color */
}

main.discover div#buttons-container #yes-button {
    border: 8px solid #b24a4a;
    background-color: #cc5555; /* Button color */
}

main.discover div#buttons-container #yes-button:hover {
    background-color: #ff6b6b; /* Button color */
}

#end-message {
    text-align: center;
    margin-top: 45%;
}

#option-box {

    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 2;

}

#option-box #buttons-box {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-direction: column;
}


#go-to-conversation {

    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

#continue-discovering {

    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background: #e0e0e0;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

#backdrop-div {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(8px);
    z-index: 1;
}

/* END OF DISCOVER */

/* MARK: PROFILE */
/*  START PROFILE EDITION*/

main.profile body#edit-profile-body {
   background-color: white;
   
}

/* estilos de los cuadrados */
main.profile div#content-header {
    display: flex;
    justify-content: center; /* Centra los h3 horizontalmente */
    gap: 10px; /* Espacio entre los cuadrados */
}

main.profile div#content-header h4 {
    margin: 0 5px 0;
    border: 1px solid black; /* Borde negro para cada h3 */
    padding: 10px; /* Espaciado interno estándar */
    text-align: center; /* Centrar texto dentro del h3 */
    transition: padding 0.3s ease; /* Transición suave para el cambio de espaciado */
    cursor: pointer; /* Cambia el cursor al pasar por encima */
}

main.profile div#content-header h4:hover {
    padding: 20px; /* Incrementa el espaciado interno al interactuar */
}
/* sin estilos de los cuadrados */


main.profile div#showErrors p{
    padding-top: 20px;
    text-align: center;
    color: red;
}

main.profile div#content-profile{
    height: 700px;
    max-height:700px;
    overflow:auto;
}

main.profile div#map {
    height: 23%;
    width: 360px;
    margin: 10 auto 30px;
    position: relative; 
    overflow: scroll;
}


main.profile form {
    display: flex; /* Activar el modelo de Flexbox */
    flex-direction: column; /* Alinear los elementos en columna */
    align-items: center; /* Centrar horizontalmente */
    justify-content: center; /* Centrar verticalmente */
    height: 500px; /* Asegurar que el formulario ocupe toda la altura del contenedor */ 
    width: 100%; /* Asegurar que el formulario ocupe todo el ancho del contenedor */
    margin: 0 auto 0; /* Asegurar el centrado automático en caso de ser necesario */
}

main.profile form label,
main.profile form input :not(#latitud):not(#longitud) {
    display: block;
    margin-bottom: 5px; /* Reduce el espacio entre los elementos */
    justify-content: center;
}

main.profile form label {
    margin-bottom: 3px; /* Espacio entre el label y el input */
    text-align: left; /* Alinea el texto a la izquierda */
    width: 80%; /* Asegura que el label ocupe todo el espacio del contenedor */
    max-width: 460px; /* Limita el ancho del label */
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
    color: #4a5568;
}

main.profile form input ,
main.profile form select{
    width: 80%; /* Asegura que el input ocupe todo el espacio del contenedor */
    max-width: 460px;
    margin-bottom: 5px; /* Espacio entre un input y el siguiente elemento */
}


/* evitar que aparezca en pagina */
main.profile form input#latitude,
main.profile form input#longitude {
    display: none;
}




/* div de los dos botones */
main.profile #butonsEditProfile {
    display:flex;
    padding: 0 45px;
    flex-direction: column;
    align-items: flex-start; /* Alinea los botones a la izquierda */
    gap: 10px; /* Espaciado entre los botones */
    width: 100%;
    align-items: flex-start; 
 }

 /* boton de guardar */
 main.profile #submitEditProfileForm {
    width: 100%;
    padding: 12px 75px; /* Ajusta el tamaño del botón */
    background-color: #4158D0; /* Azul */ 
    text-align: center;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    
}
/* boton de cambiar imagen */
 main.profile #linkChangeImagePerfil {
    text-decoration: none;  /* Elimina el subrayado */
    margin: 10 0 0 0;
    font-size: 0.875rem;
    font-family: 'Montserrat', sans-serif;
    color: #4a5568;
}


/* MARK: PROFILE TABS*/
.profile-tabs {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.profile-tablinks {
    border-top:none;
    border-left: none;
    border-right: none;
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    background-color: white;
    color:gray;
    border-bottom: 2px solid rgb(192, 192, 192);
}

.profile-tablinks.activeTab {
    font-weight: bold;
    background-color: white;
    color: #FF6B6B;
    border-bottom: 2px solid #FF6B6B;
}

#profileTabs-edit{
    overflow-y: scroll;
    max-height: 638px;
    border-bottom: none;

}

/* MARK: PROFILE TAB VEURE*/

#profileTabs-view{
    max-height: 638px;
    padding: 20px;
    border-bottom: none;

}

#profileTabs-view img#user-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

}

#profileTabs-view #carrousel-container {
    position: absolute;
    top: 420px;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;

    backdrop-filter: blur(10px);
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";

    text-align: center;
    margin-top: 10px;
}

#profileTabs-view #carrousel-container span.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;

}

#profileTabs-view #carrousel-container span.dot.active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: add shadow */
    background-color: white;
}


#profileTabs-view #info-container {
    position: absolute;
    top: 74%;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: white;

    font-size: 1.25rem;

    backdrop-filter: blur(10px);
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";
}

#delete-account {

    width: 380px;
    height: auto;

    position: absolute;
    top: 160px;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */

    z-index: 20;

    background-color: white;
    padding: 20px;
    
    text-align: center;

    font-family: 'Inter', sans-serif;
}

#delete-account p {
    margin: 15px 0;

}

#delete-account #delete-errors {
    padding:0;
    text-align: center;
}

#delete-account #delete-errors p {

    color: #e53e3e;
    font-size: 0.875rem;
    font-weight: 100;
    font-family: 'Inter', sans-serif;
}

#delete-account form input:first-child {
    text-align: center;
    padding: 10px 0px;
    font-size: 1.02rem;

}

#delete-account form input:first-child:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}


#delete-account #cancel {
    padding: 10px 20px;
    margin-right: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background: #e0e0e0;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#delete-account #confirm  {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



/*  END PROFILE EDITION*/

/* MARK: PHOTOS*/
main.photos {
    padding: 0px 24px;
} 

main.photos div div#photos-container {
    display: flex;
    flex-wrap: wrap;
    /*
    justify-content: space-evenly;
    align-content: space-between;
    */
    padding: 0px 32px;
    gap: 34px;
}

main.photos div > h2 {
    margin-bottom: 20px;
}

main.photos div#photos-container div {
    width: 156px;
    height: 156px;
    background-color: grey;
    /*margin-bottom: 32px;*/
    position: relative;
}

main.photos div#photos-container div.available {
    --b: 10px; /* the thickness */
    border: 48px solid grey; 
    background:
      conic-gradient(from 90deg at var(--b) var(--b),grey 90deg,#fff 0) 
      calc(100% + var(--b)/2) calc(100% + var(--b)/2)/
      calc(50%  + var(--b))   calc(50%  + var(--b));
    display: inline-block;
}

main.photos div#photos-container div.available input {
    opacity: 0.0; 
    position: absolute; 
    top: 0; 
    left: 0; 
    bottom: 0; 
    right: 0; 
    width: 100%; 
    height:100%; 
    display:none
}

/*
main div#photos-container div.disabled {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #f3f3f3;
    pointer-events: none;
    cursor: default;
}
 */
main.photos div#photos-container div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

main.photos div#photos-container div button {
    position: absolute;
    padding: 10px 15px;
    font-size: 1.10rem;
    border: none;
    border-radius: 25px;
    background-color: red;
    top: -15px;
    right: -15px;
}

main.photos div#photos-content div#error-div {
    text-align: center;
    margin-top: 30px;
}

main.photos div#photos-content div#error-div h3 {
    padding:0;
    padding-top: 8px;
    color: #e53e3e;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 100;
    font-family: 'Inter', sans-serif;
}


/* MARK: MESSAGES */
main.messages {
    padding: 1.1rem;
    padding-top: 0;
    padding-bottom: 0;
}

/* WITHOUT*/
main.messages #container-without-messages {
    margin-bottom: 5px;
    height: 210px;
}

main.messages #container-without-messages h2 {
    margin-bottom: 5px;
}

main.messages #container-without-messages #container-without-messages-content {
    display: flex;
    gap: 15px;
    padding-top: 5px;
    padding-bottom: 10px;
    overflow-x: auto;
}

main.messages #container-without-messages #container-without-messages-content div.without-message-content {
    padding: 5px;
    text-align: center;
}

main.messages #container-without-messages #container-without-messages-content div.without-message-content img {
    width: 80px;
    height: 110px;
    object-fit: cover;
    object-position: center;

}

main.messages #container-without-messages #container-without-messages-content div.without-message-content p {
    text-align: center;
}

/* WITH*/

main.messages #container-with-messages {
    height: 420px;
}

main.messages #container-with-messages  {
    margin-top: 15px;
}

main.messages #container-with-messages h2 {
    margin-bottom: 10px;
}


/* SI HAY MENSAJES */
main.messages #container-with-messages #container-with-messages-content {
    height: 420px; /* Si se toca, se rompe ya que pillará toda la altura disponible */
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}   

main.messages #container-with-messages #container-with-messages-content div.with-message-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

main.messages #container-with-messages #container-with-messages-content div.with-message-content img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    object-position: top;
}

main.messages #container-with-messages #container-with-messages-content div.with-message-content div.user-info-with-message-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 320px;
    max-height: 98px;
    overflow: hidden;
}

main.messages #container-with-messages #container-with-messages-content div.with-message-content div.user-info-with-message-content p:first-child {
    font-weight: bold;
    font-size: 1.2rem;
}

/* Si no hay match */

main.messages #container-without-messages div.no-matches-without-messages {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    font-size: 1.2rem;
}

main.messages #container-with-messages div.no-matches-with-messages {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  
    font-size: 1.2rem;
}

/* MARK: SCROLLBAR */

/* width */
::-webkit-scrollbar {
width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1; 
}

/* Handle */
::-webkit-scrollbar-thumb {
background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555; 
}

/* END OF DYNAMIC CONTENT */

/* MARK: NAV */

nav {

    padding: 1.1rem;
    height: 68px;
}

nav ul {

    list-style-type: none;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;

}

nav ul li a {
    color: gray;
    text-decoration: none;
} 

.navActive{
    color: #FF6B6B;
    text-shadow: 2px 2px 8px pink;
}


/* END OF NAV */

/* MARK: MESSAGES CHAT header*/
.chat-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between
}

.chat-header-left {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    align-items: center;
}

#goBackToMessages {
    font-size: 30px;
    color: #FF6B6B;
    text-decoration: none;
    padding-top: 5px;
}

#chat-image {
    margin-left: 10px;
    height: 60px;
    width: 60px;
    object-fit: cover; /* Recorta lo que sobra */
    object-position: 50% 15%; /*50% (horizontal al centro) 35% (vertical, ligeramente arriba)*/
}

#chat-name {
    margin-left: 10px;
    font-size: 24px;
}


/*MARK: MESSAGES CHAT TABS */
.chat-tabs {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.chat-tablinks {
    border-top:none;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid rgb(192, 192, 192);
    padding: 10px;
    font-size: 15px;
    cursor: pointer;
    color:gray;
    font-weight: bold;
    background-color: white;
}

.chat-tablinks.activeTab {
    font-weight: bold;
    background-color: white;
    color: #FF6B6B;
    border-bottom: 2px solid #FF6B6B;
}


/*MARK: CHAT tabs CHAT */
#chatTabs-chat {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: 500px;
    border-bottom: none;
    color:black;
}

#chat-messages-container {
    display: flex;
    height: 460px;
    flex-direction: column;
    flex: 1; /* Ocupa todo el espacio restante dentro de #chatTabs-chat */
    overflow-y: auto;
}

.chat-time {
    font-size: 12px;
    display: flex;
    justify-content: center;
    font-weight: normal;
    margin: 7px;
}

.chat-me {
    display: flex;
    justify-content: flex-end;
    margin: 5px;
    padding: 5px;
    padding-left: 60px;
}
.chat-me p {
    background-color: lightgray;
    padding: 7px;
}

.chat-you {
    display: flex;
    justify-content: flex-start;
    margin: 5px;
    padding: 5px;
    padding-right: 60px;
}

.chat-you p {
    background-color: rgb(245, 171, 171);
    padding: 7px;
}

#mini-chat-image{
    margin-left: 10px;
    object-fit: cover; /* Recorta lo que sobra */
    object-position: 50% 15%; /*50% (horizontal al centro) 35% (vertical, ligeramente arriba)*/
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height:40px;
    min-width: 40px;
    min-height:40px;
    margin-right: 10px;
}

#chat-input-container {
    padding: 10px 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 10px;
}

#chat-text-input {
    width: 370px;
    border-color: #FF6B6B;
    padding: 10px;
}

#chat-send-button {
    display: flex;
    width: 40px;
    font-size: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 3px;
    color: #FF6B6B;
    border-color: #FF6B6B;
}

.fa-heart:before{
    font-size: 24px;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* MARK: CHAT Tab PROFILE */

#chatTabs-profile{
    position: relative;
    padding: 20px;
    border-bottom: none;
}

#chatTabs-profile img {

    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top;

}
#chatTabs-profile #profileTab-info {

    position: absolute;
    top: 74%;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: white;

    font-size: 1.25rem;

    backdrop-filter: blur(10px);
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";
}

/* MARK: ADMIN PANEL */
body.admin-panel {
    min-width: 1480px;
    overflow-x: auto;
}

body.admin-panel div.dashboard {

    width: 98%;
    height: 98vh;
    background-color: white;
    border-radius: 25px;
    display: flex;

}


/* MARK: NAVIGATION */
body.admin-panel div.dashboard #navigation {

    background-color: #d9d9d9;

    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    min-width: 12%;
    width: auto;
    padding: 16px;

    border-right: 2px transparent black;

}

body.admin-panel div.dashboard #navigation #header .logo {
    font-size: 1.75rem;
    padding: 0;
    padding-left: 5px;
    text-align: center;
}

body.admin-panel div.dashboard #navigation nav {
    padding: 0;
    margin-top: 20px;

}

body.admin-panel div.dashboard #navigation nav ul {

    display: flex;
    flex-direction: column;
    gap: 30px;

}

body.admin-panel div.dashboard #navigation nav ul li:not(li:last-child) {

    padding: 8px;
    font-size: 1.25rem;
    border-bottom: 2px solid black;

}

body.admin-panel div.dashboard #navigation nav ul li:last-child {

    margin-top: 50px;
    text-align: center;

}

body.admin-panel div.dashboard #navigation nav ul li:not(li:last-child):hover {

    color:  white;
    border-bottom: 2px solid white;

}

body.admin-panel div.dashboard #navigation nav ul li:not(li:last-child):hover a{

    color:  white;

}


body.admin-panel div.dashboard #navigation nav ul li:not(li:last-child).active {

    color:  #FF6B6B;
    border-bottom: 2px solid #FF6B6B;
    pointer-events: none;

}

body.admin-panel div.dashboard #navigation nav ul li.active a {

    color:  #FF6B6B;
}

body.admin-panel div.dashboard #navigation li:last-child a {

    text-decoration: none; 
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.15rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}


/* MARK: CONTENT */

body.admin-panel div.dashboard #content {
    padding: 34px;
    width: 88%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

/* MARK: title */
body.admin-panel div.dashboard #content #title-container {
    width: 100%;
    height: 5%;
}

body.admin-panel div.dashboard #content #title-container a {
   text-decoration: none;   
   color: #000000;
}

body.admin-panel div.dashboard #content #title-container  a:hover {
    color: #FF6B6B;
}
 
/* MARK: USERS */
body.admin-panel div.dashboard #content #table-container {
    width: 100%;
    height: 90%;
    overflow-y: auto;
    overflow-x: auto;
}

/* MARK: USER TABLE */

body.admin-panel div.dashboard #content #table-container table.users {
    min-width: 1500px; 
    width: 100%;   
    table-layout: fixed;
    overflow-x: auto;
    border-collapse: collapse;
    position: relative;

}

body.admin-panel div.dashboard #content #table-container table.users th {
    border-bottom: 2px solid black;
    text-align: left;
    font-size: 1.2rem;
    padding-left: 0;
    position: sticky;
}

body.admin-panel div.dashboard #content #table-container table.users th:last-child {
    border: none;
}

body.admin-panel div.dashboard #content #table-container table.users tr:nth-child(even){
    background-color: rgb(240, 240, 240);
}

body.admin-panel div.dashboard #content #table-container table.users th, 
body.admin-panel div.dashboard #content #table-container table.users td {

    padding: 10px 0px;
}

body.admin-panel div.dashboard #content #table-container table.users th:first-child, 
body.admin-panel div.dashboard #content #table-container table.users td:first-child {

    width: 50px;
}

body.admin-panel div.dashboard #content #table-container table.users th:nth-child(3), 
body.admin-panel div.dashboard #content #table-container table.users td:nth-child(3) {

    width: 300px;
}

body.admin-panel div.dashboard #content #table-container table.users th:nth-child(4), 
body.admin-panel div.dashboard #content #table-container table.users td:nth-child(4) {

    width: auto;
}

body.admin-panel div.dashboard #content #table-container table.users th:nth-child(7), 
body.admin-panel div.dashboard #content #table-container table.users td:nth-child(7) {

    width: 100px;
}
body.admin-panel div.dashboard #content #table-container table.users th:nth-child(8), 
body.admin-panel div.dashboard #content #table-container table.users td:nth-child(8){

    width: 120px;
}

body.admin-panel div.dashboard #content #table-container table.users td:last-child a {
    text-decoration: none; 
    padding: 8px;
    margin-left: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* MARK: END USER TABLE */

/* MARK: LOGS TABLE */

body.admin-panel div.dashboard #content #table-container table.logs {
    min-width: 1500px; 
    width: 100%;   
    table-layout:auto;
    overflow-x: auto;
    border-collapse: collapse;
    position: relative;

}

body.admin-panel div.dashboard #content #table-container table.logs th {
    border-bottom: 2px solid black;
    text-align: left;
    font-size: 1.2rem;
    padding-left: 0;
    position: sticky;
}

body.admin-panel div.dashboard #content #table-container table.logs th:last-child {
    border: none;
}

body.admin-panel div.dashboard #content #table-container table.logs tr:nth-child(even){
    background-color: rgb(240, 240, 240);
}

body.admin-panel div.dashboard #content #table-container table.logs th, 
body.admin-panel div.dashboard #content #table-container table.logs td {

    padding: 10px 0px;
}

/*
body.admin-panel div.dashboard #content #table-container table.logs th:first-child, 
body.admin-panel div.dashboard #content #table-container table.logs td:first-child {

    width: auto;
}
*/
body.admin-panel div.dashboard #content #table-container table.logs th:nth-child(3), 
body.admin-panel div.dashboard #content #table-container table.logs td:nth-child(3) {

    width: 200px;
}
/*
body.admin-panel div.dashboard #content #table-container table.logs th:nth-child(4), 
body.admin-panel div.dashboard #content #table-container table.logs td:nth-child(4) {

    width: auto;
}

body.admin-panel div.dashboard #content #table-container table.logs th:nth-child(7), 
body.admin-panel div.dashboard #content #table-container table.logs td:nth-child(7) {

    width: auto;
}
body.admin-panel div.dashboard #content #table-container table.logs th:nth-child(8), 
body.admin-panel div.dashboard #content #table-container table.logs td:nth-child(8){

    width: auto;
}
*/
body.admin-panel div.dashboard #content #table-container table.logs td:last-child a {
    text-decoration: none; 
    padding: 8px;
    margin-left: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.admin-panel div.dashboard #content #pagination {
    width: 100%;
    height: 5%;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.admin-panel div.dashboard #content #pagination ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
}

body.admin-panel div.dashboard #content #pagination ul li {

    display: flex;
    gap: 10px;

    text-decoration: none; 
    border-radius: 4px;
    font-size: 1.15rem;
    padding: 10px;

    /*
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    */
    background: #e0e0e0;
    color: black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.admin-panel div.dashboard #content #pagination ul li a {

    text-decoration: none; 
    color: black;
}

body.admin-panel div.dashboard #content #pagination ul li.active {


    pointer-events: none;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

body.admin-panel div.dashboard #content #pagination ul li.active a {

    text-decoration: none; 
    color: white;

}

/* MARK: USER CONTENT */

body.admin-panel div.dashboard #content #overflow-container {
    overflow-y: hidden;
}

body.admin-panel div.dashboard #content #user-content {
    margin-top: 25px;
    height: 95%;
    width: 100%;
    min-width: 1500px; 
    overflow-x: auto;
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

body.admin-panel div.dashboard #content #user-content #user-info {
    width: 55%;
}

body.admin-panel div.dashboard #content #user-content #user-info h2 {
    padding: 5px 0px;
    border-bottom: 2px solid black;
    margin-bottom: 10px;
}

p:has(+ h2) {
    margin-bottom: 20px;
}

body.admin-panel div.dashboard #content #user-content #user-info p:last-child {
    margin-bottom: 25px;
}

body.admin-panel div.dashboard #content #user-content #user-photos {
    width: 45%;
    text-align: center;
    position: relative;
}

body.admin-panel div.dashboard #content #user-content #user-photos img {
    width: 460px;
    height: 760px;
    object-fit: cover;
    object-position: center;
}

body.admin-panel div.dashboard #content #user-content #user-photos #carrousel-container {

    position: absolute;
    top: 700px;
    left: 50%; /* Move the element to the center based on its left edge */
    transform: translateX(-50%); /* Offset the element by half of its width */
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: white;
    background: linear-gradient(to right, #ff6b6b, #cc2faa);
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Optional: add shadow */
    border-radius: 5px;

    font-family: "Poppins";

    text-align: center;
    margin-top: 10px;
}

body.admin-panel div.dashboard #content #user-content #user-photos #carrousel-container span.dot {

    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;

}

body.admin-panel div.dashboard #content #user-content #user-photos #carrousel-container span.dot.active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: add shadow */
    background-color: white;
}

/* MARK: LOGS CONTENT */

body.admin-panel div.dashboard #content #log-content {
    margin-top: 25px;
    height: 95%;
    width: 100%;
    min-width: 1200px;
display: flex;
flex-direction: column;
}

body.admin-panel div.dashboard #content #log-content #log-metadata {
    height: 20%;
    width: 450px;
    margin-bottom: 25px;

}

body.admin-panel div.dashboard #content #log-content #log-metadata h2 {
    padding: 5px 0px;
    border-bottom: 2px solid black;
    margin-bottom: 10px;
}

body.admin-panel div.dashboard #content #log-content #log-print {
    height: 75%;
    border: 2px solid black;
    overflow-x: auto;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 10px;
}