/* ===== MEMO PAGE ===== */
.memo-page-container { max-width: 800px; margin: 0 auto; padding: 40px 24px; }

.memo-page-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px;
}
.memo-page-header h1 {
    font-size: 32px; font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== MEMO EDITOR ===== */
.memo-editor {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.memo-editor-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 16px;
}
.memo-editor input[type="text"] {
    width: 100%; padding: 12px 0; background: transparent;
    border: none; border-bottom: 1px solid var(--border);
    color: var(--text-primary); font-family: inherit;
    font-size: 18px; font-weight: 600; margin-bottom: 12px;
}
.memo-editor input[type="text"]:focus { outline: none; border-color: var(--accent); }
.memo-editor textarea {
    width: 100%; min-height: 120px; padding: 12px;
    background: var(--bg-glass); border: 1px solid var(--border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-family: inherit; font-size: 14px; line-height: 1.6;
    resize: vertical;
}
.memo-editor textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.memo-editor-actions { display: flex; gap: 8px; margin-top: 16px; justify-content: flex-end; }
.memo-save-status { font-size: 12px; color: var(--text-muted); margin-top: 8px; text-align: right; }

/* ===== MEMO LIST ===== */
.memo-list { display: flex; flex-direction: column; gap: 12px; }
.memo-list-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.memo-list-header h2 { font-size: 18px; font-weight: 700; }
.memo-count {
    font-size: 13px; color: var(--text-muted);
    background: var(--bg-card); padding: 4px 12px;
    border-radius: 50px;
}

.memo-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px 20px;
    cursor: pointer; transition: var(--transition);
    animation: fadeSlideUp 0.3s ease;
}
.memo-item:hover { background: var(--bg-card-hover); border-color: var(--border-hover); }
.memo-item.active { border-color: var(--accent); }
.memo-item-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.memo-item-preview { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.memo-item-meta { display: flex; justify-content: space-between; align-items: center; }
.memo-item-date { font-size: 11px; color: var(--text-muted); }
.memo-item-delete {
    background: none; border: none; color: var(--text-muted);
    font-size: 14px; cursor: pointer; transition: var(--transition);
    padding: 4px 8px; border-radius: 4px;
}
.memo-item-delete:hover { color: var(--red); background: rgba(225,112,85,0.1); }
