/* Exhibition History Plugin Styles */

/* Input form table */
.exhibitions-input-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.exhibitions-input-table th,
.exhibitions-input-table td {
    text-align: left;
    padding: 0 10px 8px 0;
    vertical-align: top;
}

.exhibitions-input-table th {
    font-weight: normal;
    font-size: 12px;
}

.exhibitions-input-table input[type="text"],
.exhibitions-input-table input[type="date"],
.exhibitions-input-table textarea {
    border: 1px solid silver;
    padding: 5px;
}

#exhibitions_notes {
    height: 23px;
    resize: vertical;
}

.exhibitions-input-table input[type="file"] {
    font-size: 11px;
}

/* List table */
.exhibitions-list-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.exhibitions-list-table td {
    padding: 0 10px 8px 0;
    vertical-align: top;
    text-align: left;
}

/* Column widths - shared between form and list tables */
.ex-date { width: 12%; }
.ex-name { width: 20%; }
.ex-notes { width: 35%; }
.ex-photo { width: 20%; }
.ex-action { width: 13%; }

/* View page table */
.exhibitions-view-table {
    width: 100%;
    border-collapse: collapse;
}

.exhibitions-view-table th {
    text-align: left;
    padding: 8px;
    background: transparent;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}

.exhibitions-view-table td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

/* Photo display */
.exhibitions-photo-link img {
    border: 1px solid #ddd;
    border-radius: 3px;
    transition: transform 0.2s;
}

.exhibitions-photo-link img:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.exhibitions-no-photo {
    color: #999;
    font-style: italic;
    font-size: 11px;
}

/* No entries message */
.exhibitions-no-entries {
    color: #666;
    font-style: italic;
    padding: 10px 0;
}

/* Delete button */
.btn-delete {
    background: #c44;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    font-weight: normal;
    font-family: inherit;
}

.btn-delete:hover {
    background: #a33;
}


/* Section styling */
#ExhibitionsSection {
    padding: 10px 0;
}

/* Match whereabouts styling - border above and below entries */
#exhibitions_list {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
    padding-bottom: 8px;
}

#ExhibitionsView {
    padding: 10px;
}

