/* Sharing UI styles */

.share-modal .verse-ref {
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.note-preview {
    background: var(--background-secondary);
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-style: italic;
}

.share-options {
    margin: 20px 0;
}

.share-option {
    margin: 10px 0;
}

.share-link {
    margin: 15px 0;
}

.share-link input {
    width: 70%;
    margin-right: 10px;
}

/* Sync status indicator */
.sync-status-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: var(--background-secondary);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sync-status-indicator.synced {
    background: #d4edda;
    color: #155724;
}

.sync-status-indicator.syncing {
    background: #fff3cd;
    color: #856404;
}

.sync-status-indicator.syncing .sync-icon {
    animation: spin 1s linear infinite;
}

.sync-status-indicator.pending {
    background: #f8d7da;
    color: #721c24;
}

.sync-status-indicator.offline {
    background: #f8f9fa;
    color: #6c757d;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Public notes panel */
.public-notes-panel {
    max-width: 500px;
    max-height: 70vh;
    overflow-y: auto;
}

.public-entry {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
}

.public-entry.note {
    border-left: 4px solid #007bff;
}

.public-entry.highlight {
    border-left: 4px solid #ffc107;
}

.entry-type {
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.entry-content {
    margin: 8px 0;
    line-height: 1.4;
}

.entry-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-secondary);
}

.no-entries, .error {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}