body {
    font-family: Arial, sans-serif;
    background-color: #EAEDED;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #131921;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    color: white;
}
.author-name {
    color: #DDD;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
}

.search-container {
    flex-grow: 1;
    max-width: 800px;
    display: flex;
}
.search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px 0 0 4px;
}
.search-button {
    width: 45px;
    border: none;
    background-color: #FEBD69;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-button:hover {
    background-color: #F3A847;
}
.search-icon {
    font-size: 22px;
}

.nav-secondary {
    background-color: #232F3E;
    padding: 8px 20px;
}
.nav-secondary ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-secondary a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.container {
    display: flex;
    padding: 20px;
    gap: 20px;
}

.form-section, .results-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section { flex: 1; }
.results-section { flex: 2; }

h2 {
    border-bottom: 1px solid #DDD;
    padding-bottom: 10px;
    margin-top: 0;
}

.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea { width: 95%; padding: 8px; border: 1px solid #CCC; border-radius: 4px; }
.radio-group label { margin-right: 15px; }

/* Estilo de Botón Principal (Save Item) */
button {
    background-color: #FEBD69;
    border: 1px solid #A88734;
    color: #111;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #F3A847;
}

/* Clase única para los botones de acción */
.action-btn {
    background-color: #FEBD69;
    border: 1px solid #A88734;
    color: #111 !important;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none !important;
    font-family: Arial, sans-serif;
    display: inline-block;
}
.action-btn:hover {
    background-color: #F3A847;
}

.action-buttons { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.item-card { display: flex; border: 1px solid #DDD; border-radius: 8px; padding: 20px; gap: 20px; overflow: hidden; }
.item-card img { max-width: 250px; height: auto; border-radius: 4px; object-fit: contain; flex-shrink: 0; transition: transform 0.2s ease-in-out; cursor: pointer; }
.item-card img:hover { transform: scale(1.1); }
.item-details { flex-grow: 1; }
.item-details h3 { margin-top: 0; color: #007185; }
.item-details p { white-space: pre-wrap; }
.item-details table { width: 100%; border-collapse: collapse; margin-top: 15px; }
.item-details td { padding: 8px; border-bottom: 1px solid #EEE; }
.item-details td:first-child { font-weight: bold; width: 150px; }

/* Estilos para el Modal de Imagen Grande */
.image-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.8), align-items: center; justify-content: center; }
.image-modal-content { max-width: 90%; max-height: 90%; display: block; margin: auto; object-fit: contain; }
.image-modal-close { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.image-modal-close:hover, .image-modal-close:focus { color: #bbb; text-decoration: none; cursor: pointer; }