@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans+SC:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Mukta', sans-serif;
    border: 0;
}

td {
    text-align: center;
    padding: 2px;
    padding-top: 10px;
    font-size: 15px;
}

/*LOGIN*/

.container {
    position: relative;
    width: 100%;
    background-color: #fff;
    min-height: 100vh;
    overflow: hidden;
    background: transparent;
}

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; /* Cambiado el ancho a un valor relativo */
    max-width: 400px; /* Agregado el máximo ancho para pantallas más grandes */
    padding: 40px;
    margin: 20px auto;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .9);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .6);
    border-radius: 10px;
}

.login-box p:first-child {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Media Query para pantallas medianas y móviles */
@media screen and (max-width: 768px) {
    .login-box {
        width: 90%; /* Ajusta el ancho para pantallas medianas */
    }
}

form.sign-in-form{
    padding: 0rem 1rem;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0rem 5rem;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.tittle {
    transition: all 300ms;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.tittle.min {
    transition: all 300ms;
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
}

.input-field {
    max-width: 380px;
    width: 100%;
    background-color: #f0f0f0;
    margin: 10px 0;
    height: 60px;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 0.4rem;
    position: relative;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: #acacac;
    font-size: 1.1rem;
}

.input-field input {
    background-color: transparent;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 600px;
    font-size: 14px;
    color: #25282A;
}

.input-field input::pleacerholder {
    color: #aaa;
    font-weight: 500;
}

.social-text {
    padding: 1rem 0;
    font-size: 1.5rem;
    color: #fff;
}

.social-media {
    display: flex;
    justify-content: center;
    color: #fff;
}

.social-icon {
    height: 46px;
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.45rem;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: .2s;
}

.social-icon:hover {
    color: #000000;
}

.btn {
    transition: all 300ms;
    width: 150px;
    background: #000000;
    border: none;
    outline: none;
    height: 49px;
    border-radius: 49px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600px;
    margin: 10px 0;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    transition: all 300ms;
    background: #646464;
}

.btn:focus {
    transition: all 300ms;
    transform: scale(0.9);
}

.container::before {
    content: "";
    position: absolute;
    height: 700px;
    width: 800px;
    top: 50%;
    right: 50%;
    transform: translateY(-50%);
  /*background: #454376;*/
    background-image: url('../img/logo1.jpeg');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir todo el fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    border-radius: 20%;
}


/*RESPONSIVE LOGIN*/

@media screen and (max-width: 1200px) {
    .margen {
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 720px) {
    header {
        padding: 10px;
    }

}

/*ADMINISTRADOR DASHBOARD*/

.bodydash {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #fff;
    align-items: center;
}

.datos {
    text-align: center; /* Modificado para centrar el texto */
    width: 100%; /* Ajuste para ocupar todo el ancho */
    padding-top: 80px;
    font-family: 'Bebas Neue', cursive;
    font-size: 20px; /* Ajusta el tamaño del texto según tus preferencias */
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    /*max-width: 800px;*/
    width:100%;
    justify-content: center; /* Modificado para centrar las tarjetas */
    padding-top: 20px; /* Ajusta el valor según sea necesario */
    
}

@media only screen and (max-width: 600px) {
    .dashboard {
        max-width: 100%;
        padding: 50px;
        justify-content: center; /* Ajusta para centrar las tarjetas en dispositivos móviles */
    }

    .card-container {
        margin: 20px; /* Espacio entre las tarjetas y ajuste superior e inferior */
    }

}

.card {
    width: 200px;
    height: 250px;
    border-radius: inherit;
    overflow: hidden;
    position: relative;
    margin: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    transition: box-shadow 0.3s ease-in-out;
    border: 2px solid #000000; /* Borde negro de 2 píxeles */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.4);
    border-radius: 10px; /* Redondear las esquinas con un radio de 10px */
    
}

  
  .card .img-content {
    width: 100%;
    height: 100%; /* Ajusta la altura según tus preferencias */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #bfd0df 0%, #4696e5 100%); /* Cambié los colores del gradiente */
    transition: scale 0.6s, rotate 0.6s, filter 1s;
  }
  
  .card .img-content svg {
    width: 50px;
    height: 50px;
    fill: #e8e8e8;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
    .card .img-content h1 {
        font-family: 'Bebas Neue', cursive;
        font-size: 30px; /* Ajusta el tamaño del texto según tus preferencias */
        color: #000; /* Color del texto */
        text-align: center; /* Alineación del texto */
        margin: 0; /* Elimina el margen por defecto del h1 */
    }


  .card .content {
    position: absolute;
    top: 10%; /* Alinea el texto en el centro vertical */
    left: 10%; /* Alinea el texto en el centro horizontal */
    width: 80%; /* Ajusta el ancho del contenido según tus preferencias */
    height: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    color: #e8e8e8;
    padding: 20px;
    line-height: 1.5;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

  .card .content .heading {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Bebas Neue', cursive;
  }

  .card:hover .content {
    opacity: 1;
    transform: translateY(0);
  }
  
  .card:hover .img-content {
    scale: 2.5;
    rotate: 30deg;
    filter: blur(7px);
  }
  
  .card:hover .img-content svg {
    fill: transparent;
  }
  

/*Visualizar Clientes*/

.bodyclientes {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.containerclientes {
    max-width: 800px;
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.h1clientes {
    text-align: center;
    color: #333;
}

.tableclientes {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.thclientes, .tdclientes {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.thclientes {
    background-color: #f2f2f2;
    color: #333;
}

.buttonsclientes {
    text-align: center;
    margin-bottom: 20px;
}

.buttonclientes {
    padding: 12px;
    margin: 0 10px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttonclientes:hover {
    background-color: #45a049;
}

/* Estilo del popup */
.form-popupclientes {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #f1f1f1;
    z-index: 9;
    background-color: #fefefe;
    max-height: 70%; /* Establece la altura máxima */
    overflow-y: auto; /* Permite el desplazamiento vertical si el contenido desborda */
}

/* Añade más estilos según sea necesario */


.table-container {
    overflow-x: auto;
    white-space: nowrap; /* Evita que el texto se divida en múltiples líneas */
}

.labelclientes {
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.inputclientes {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.buttonclientes[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    cursor: pointer;
}

.buttonclientes[type="submit"]:hover {
    background-color: #45a049;
}

.buttonclientesEli {
    padding: 12px;
    margin: 0 10px;
    background-color: #ac0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttonclientesEli:hover {
    background-color: #e46060;
}

.buttonclientesMod2 {
    background-color: #fff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttonclientesMod {
    padding: 12px;
    margin: 0 10px;
    background-color: #898b11;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttonclientesMod:hover {
    background-color: #adab06;
}

.search-container {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

#searchInput {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.fa-search {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
}

/*Visualizar Cliente MOVIL*/
@media screen and (max-width: 600px) {
    .thclientes, .tdclientes {
        width: 100%;
        box-sizing: border-box;
    }

    .thclientes {
        text-align: center;
    }

    #searchInput {
        width: 100%;
    }
}
#popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.685); /* Fondo blanco semi-transparente */
    display: none; /* Por defecto oculto */
    z-index: 9999; /* Asegura que esté por encima de todos los demás elementos */
}

#popupOverlay.show {
    display: block;
}

#popupContainer {
    position: fixed; /* Cambiado a fixed */
    top: 50%; /* Centrado verticalmente */
    left: 50%;
    transform: translate(-50%, -50%); /* Centrado horizontalmente y verticalmente */
    z-index: 9999; /* Asegura que esté arriba de la tabla */
    max-width: 90%; /* Limita el ancho del popup para que no sea demasiado grande */
    max-height: 90%; /* Limita la altura del popup para que no sea demasiado alto */
    overflow-y: auto; /* Permite desplazar el contenido verticalmente si es necesario */
}

#popupContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    #popupContainer {
        max-width: 100%; /* Reduce aún más el ancho en dispositivos móviles */
        max-height: 100%; /* Reduce aún más la altura en dispositivos móviles */
    }

    #popupContent {
        padding: 0 20px; /* Añade un poco de espacio alrededor del contenido en dispositivos móviles */
    }
}


/*Agregar Cliente*/
.formulario-agregar {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.formulario-agregar h2 {
    text-align: center;
    color: #333;
}

.formulario-agregar label {
    display: block;
    margin-top: 10px;
    color: #555;
}

.formulario-agregar input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc; /* Agregado para el contorno */
    border-radius: 3px; /* Agregado para bordes redondeados */
}

.formulario-agregar button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.formulario-agregar button:hover {
    background-color: #45a049;
}

.formulario-agregar button.cancel {
    background-color: #ccc;
}

.formulario-agregar button.cancel:hover {
    background-color: #999;
}

/* Estilos para el menú desplegable */
.selectCliente {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  /* Estilos para las opciones del menú desplegable */
  option {
    padding: 5px;
  }

/*MODIFICAR CLIENTE*/

/*Agregar Cliente*/
.formulario-modificar {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.formulario-modificar h2 {
    text-align: center;
    color: #333;
}

.formulario-modificar label {
    display: block;
    margin-top: 10px;
    color: #555;
}

.formulario-modificar input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc; /* Agregado para el contorno */
    border-radius: 3px; /* Agregado para bordes redondeados */
}

.formulario-modificar button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.formulario-modificar button:hover {
    background-color: #45a049;
}

.formulario-modificar button.cancel {
    background-color: #ccc;
}

.formulario-modificar button.cancel:hover {
    background-color: #999;
}

/*NOTICIAS*/
.container-noticias {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.formulario-alta-noticias {
    margin-top: 20px;
}

.formulario-alta-noticias h2 {
    color: #4CAF50;
}

.lista-noticias {
    margin-top: 20px;
}

.noticia-noticias {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.noticia-noticias h3 {
    color: #333;
}

.noticia-noticias p {
    color: #666;
}

.formulario-alta-noticias input {
    width: 100%;
    box-sizing: border-box; /* Para incluir el padding y el borde en el ancho total */
    border: 1px solid #000;
    padding: 8px; /* Ajusta el padding según sea necesario */
    margin-bottom: 10px; /* Espaciado inferior entre los campos de input */
}

.formulario-alta-noticias textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #000;
    padding: 8px;
    margin-bottom: 10px;
}

.button-noticias {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-noticias:hover {
    background-color: #45a049;
}

.button-noticias.eliminar {
    background-color: #e74c3c;
}

.button-noticias.eliminar:hover {
    background-color: #c0392b;
}

/*POPUP ALIMENTOS*/
/* Agrega este estilo CSS específicamente para el formulario de agregar alimento */
.form-popupalimentos {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    width: 300px; /* Ajusta el ancho según sea necesario */
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*LANDING PAGE*/
/* Reset de estilos */
.landing-page * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.landing-page {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

header.landing-page {
    background-color: #4285f4;
    color: #fff;
    text-align: center;
    padding: 20px;
}

header.landing-page h1 {
    font-size: 2em;
}

header.landing-page p {
    font-size: 1.2em;
}

section.landing-page {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2.landing-page {
    font-size: 1.8em;
    color: #4285f4;
    margin-bottom: 20px;
}

p.landing-page {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.price-card.landing-page {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 20px 0;
}

.price-card.landing-page h3 {
    font-size: 1.5em;
    color: #4285f4;
}

.price-card.landing-page p {
    font-size: 1.2em;
    margin-bottom: 10px;
}
.price-card {
    text-align: center; /* Centra el contenido dentro de los contenedores de precios */
    padding: 20px;
    border: 2px solid #4285f4; /* Agrega un borde resaltado */
    border-radius: 8px;
    margin: 20px 0;
}

.price-card h3 {
    font-size: 1.5em;
    color: #4285f4;
}

.price-card p {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.price-card .price {
    display: block;
    font-size: 2em;
    color: #4285f4;
    margin-bottom: 10px;
    font-weight: bold;
}

.price-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285f4;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.price-card .btn:hover {
    background-color: #333;
    color: #fff;
}

.contact.landing-page a.btn {
    background-color: #34a853;
}

.contact.landing-page a.btn:hover {
    background-color: #1e602d;
}

/* Agregamos una clase para los botones con rotación */
.rotate-button.landing-page {
    cursor: pointer;
    transition: transform 0.5s ease;
}

.rotate-button.landing-page:hover {
    transform: rotate(360deg);
}

.landing-page .btn-login {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.landing-page .btn-login:hover {
    background-color: #333;
}

.landing-page header {
    position: relative;
}

.landing-page .btn-login {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Agrega estos estilos al final de tu archivo CSS existente */

.navbar {
    background-color: #333;
    color: #fff;
    padding: 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 35px;
    height: auto;
    border-radius: 50%;
}

.menu {
    display: flex;
}

.menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #00a2d3;
}

.icon {
    font-size: 1.5em;
    cursor: pointer;
    display: none;
}

/* Ajusta estos estilos según tus necesidades para dispositivos móviles */
@media screen and (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        position: absolute;
        align-items: center; /* Cambiado a 'center' para centrar los elementos */
        top: 60px;
        right: 0;
        background-color: #333;
        width: 100%;
        
    }

    .menu.show {
        display: flex;
    }

    .menu a {
        margin: 10px;
    }

    .logo-container {
        display: flex;
        justify-content: center; /* Centra el logo en dispositivos móviles */
    }

    .logo {
        max-width: 30px; /* Ajusta el tamaño del logo para dispositivos móviles */
    }

    /* Muestra el icono de hamburguesa */
    .icon {
        display: block;
    }
}
