/* General */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f9f9f9;

}

.stock-search {
    display: flex;
    flex-direction: row-reverse;
    width: 68%;
    /*margin-top: 10px;*/
    
}
.header-stock{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.search-container {
    width: 68%;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    justify-content: space-between;
}
.datos-contact {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 20px;
    background-color: #242424;
    color: #fff;
    font-size: 14px;
}

/* Encabezado */
header {
   display: flex;
   justify-content: space-between;
   padding: 10px;
   background-color: #272727;
   flex-direction: column;
  
}

/* Ocultar el título */
header h1 {
    display: none;
}

/* Alinear la barra de búsqueda y filtros a la derecha */
.header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
main {
    padding: 20px;
}

.logo {
    font-size: 24px;
    color: #e4701d;
}



/* Reducir el tamaño del botón */
.user-options .small-button {
    font-size: 0.9rem;
    padding: 5px 10px;
}

input[type="text"], select, button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

button {
    background-color: #e4701d;
    color: white;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    padding: 10px 20px;
    border: none;
    transition: background-color 0.3s;
   
}
.button-stock {
    background-color: #e4701d;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    padding: 0;   
    border: none;
    transition: background-color 0.3s;
    width: 150px;
    height: 40px;
}

button:hover {
    background-color: #e4701d;
}

/* Listado de Productos */
.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en pantallas grandes */
    gap: 20px;
    padding: 20px;
}

.product-card {
    background-color: white;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    
}

.product-image {
    width: 50%;
    height: auto;
    margin-bottom: 10px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
   
}

.product-description, .product-category {
    font-size: 14px;
    margin-top: 5px;
}

 /* Ajustes en el botón de cargar producto */
    .admin-options button {
        padding: 8px 16px;
    }


/* Footer */
footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #1f1f1f;
    text-align: center;
    color: #fff;
    background-color: #272727;
    height: 25vh; /* Altura completa */
    align-content: center;
    
}
footer a {
    color: #ff9800;
    text-decoration: none;
}
.user-options {
    display: flex;
    gap: 10px;
    margin-right: 20px;
}

.user-options button a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
}

.user-options button {
    background-color: #ffcc00;
    border: none;
    padding: 10px 20px;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.user-options button:hover {
    background-color: #ffcf06;
    
}
.product-stock {
    font-weight: bold;
    color: #E4701D; /* Verde para indicar disponibilidad */
    margin-top: 5px;
    text-align: center;
    
}
.login {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;

}
/*Responsive*/
/* Responsive Styles */
@media (max-width: 768px) {
   

    .product-list {
        grid-template-columns: 0.9fr;
        padding: 0;
    }
    .datos-contact {
        flex-direction: column;
        padding: 10px;
    }
}