/**
 * MOL-GOD Properties Card — Styles
 */
.properties-card-accordion .accordion-content { padding: 20px; }

.properties-quick-ref {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}
.properties-quick-ref h4 { margin: 0 0 15px; font-size: 18px; font-weight: 600; }
.quick-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
.quick-ref-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qr-label { font-size: 13px; opacity: 0.9; }
.qr-value { font-weight: 700; font-size: 15px; }

.properties-detailed { margin: 25px 0; }
.properties-detailed h4 { color: #2c3e50; margin-bottom: 15px; font-size: 18px; }

.properties-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.properties-table thead { background: #34495e; color: white; }
.properties-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}
.properties-table td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
}
.properties-table tbody tr:hover { background: #f8f9fa; }
.prop-value { font-weight: 600; color: #27ae60; }
.prop-conditions { color: #7f8c8d; font-size: 13px; }
.prop-source a { color: #3498db; text-decoration: none; font-size: 12px; }
.prop-source a:hover { text-decoration: underline; }

.advanced-properties { margin: 20px 0; }
.advanced-properties summary {
    cursor: pointer;
    padding: 12px;
    background: #ecf0f1;
    border-radius: 6px;
    font-weight: 600;
    color: #2c3e50;
}
.advanced-properties summary:hover { background: #d5dbdb; }

.chemical-identifiers {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}
.chemical-identifiers h4 { margin: 0 0 15px; color: #2c3e50; }
.identifiers-grid { display: flex; flex-direction: column; gap: 12px; }
.identifier-item { display: flex; align-items: flex-start; gap: 10px; }
.identifier-item strong {
    min-width: 100px;
    color: #34495e;
    font-size: 13px;
}
.identifier-item code {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    flex: 1;
    word-break: break-all;
}
.inchi-code { max-width: 600px; }

.properties-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.btn-action {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-action:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.data-provenance {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}
.provenance-note { margin: 0 0 8px; font-size: 13px; color: #856404; }
.update-info { margin: 0; font-size: 12px; color: #856404; }

.properties-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-left: 4px solid #27ae60;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    z-index: 10000;
    display: none;
}
.properties-notification.success { border-left-color: #27ae60; }
.properties-notification.error { border-left-color: #e74c3c; }

@media (max-width: 768px) {
    .properties-table { font-size: 12px; }
    .properties-table th,
    .properties-table td { padding: 8px; }
    .quick-ref-grid { grid-template-columns: 1fr; }
    .properties-actions { flex-direction: column; }
    .btn-action { width: 100%; }
}
