/* Saved Cornell notes list */

.saved-notes-page {
    background: #000000;
    min-height: calc(100vh - 56px);
    padding: clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.saved-notes-inner {
    max-width: 720px;
    margin: 0 auto;
}

.saved-notes-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.35rem 0.5rem;
    background: transparent;
    border: none;
    color: #3dd68c;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
}

.saved-notes-back:hover {
    text-decoration: underline;
}

.saved-notes-page h1 {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.35rem 0;
    font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.saved-notes-lede {
    color: #94a3b8;
    margin: 0 0 1.25rem 0;
    font-size: 0.95rem;
    line-height: 1.45;
}

.saved-notes-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    border: 1px dashed rgba(61, 214, 140, 0.25);
    border-radius: 12px;
    font-size: 0.95rem;
}

.saved-notes-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.saved-notes-item {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(61, 214, 140, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.saved-notes-item-main {
    flex: 1;
    min-width: 0;
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    color: inherit;
}

.saved-notes-item-kind {
    margin: 0 0 0.2rem 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.saved-notes-item-title {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 0.25rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-notes-item-meta {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
}

.saved-notes-item-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.5rem;
}

.saved-notes-delete {
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    border: 1px solid rgba(248, 113, 113, 0.4);
    background: transparent;
    color: #f87171;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.saved-notes-delete:hover {
    background: rgba(248, 113, 113, 0.12);
}

.saved-notes-error {
    color: #f87171;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.saved-notes-loading {
    color: #94a3b8;
    font-size: 0.95rem;
    text-align: center;
    padding: 2rem;
}
