.lidoma-feedback {
    margin-top: 5px;
    font-size: 12px;
    padding: 5px;
    border-radius: 3px;
}

.lidoma-feedback.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.lidoma-feedback.error {
    background-color: #f2dede;
    color: #01b4b0;
    border: 1px solid #ebccd1;
}

.lidoma-form-group {
    margin-bottom: 20px;
}

.lidoma-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lidoma-form-group input,
.lidoma-form-group textarea,
.lidoma-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.lidoma-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.lidoma-create-btn {
    padding: 15px 30px;
    background: #01b4b0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

.lidoma-create-btn:hover {
    background: #01b4b0;
}

/* Estilos para el panel de administración */
.lidoma-admin-container {
    padding: 20px;
}

.lidoma-admin-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.lidoma-admin-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.lidoma-stat-box {
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lidoma-stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #01b4b0;
}

.lidoma-stat-label {
    color: #666;
    margin-top: 5px;
}

.lidoma-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}

.lidoma-table th,
.lidoma-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.lidoma-table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

.lidoma-table tr:hover {
    background-color: #f5f5f5;
}

.lidoma-badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.lidoma-badge-active {
    background-color: #dff0d8;
    color: #3c763d;
}

.lidoma-badge-inactive {
    background-color: #f2dede;
    color: #01b4b0;
}

.lidoma-action-btn {
    padding: 6px 12px;
    margin-right: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.lidoma-action-btn.view {
    background-color: #01b4b0;
    color: white;
}

.lidoma-action-btn.edit {
    background-color: #f0ad4e;
    color: white;
}

.lidoma-action-btn.delete {
    background-color: #01b4b0;
    color: white;
}

@media (max-width: 768px) {
    .lidoma-admin-stats {
        flex-direction: column;
    }
    
    .lidoma-table {
        font-size: 14px;
    }
    
    .lidoma-table th,
    .lidoma-table td {
        padding: 8px;
    }
}

/* Estilos para la página de búsqueda */
.lidoma-search-results {
    margin: 30px 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.lidoma-results-header {
    background: #f8f8f8;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.lidoma-results-header h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.lidoma-results-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    font-weight: bold;
    color: #666;
}

.lidoma-results-list {
    padding: 0;
}

.lidoma-result-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.lidoma-result-item:hover {
    background-color: #f9f9f9;
}

.lidoma-result-item:last-child {
    border-bottom: none;
}

.lidoma-result-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #01b4b0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.lidoma-result-content {
    flex-grow: 1;
}

.lidoma-result-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.lidoma-result-meta {
    margin-bottom: 10px;
}

.lidoma-result-id,
.lidoma-result-name {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.lidoma-result-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
}

.lidoma-event-type,
.lidoma-event-date,
.lidoma-event-location {
    font-size: 14px;
    color: #555;
}

.lidoma-event-type {
    font-weight: bold;
}

.lidoma-result-actions {
    text-align: right;
}

.lidoma-view-list-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #01b4b0;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.lidoma-view-list-btn:hover {
    background: #01b4b0;
    color: white;
}

.lidoma-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.lidoma-no-results p {
    margin: 0 0 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .lidoma-results-filters {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .lidoma-result-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .lidoma-result-initials {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .lidoma-result-details {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .lidoma-result-actions {
        text-align: center;
    }
}

/* Mejoras para el formulario de búsqueda */
.lidoma-search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lidoma-search-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.lidoma-search-form button {
    padding: 12px 25px;
    background: #01b4b0;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.lidoma-search-form button:hover {
    background: #01b4b0;
}

@media (max-width: 480px) {
    .lidoma-search-form {
        flex-direction: column;
    }
    
    .lidoma-search-form input,
    .lidoma-search-form button {
        width: 100%;
    }
}

/* Estilos para la vista del propietario */
.lidoma-lista-propietario {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.lista-header {
    text-align: center;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.lista-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px;
}

.lista-fecha, .lista-tipo {
    color: #666;
    font-size: 16px;
    margin: 5px 0;
}

.lista-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    min-width: 100px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.lista-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.button_regalos {
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.button_regalos:hover {
    background: #005a87;
}

.button_regalos.primary {
    background: #00a0d2;
}

.button_regalos.primary:hover {
    background: #0085b2;
}

.button_regalos.danger {
    background: #dc3232;
}

.button_regalos.danger:hover {
    background: #bc2525;
}

.button_regalos.small {
    padding: 8px 16px;
    font-size: 12px;
}

.button_regalos.social {
    background: #4267B2;
}

.button_regalos.social.whatsapp {
    background: #25D366;
}

.button_regalos.social.email {
    background: #666;
}

.productos-lista {
    margin-bottom: 40px;
}

.productos-lista h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.producto-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.producto-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.producto-imagen {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-imagen {
    width: 80px;
    height: 80px;
    background: #0073aa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 24px;
}

.producto-info {
    padding: 15px;
}

.producto-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.producto-precio {
    font-weight: bold;
    color: #0073aa;
    margin: 5px 0;
    font-size: 18px;
}

.producto-cantidad, .producto-reservados {
    margin: 3px 0;
    font-size: 14px;
    color: #666;
}

.producto-actions {
    padding: 10px 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.lista-sharing {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.lista-sharing h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.sharing-link {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.sharing-link label {
    font-weight: bold;
    min-width: 100px;
}

.sharing-link input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 200px;
}

.social-sharing {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.no-products {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Modal styles */
.lidoma-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.busqueda-productos {
    margin: 20px 0;
}

#busqueda-producto {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.resultados-busqueda {
    max-height: 300px;
    overflow-y: auto;
}

.resultado-producto {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 4px;
}

.resultado-producto img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 4px;
}

.info-producto {
    flex: 1;
}

.info-producto h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
}

.info-producto p {
    margin: 0;
    color: #0073aa;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .lista-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-box {
        min-width: auto;
    }
    
    .lista-actions {
        flex-direction: column;
    }
    
    .sharing-link {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sharing-link input {
        min-width: auto;
    }
    
    .social-sharing {
        flex-direction: column;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}